Friday, August 7, 2009

Run Commands


Accessibility Controls -- access.cpl

Add Hardware Wizard -- hdwwiz.cpl

Add/Remove Programs -- appwiz.cpl

Administrative Tools -- control admintools

Automatic Updates -- wuaucpl.cpl

Bluetooth Transfer -- Wizard fsquirt

Calculator -- calc

Certificate Manager -- certmgr.msc

Character Map -- charmap

Check Disk Utility -- chkdsk

Clipboard Viewer -- clipbrd

Command Prompt -- cmd

Component Services -- dcomcnfg

Computer Management -- compmgmt.msc

Date and Time Properties -- timedate.cpl

DDE Shares -- ddeshare

Device Manager -- devmgmt.msc

Direct X Control Panel (If Installed)* -- directx.cpl

Direct X Troubleshooter -- dxdiag

Disk Cleanup Utility -- cleanmgr

Disk Defragment -- dfrg.msc

Disk Management -- diskmgmt.msc

Disk Partition Manager -- diskpart

Display Properties control -- desktop

Display Properties -- desk.cpl

Display Properties (w/Appearance Tab Preselected) -- control color

Dr. Watson System Troubleshooting -- Utility drwtsn32

Driver Verifier -- Utility verifier

Event Viewer -- eventvwr.msc

File Signature Verification Tool -- sigverif

Findfast -- findfast.cpl

Folders Properties -- control folders

Fonts control -- fonts

Fonts Folder -- fonts

Free Cell Card Game -- freecell

Game Controllers -- joy.cpl

Group Policy Editor (XP Prof -- ) gpedit.msc

Hearts Card Game -- mshearts

Iexpress Wizard -- iexpress

Indexing Service -- ciadv.msc

Internet Properties -- inetcpl.cpl

IP Configuration (Display Connection Configuration) -- ipconfig /all

IP Configuration (Display DNS Cache Contents) -- ipconfig /displaydns

IP Configuration (Delete DNS Cache Contents) -- ipconfig /flushdns

IP Configuration (Release All Connections) ipconfig /release

IP Configuration (Renew All Connections) -- ipconfig /renew

IP Configuration (Refreshes DHCP & Re-Registers DNS) -- ipconfig /registerdns

IP Configuration (Display DHCP Class ID) -- ipconfig /showclassid

IP Configuration (Modifies DHCP Class ID) -- ipconfig /setclassid

Java Control Panel (If Installed) -- jpicpl32.cpl

Java Control Panel (If Installed) -- javaws

User Account Management -- nusrmgr.cpl

Utility Manager -- utilman

Windows Firewall -- firewall.cpl

Windows Magnifier -- magnify

Windows Management Infrastructure -- wmimgmt.msc

Windows System Security Tool -- syskey

Windows Update Launches -- wupdmgr

Windows XP Tour Wizard -- tourstart

WordPad -- write



Speed up Windows XP's defrag operations


One simple way to speed up the defrag operation in Windows XP is to restart your computer before you launch Defrag. Doing so allows the operating system to clear out the swap/paging file and reset it to the default size. Hence Defrag focus strictly on the necessary data on the hard disk without having to stop and manage a huge swap file loaded with unneeded data.
An alternate approach of speeding up the defrag operation in Windows XP is to configure it to occur immediately upon startup. You can do so easily using registry edit:

1. Open the Registry Editor by typing “regedit” in Run window. Registry Editor window opens.

2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce.

3. Now Right-click on the “RunOnce” subkey and select New  String Value.

4. Name the new String value as “Defrag” and hit “Enter” twice.

5. Next type Defrag.exe c: /f in the Value Data text box and click OK.

6. After finishing Close the Registry Editor and restart Windows.

The above method can be used for both Windows XP Home and Professional Editions.



Remove Pen Drive Virus


Viruses such as “autorun” and “Ravmon” virus mostly affect the pen drive. Most of the Antivirus does not detect such kind of viruses. Such viruses are spread mostly through pen drive. So now you can protect your computer from such kind of viruses by doing the following steps.

1. Plug your USB drive in your system.
2. You will be prompted by a dialog box as shown below.























3. If you can see the dialog box just click Cancel. Don’t try to open your pen drive.
4. If you were not able to view the dialog box do nothing, just check whether your pen drive appears in My Computer window. Don’t try to open your pen drive. If you could not able see your pen drive try to remove and plug it again.
5. Now go to Start--> Run and type cmd to open the Command Prompt window.
6. Go to My Computer and Check the Drive letter of your USB drive or Pen Drive. (E.g. If it is written Transcend (J :) , then J: will be the drive letter.)
7. Type the drive letter followed by a colon (e.g “J:”) inn the Command Window and Hit Enter.
8. Then type dir/w/o/a/p and Hit Enter
9. Now you will get a list of files. In the list of files, search if anyone of the following exist


a.Autorun.inf
b.NewFolder.exe
c.Bha.vbs
d.Iexplore.vbs
e.Info.exe
f.New_Folder.exe
g.Ravmon.exe
h.RVHost.exe or any other files with .exe Extension .


10. If you could find any one of the files above, Run the command attrib -h -r -s -a *.* and Hit Enter.
11. Next type the following command to delete each File.
12. The Command to type is del filename (E.g. del autorun.inf).
Now you are done and your USB drive is virus free. Scan your pen drive using any antivirus tool to check whether it is virus free.


Enabling Capslock, Numlock and Scroll Lock in System Startup


If you wish to enable the startup state of CapsLock, NumLock and ScrollLock keys do the following steps.
1. Open Registry editor by typing regedit in run window.
2. Navigate to HKEY_CURRENT_USER \ Control Panel \ Keyboard.
3. Open InitialKeyboardIndicators
4. Now change the values as follows


a. 0 - All Keys off
b. 1 - Caps Lock on
c. 2 - Num Lock on
d. 4 - Scroll Lock on
e. 3 - Caps Lock and Num Lock on
f. 5 - Caps Lock and Scroll Lock on
g. 6 - Num Lock and Scroll Lock on
h. 7 - Caps Lock, Num Lock, and Scroll Lock on

After you have changed the values logoff or restart your system for the changes to take effect.


Windows Explorer opens Search instead of folder



Windows Explorer sometimes opens Search companion instead of folder. This may be caused due to invalid settings for opening folder. It can also be caused due to some external programs (virus).
To overcome this start registry editor by typing “regedit” in run window.
ie) Start --> Run --> regedit and press Enter.
Now the registry window opens. Navigate to HKEY_CLASSES_ROOT \ Directory \ shell. Edit the default value to be explorer or none.


Common Control Panel Applets



Following are some common Control Panel Applets that are located in the \windows\system32 directory. Try using the following if you don’t wish to open Control Panel window and then choose the items from it.

appwiz.cpl -->>Add/Remove Programs
desk.cpl -->> Display Properties
firewall.cpl -->> Firewall Settings
inetcpl.cpl -->> Internet Options
mmsys.cpl -->> Sound and Audio
ncpa.cpl -->> Network Connections
nusrmgr.cpl -->> User Accounts
powercfg.cpl -->> Power Options
sysdm.cpl -->>System Properties
wscui.cpl -->> Security Center
wuaucpl.cpl -->> Automatic Updates Configuration Go to Top



Changing User Account Password from Command Prompt



Use Account Password can be changed from the Command Prompt on any system which runs on Windows NT 4.0, Windows 2000, Windows XP and Windows Server 2003. This method works for computers which has the User Account on a workstation, a stand-alone server, or a Windows domain controller. The only thing you have to do is that you must log in as an Administrator and type the following in Command Prompt. Use your own username.

net user sanjay * /domain

It prompts for a password. Type a new password and not the existing password. After you type the password the system prompts you for the confirmation to type the password again. Type again the same password and it’s done. Now your password has changed successfully.
Also if you don’t wish to prompt for the confirmation of password type the following in command prompt.

net user sanjay abcdef /domain

You can also change the password of a batch file using the above command. Also if you didn’t add /domain switch on a member server or workstation, the command will be performed on the local SAM and not on DC SAM.

If you wish to change the password for Administrator account, check whether you have logged in as a administrator and type the following.

net user administrator abcdef

If you are not the administrator you receive an error message stating “Access Denied”.


.