Tuesday, December 23, 2008

DOS / Windows IP Command Lines

Display Connection Configuration: ipconfig /all

Display DNS Cache Info Configuration: ipconfig /displaydns

Clear DNS Cache: ipconfig /flushdns

Release All IP Address Connections: ipconfig /release

Renew All IP Address Connections: ipconfig /renew

Re-Register the DNS connections: ipconfig /registerdns

Change/Modify DHCP Class ID: ipconfig /setclassid

Network Connections: control netconnections

Network Setup Wizard: netsetup.cpl

Test Connectivity: ping www.rajeshworld.co.cc

Trace IP address Route: tracert

Displays the TCP/IP protocol sessions: netstat

Display Local Route: route

Display Resolved MAC Addresses: arp

Display Name of Computer Currently on: hostname

Display DHCP Class Information: ipconfig /showclassid

UNIX IP Command Lines

Display Current Config for all NIC's: ifconfig

Display Current Config for dc0: ifconfig dc0

Assign IP/Subnet: ifconfig dc0 inet 192.168.1.2 netmask 255.255.255.0

Assign Gateway: route delete default && route add default 192.168.1.1

Assign multiple IP's: ifconfig dc0:0 192.168.1.2

Assign second IP: ifconfig dc0:1 192.168.1.3

Disable network card: ifconfig dc0 down

Enable network card: ifconfig dc0 up

Linux IP Command Lines

Display Current Config for all NIC's: ifconfig

Display Current Config for eth0: ifconfig eth0

Assign IP: ifconfig eth0 192.168.1.2

Assign IP/Subnet: ifconfig eth0 192.168.1.2 netmask 255.255.255.0

Assign Default Gateway: route add default gw 192.168.1.1

Assign multiple IP's: ifconfig eth0:0 192.168.1.2

Assign second IP: ifconfig eth0:1 192.168.1.3

Disable network card: ifconfig eth0 down

Enable network card: ifconfig eth0 up
View current routing table: route "or" route -n

View arp cache: arp "or" arp -n

Ping: ping -c 3 192.168.1.1

Trace Route: traceroute www.rajeshworld.co.cc

Trace Path: tracepath www.rajeshworld.co.cc

DNS Test: host www.whatismyip.com

Advanced DNS Test: dig www.rajeshworld.co.cc

Reverse Lookup: host 66.11.119.69

Advanced Reverse Lookup: dig -x 66.11.119.69

Windows XP registry tweaks

Most settings can be done easily within Windows. However, for some setting you need to dive into the registry or use one of the many registry tweak utilities (like the Windows XP powertool TWEAKUI). On this page (and other pages), I have described some interesting registry tweaks which you can do yourself, using the registry editor.

NOTE: Be careful editing the registry. Worst case scenario: Windows won't boot anymore. If you are not sure, leave things unchanged! My advise: create a system image before making major changes!

Speed up browsing AVI files (audio/video)

By default, opening folders containing AVI files (audio/video) can be very slow because Windows is trying to extract non important information. This can be solved, by deleting the following key:
HKCR\CLSID\{87D62D94-71B3-4b9a-9489-5FE6850DC73E}

Automatically expanding folder trees

The folder view on the left in Windows Explorer automatically expands if you click on a folder containing sub-folders. You can disable this function with a registry tweak: change the DWORD-value FriendlyTree to 0 (in stead of 1) in the following key:
HKEY_CURRENT_USER\Software\Microsoft\ Windows\CurrentVersion\Explorer\Advanced
Automatically expanding folders will be disabled, expanding a folder is now done by double clicking the folder.

Windows search optimization

Within Windows XP you are able to search your computer for files (Start, Search), but takes some clicking to get what you want! To optimize the search function, you have to make some registry changes. To make changes, navigate to the following key:
HKEY_CURRENT_USER\Software\ Microsoft\Windows\CurrentVersion\Explorer
where you will find some important DWORD-values. Change these values to optimize your Windows search:
SearchSystemDirs=1
SearchHidden=1
IncludeSubFolders=1

CaseSensitive=0
SearchSlowFiles
=1 (if you have a tape drive, else: 0)

Remove shared folders My Computer

To remove the shared folders in the My Computer view, delete the value {59031a47-3f72-44a7-89c5-5595fe6b30ee} in the following key (export to a reg-file first, to have a backup):
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ Windows\CurrentVersion\Explorer\My Computer\NameSpace\DelegateFolders

Saving Notepad settings

If you are a heavy user of Notepad, you probably like saving the Notepad settings on exit. To make sure your settings are saved, add/Change the DWORD-value fSavePageSettings=1 and fSaveWindowsPositions=1 in the following key:
HKEY_CURRENT_USER\Software\Microsoft\Notepad

Disable the balloon tips

Already irritated by the information balloons, covering the important buttons in the Start Menu? Start the registry editor and navigate to the following key:
HKEY_CURRENT_USER\Software\Microsoft\ Windows\CurrentVersion\Explorer\Advanced
change or add the DWORD-values EnableBalloonTips and ShowInfoTip, both with value 0.

Disable the useless Security Center warnings

If your Windows is not provided with one of the well known virus scan and/or firewall software, the Security Center will come with useless repeating reminders. The reminders can be disabled by changing the values AntiVirusDisableNotify and FirewallDisableNotify to the DWORD-value 1 in the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center

Remove the low disk space warning

Probably you have seen the irritating 'low on disk space'-warning before, if your hard disk reaches full capacity. This warning message can be turned off by adding the DWORD-value NoLowDiskSpaceChecks with value 1 in the following key:
HKEY_CURRENT_USER\Software\MicroSoft\ Windows\CurrentVersion\Policies\Explorer

Disabling wrapping icon/shortcut labels

Probably your desktop contains icons (shortcuts) with long names, which aren't shown completely (the are wrapped......). With a registry tweak you can disable the title wrapping, create a String value IconTitleWrap with value 0 in the following registry key:
HKEY_CURRENT_USER\Control Panel\Desktop\WindowMetrics

Disabling the blocking of pop-ups from secured sites

By default Internet Explorer blocks the pop-ups because they are mostly used for irritating advertising purposes. For secured pages (e.g. the login to a bankaccount), this behavior is not wished. The URL of a secured page is preceded by HTTPS in stead of HTTP. The blocking of pop-ups for these HTTPS-pages can be disabled by changing the DWORD-value Allow HTTPS to 1 in the following registerkey:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\New Windows

Command Console tweak

If you are a frequent user of the Command Console (the MS-DOS screen, Start, Run, command CMD), the following tweak will be valuable. To change folders is difficult, using the Command Console. By changing the DWORD-value CompletionChar to 9 in the following registry key
HKEY_CURRENT_USER\Software\Microsoft\Command Processor
With the command CD followed with the first letters of the folder name, you are able to select the folder with the TAB-key (also works with other commands).

Activated NUM-LOCK

To automatically switch on the NUM-LOCK, change the value InitialKeyboardIndicators to 2 in the following key:
HKEY_CURRENT_USER\Control Panel\Keyboard

Automatically defrag system files

To defrag the system files automatically at every boot (to optimize you system), change the value Enable to Y in the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Dfrg\BootOptimizeFunction

A faster Windows shutdown

Shutting down Windows can take a long time. You can speed this up (at your own risk) with the following tweaks in the registry key:
HKEY_CURRENT_USER\Control Panel\Desktop
Change the following String values:
AutoEndTasks=1
HungAppTimeout=4000
WaitToKillAppTimeout=4000
WaitToKillServiceTimeout=4000

Fix for shutting down your computer automatically

In most cases, automatically shutting down can be fixed by installing the motherboard drivers (if not done already). If your computer still doesn't shut down correctly, try this registry tweak. Change the value PowerdownAfterShutdown to 1 in the following key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

Fix for shutting down Windows slowly (or not at all)

If shutting down Windows takes a long time (or doesn't shut down at all), change the value PowerOffActive to 1 in the following registry key:
HKEY_CURRENT_USER\Control Panel\Desktop

Finding out the reason of a Windows crash

If you would like to know the reason why there was a sudden crash of Windows, change the DWORD-value ShutdownReasonUI temporarily to 1 in the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\Windows\CurrentVersion\Reliability
After a reboot you will find the reason why your Windows shuts down suddenly in the log files (Control Panel, Administrative Tools, Logfiles). If you are finished analyzing, change the value ShutdownReasonUI back to 0.

A faster NTFS file system

You probably use the NTFS file system (see the properties of your C: partition). You can improve performance by making some changes in the following registry key:
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Filesystem
Change the following registry values, as you wish:
DisableNTFSLastAccessUpdate = 1 (last file access is no longer registered).
NtfsDisable8dot3NameCreation = 1 (no more double filenames: long names and the old 8.3 variant (the 8.3 file notation is used for the older Windows versions).
NtfsMftZoneReservation = 2 (if there are many files on a partition, the master file table (MFT) can get fragmented, with this tweak there will be no more fragmenting of the file master file table (default value = 1, range 1-4).

Virus Solution

* AUTOPLAY VIRUS SOLUTION

autoplay virus solution- if u have problem with ur drives that they are not opening when u double click on then, then apply this trick

u must have winrar
if d:\ doesnt opens,,,,,open winrar and goto d:\ in tht.....u ll be seeing file name "autoplay.inf"....delete tht file..
now refrsh ur drives...
the virus is gone
--------------------------

* NEW FOLDER.EXE Virus Solution

Virus Infections

This virus affects your system by
  • Disabling Task Manager
  • Disabling Registry Editor
  • Creates a startup entry to start upon system start and
  • Creates its own exe files in Shared Documents folder which appear like ordinary folders.
  • Disables Folder Options
  • Uses your 50% or more processor
TO REMOVE THIS VIRUS DOWNLOAD THE BELOW TOOL
LINK : http://www.technize.com/?dl_id=6

--------------------------


Orkut is banned you fool,The administrator dint write this program guess who did ? MUHAHA THREAD REMOVAL

you took a cool breath when you searched this on google, right ? well yeah.. lotsa of my friends have been poking me lately cause they think i infected their Laptops/PC when they were not around .. hahahah.. that adds devil smile on my face, cause i did not do it but they are so sure that i did it .. Cant make them understand, so the only way to make them realize is that i took the infected pen drive of my friend to my place and started discovering what happened basically..

So googled about the symptoms i found that this is a worm known as

w32.USB Worm

As the name specifies it spreads from USB drives to and fro :D

now how do you tackle it.. A quick way for orkut addicted those who want a quick access to orkut is as follows..

1) Press alt+ctrl+del and goto processes tab

2) There you will see a list of processes under the different username, arrange the processes according to your username and search for the process svchost.exe

3) Right click and end process or end process tree.. Make sure you end the imagename or process which are under your username and not that which are under LOCAL SERVICE OR NETWORK SERVICE.

4)This gives you instant access to orkut..

A Similar of this variant gives you error on opening firefox.

“I DNT HATE MOZILLA BUT USE IE OR ELSE…”, “USE INTERNET EXPLORER U DOPE”,

The above 4 Steps solution works for the same..

Now a fix to permanently get rid of this nuisance, this pulls the interest of my friends who called me up and took help to access their orkut accounts instantly..

Follow as :-

REPEAT THE ABOVE 4 STEPS AND THEN CONTINUE.

5) Click start->run type c:\heap41a and press Enter. You cannot find this folder by looking through windows explores i.e. My Computer, as this is a hidden folder.

6) Delete all the files under this folder by pressing ctrl+a followed by shift+del key

7) Now again goto Start->Run and write regedit, this opens registry editor for you.

Press ctrl+f , a find dialog box opens, type heap41a and let it show you some results

9) You should see “[winlogon] C:\heap41a\svchost.exe C:\heap(some number)\std.txt

10) Now delete whatever you see there cause you love orkut .. hahahah

Well your PC/LP is cleaned up and now you can open your orkut account without that nuisance.

Make sure you delete all the .exe files which are present at the root of ur pendrive which got created automatically(which you never created) . Rather scan your pen drive with a good antivirus.. That should allow you stealth your PC from the attack of MUHAHA

SIDE EFFECTs

Well this worm/virus removes hidden folder options or you are unable to see hidden folders. so enable the hidden folder option follow the steps as :-

1. Goto Start->run type regedit again to open registry editor

2.traverse as HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer3.

4)There you will see a DWORD key as “NoFolderOptions” . Set its value to 0 or simply delete it

vola !! there you go charmy.. you are a geek now.

FOLDER CREATION TRICK

Try to create a folder in Windows with either of these names--
"con" or "nul" or "Aux" or "Lpt1".
Windows will not let u create ....

This s coz these refer 2 some well known ports....
-con corresponds to the console
-Lpt1 corresponds to printer and so on....

well dat was common but hw bt this ? Try these more

CON, PRN, AUX, CLOCK$, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.

HIDDEN MICROSOFT SONG

Do you know the hidden Microsoft song? I hear this song while im installing windows, where its almost at the end where have to register your windows, enter your username.......etc.
Some people might not hear it because, your sound card driver isn't installed. If you want to know and hear that song, here it:
Go to Start > Run > Copy and then Paste, or press and hold the Start + r .

C:\windows\system32\oobe\images\title.wma

and hit Enter, of course ... Your media player should load the song, and now you can hear it.