Thursday, October 18, 2007

Registry Tweak

This one works on Windows 2000 and Windows XP. Right click on any folder to run the Command Prompt.

Open notepad and copy paste the following:

Windows Registry Editor Version 5.00

;Adds the 'command prompt open here' to shellfolders
[HKEY_CLASSES_ROOT\Directory\shell\cmd]
@="Command Prompt Here"

[HKEY_CLASSES_ROOT\Directory\shell\cmd\command]
@="cmd.exe /k \"cd %L\""

[HKEY_CLASSES_ROOT\Drive\shell\cmd]
@="Open Command Window Here"

[HKEY_CLASSES_ROOT\Drive\shell\cmd\command]
@="cmd.exe /k \"cd %L\""

Save the file with .reg extension. Then double click the file to add it to Windows registry. Press OK when prompted by Windows.


This tweak is for Windows 2000 since this feature is already available on Windows XP. This will allow auto complete in Command Prompt as you type the name of the file or folder.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Command Processor]
"CompletionChar"=dword:00000009

Unhide Supper Hidden File

How to unhide folder hidden by the Auto-It virus.

From DOS prompt type this command:

"attrib -s -r -h C:\Windows\system32" (this could be any drive or folder that you want to unhide)

press Enter

Wednesday, October 17, 2007

Activate Administrator Account in Vista

For Windows Vista Ultimate/Business/Enterprise:

1- Click Start, and type "secpol.msc" in the search area and click Enter. (You may receive a prompt from UAC, approve/login and proceed)
2- In the left list, choose "Local Policies", then "Security Options"
3- Set "Accounts: Administrator account status" to Enabled.
4- Set "User Account Control: Admin Approval Mode for the Built-in Administrator account" to Disabled.

For Windows Vista Home Basic/Home Premium:

1- Click Start, and type "cmd" in the search area, right click on "Command Prompt" and select 'Run as Administrator".

2- In the command prompt type
"net users Administrator password" (Type your own password)
"net users Administrator /active:yes"
(Note the capital "A" in Administrator) press Enter after each command and you will get a confirmation as "The command completed successfully".

Now log-off, and you'll see new account named "Administrator" is available, click on it to login as Administrator and your password.