Showing posts with label Registry. Show all posts
Showing posts with label Registry. Show all posts

April 17, 2015

Wallpaper Enable-Disable Trick for Win XP

You can easily restricted someone to change wallpaper in Windows XP with following registry keys.


1. Restrict Wallpaper

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop]
"NoChangingWallPaper"=dword:00000001

2. Restore Wallpaper

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ActiveDesktop]
"NoChangingWallPaper"=dword:00000000

November 13, 2008

Defragment on Right Click


I posted lots of tricks on registry. This is another one. If you want to add Defragment option on your context menu then just use this trick. "The process or reorganizing and rewriting files so that they occupy one large continuous area on your hard disk rather than several smaller areas its called Defragmentation." You can also add Defragment on right click of mouse with help of following simple steps.


Add Defragmant:
Type following text in notepad or copy-paste it and save it with .reg extension. Then simply run/merge it. It will add Defragment option on right click of mouse.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\Drive\shell\runas]@="Defragment"
[HKEY_CLASSES_ROOT\Drive\shell\runas\command]@="defrag %1 -v"


Remove Defragmnet:
Type following text in notepad or copy-paste it and save it with .reg extension. Then simply run/merge it. It will remove Defragment option on right click of mouse.

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT\Drive\shell\runas]

August 03, 2008

Display Properties - Windows XP


I post answers on Yahoo! Answers regularly. Recently, I have seen few questions regarding Display properties of Windows XP. You can reach to Display Properties by right click on blank space on Desktop or go to start then click on Control Panel where you can get Display Properties. They asked about Display Properties, disable Screen Saver tab, disable Desktop tab etc. The system Administrator or some modified viruses/maleware are the reason of disable Display Properties and its features. You get following error message when your Display Properties disable by any reason(see screen shot).


It is nothing but just a registry trick. You can yourself make it enable or disable as per your requirements.

Enable Diplay Properties:
Type following text in notepad or copy-paste it and save it with .reg extension. Then simply run/merge it. It will Enable Display Properties.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispCPL"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispCPL"=dword:00000000


Disable Diplay Properties:

Type following text in notepad or copy-paste it and save it with .reg extension. Then simply run/merge it. It will Disable Display Properties.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispCPL"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispCPL"=dword:00000001


Enable Appearance tab:

Type following text in notepad or copy-paste it and save it with .reg extension. Then simply run/merge it. It will Enable Appearance (ie.Themes+Appearance) tab in Display Properties window.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispAppearancePage"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispAppearancePage"=dword:00000000



Disable Appearance tab:

Type following text in notepad or copy-paste it and save it with .reg extension. Then simply run/merge it. It will Disable Appearance (ie.Themes+Appearance) tab in Display Properties window.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispAppearancePage"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispAppearancePage"=dword:00000001


Enable Desktop tab:

Type following text in notepad or copy-paste it and save it with .reg extension. Then simply run/merge it. It will Enable Desktop tab in Display Properties window.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispBackgroundPage"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispBackgroundPage"=dword:00000000


Disble Desktop tab:
Type following text in notepad or copy-paste it and save it with .reg extension. Then simply run/merge it. It will Disable Desktop tab in Display Properties window.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispBackgroundPage"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispBackgroundPage"=dword:00000001


Enable Screen Saver tab:

Type following text in notepad or copy-paste it and save it with .reg extension. Then simply run/merge it. It will Enable Screen Saver tab in Display Properties window.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispScrSavPage"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispScrSavPage"=dword:00000000


Disable Screen Saver tab:
Type following text in notepad or copy-paste it and save it with .reg extension. Then simply run/merge it. It will Disable Screen Saver tab in Display Properties window.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispScrSavPage"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispScrSavPage"=dword:00000001


Enable Settings tab:

Type following text in notepad or copy-paste it and save it with .reg extension. Then simply run/merge it. It will Enable Settings tab in Display Properties window.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispSettingsPage"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispSettingsPage"=dword:00000000


Disble Settings tab:
Type following text in notepad or copy-paste it and save it with .reg extension. Then simply run/merge it. It will Disable Settings tab in Display Properties window.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispSettingsPage"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\system]
"NoDispSettingsPage"=dword:00000001


.

July 25, 2008

Restore Recycle Bin


I posted an article on Recycle Bin-Windows XP on dated 20th November, 2007. People appreciated this article but they asked me how to enable/disable Recycle Bin in Windows XP. I got question regarding Restore disabled Recycle Bin in Windows XP. I forgot to write on this issue. Now, here I am for how to Restore Recycle Bin in Windows XP.

As usual it is just Registry trick. You can do yourself with following details.


Recycle Bin Enable:
Type following text in notepad or copy-paste it. Then run/merge it. It will Enable Recycle Bin.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{645FF040-5081-101B-9F08-00AA002F954E}"=dword:00000000


Recycle Bin Disable:
Type following text in notepad or copy-paste it. Then run/merge it. It will Disable Recycle Bin.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel]
"{645FF040-5081-101B-9F08-00AA002F954E}"=dword:00000001


Note: This trick works with Windows Vista too. Please try this one with Windows Vista.
.

June 08, 2008

Add-Remove Programs Enable-Disable


Add or Remove Programs is the most important options for computer system. You can reach it through Start>Settings>Control Panel or Start>Run>type 'appwiz.cpl'. It has following inbuilt options.

(1) Change or Remove Programs
(2) Add New Programs
(3) Add/Remove Windows Components


The system Administrators may disable it for security reason like whole Control Panel. Few malicious software are also capable to edit Registry and make Add or Remove Programs disable which displays following error message(check screen shot).


You can also Enable/Disable the Add or Remove Programs in Control Panel settings with following steps.

Disable Add or Remove Programs:
Type following text in notepad or copy-paste it and run/merge it. It will Disable Control Panel.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\ CurrentVersion\policies\Uninstall]
"NoAddRemovePrograms"=dword:00000001


[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\ CurrentVersion\policies\Uninstall]
"NoAddRemovePrograms"=dword:00000001




Enable Add or Remove Programs:
Type following text in notepad or copy-paste it and run/merge it. It will Enable Control Panel.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\ CurrentVersion\policies\Uninstall]
"NoAddRemovePrograms"=
dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\ CurrentVersion\policies\Uninstall]
"NoAddRemovePrograms"=dword:00000000

May 15, 2008

Yahoo Messenger Ad Killer

There are so many people use Yahoo messenger with chat rooms. Mostly people go to Yahoo chat rooms and find chat buddy. But more boring part is Ad which stay at bottom part of chat rooms' windows. Please see following screen shot. I found its nothing just registry settings in your system which allow Yahoo chat rooms to display Ad. Even you can edit/modify it with Registry Editor.

(1) No Add or Blank:
If you don't want any Ad on Yahoo chat rooms then just download following ready to use registry merger file and install it on your system.


(2) My Blog Ad:
If you want to display my website's URL on Yahoo chat rooms then just download following ready to use registry merger file and install it on your system.


(3) Restore Default:
If you want to restore default settings as it was then just download following ready to use registry merger file and install it on your system.

February 04, 2008

Legal Notice Caption - Windows

This is a good trick which runs before logon to Windows. It works with all Windows. It displays a message window before logon. You can yourself create a Legal Caption for your computer system. Go to Start-> Run command. Then open Registry Editor with help of 'regedit'.

Find the appropriate key for your operating system.

Windows 95, 98 and Me:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ Windows\CurrentVersion\Winlogon

Windows NT, 2000 and XP:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ WindowsNT\CurrentVersion\Winlogon

Create/modify a string value(REG_SZ) named 'LegalNoticeCaption' and type the text you want to appear in the legal notice windows title bar. (e.g. 'CAUTION')


Create/modify a string value(REG_SZ) named 'LegalNoticeText' and type the text you want to appear as message body. (e.g. 'THIS COMPUTER BELONGS TO MR. XYZ')


Restart your computer and you will get to see a Legal Notice dialog box window before logon to Windows. Please refer real screen shots for help.

December 26, 2007

Taskbar - Windows


It is the bar which is located on bottom of the Desktop screen. It is used to launch and monitor applications in Microsoft Windows. It contains Start menu, Quick Launch bar, System Tray, Display Running Tasks, etc. You can modify Taskbar as per your requirement.


I got a call for trouble regarding Taskbar. That machine didn't display running tasks in Taskbar area. I found that machine infected from viruses/worms. The viruses/worms might be edited that machine's Registry and made running tasks disable/hidden. I tried a lot to make it default. But, it didn't work. Ultimately, I found a .vbs script for same trouble. I downloaded that script and run it. It solved trouble and that machine's Taskbar worked normal as it before. You can download this magical script from following link.


If you don't able to download said script then just email me. I will send this script to you.

December 03, 2007

Internet Options - Enable/Disable


Suppose you work at a place where you share your computer with others. They don't know much more about computer /Internet and every time they change IE's Internet settings which is best for in use. You can stop anyone to alter Internet settings by disable Internet Options under Tools menu. It is quite easy trick. As usual, you just need modify Registry.

Internet Options - Disable:
Type following text in notepad or copy-paste it and run/merge it. It will Disable Internet Options.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions]
"NoBrowserOptions"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions]
"NoBrowserOptions"=dword:00000001


Internet Options - Enable:
Type following text in notepad or copy-paste it and run/merge it. It will Enable Internet Options.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Restrictions]
"NoBrowserOptions"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Restrictions]
"NoBrowserOptions"=dword:00000000

>>> Download IE Enable Registry File here <<<

Note: This trick works with Windows Vista too. Please try to compatibility.
.

September 29, 2007

Change Caption of Internet Explorer

Some cyber cafes or companies use this kind of settings/trick like "Microsoft Internet Explorer by {company name}" or anything whatever they want to display on Internet Explorer's Title Bar. You can also change Caption of Internet Explorer. From this trick, you can create your own caption of Internet Explorer as per following simple steps.

Default Caption:



Change Caption:
You just need to add a String Value named "Window Title"(without quotation) under following registry branches;

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main

After creating "Window Title" string, type whatever you want to display as its value.

OR

Open notepad and copy-paste following text then save it as .reg extension. After then, simply run/merge it.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Window Title"="Microsoft Internet Explorer by ASHISH JANSARI"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main]
"Window Title"="Microsoft Internet Explorer by ASHISH JANSARI"

Note: Please don't forget to replace text as per your caption in place of "Microsoft Internet Explorer by ASHISH JANSARI".


September 19, 2007

Auto Image Resize in Internet Explorer

Sometimes, we really don't know little but useful option. Auto Image Resize is just like that. One of my colleague complaint me that his Internet Explorer doesn't set image size automatically. When he browses with maximize window of Internet Explorer then it is fine with image size but when he Restore Internet Explorer then the image size doesn't set/follow to Internet Explorer. If you can enable Auto Image Resize in Internet Explorer then image size always follow to your Internet Explorer window size. Mostly, it is enable. But if it is disable then you can enable it with simple following steps.

Copy-paste following text in notepad and save it with .reg extension, then just merge/run it.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main]
"Enable AutoImageResize"="yes"



Enable Auto Image Resize:


Disable Auto Image Resize:


September 09, 2007

Administrator Account in Windows XP


In every installation of Windows XP, there are built-in and default accounts like Guest, HelpAssistant and Administrator. The Administrator account is equivalent to super user. If you have set up another user account in Windows XP as Administrator then default Administrator account will be hidden and invisible.

Unhide Administrator Account:

To see the Administrator account, you have to boot the Windows in Safe Mode or you can modify the Windows registry so that the Administrator account will be shown at Windows Welcome screen.

  • Launch Registry Editor.
  • Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ WindowsNT\CurrentVersion\Winlogon\SpecialAccounts \UserList in the Registry Editor.
  • Double-click the Administrator key in the right pane.
  • If the Administrator key doesn’t exist, right-click on the above tree in the pane, choose New, DWORD Value, name it Administrator.
  • Type 1 in the “Value data” box for unhide Administrator account. (set 0 to make Administrator hidden)

On the next boot, the Administrator account will be visible on the Welcome screen, along with all of the computer’s user accounts.

Back door login through default Administrator account:

Suppose you’ve an account with administrator rights and assigned a Password for same but, you missed/forgot its Password or there is a computer with Password protected user account and you want unauthorized login on same. Then just boot that computer and wait Windows XP welcome login screen. Now just hit Ctrl+Alt+Del twice and you will get a new window named “Log on to Windows” with Username and Password option. Type ‘Administrator’ as Username and leave blank as Password and hit enter. You can log on to anyone’s Password protected computer with this trick.

Change Password without knowing old password:

You can make fool/worry to your friend through this trick. Suppose you’re logged in your friend’s computer with his/her Password protected account which Password is hidden for you and you don’t know real Password. Just make a trick to erase or reset that Password with following simple steps in MS-DOS prompt.

Open Windows command prompt then type “net user (account name) *” without quotation marks then hit enter key. It will ask ‘Type a password for the user’ leave it blank or type a new Password then press enter. It will ask ‘Retype the password to confirm’, just repeat what you typed as ‘Type a password for the user’ and hit enter key. Well, you can successfully change Password with this trick without knowing old password. Please refer following real screen shot.


September 06, 2007

Add "Copy to" & "Move to" on Right Click(WinXP)



It is hard to move or copy a file/s or folder/s to specific location. There is a option called "Send to" on context menu but it has some limitation. You can send content through it just few locations like.. My Documents, Floppy Disk etc. If You can add "Copy to" and "Move to" options on Right click(context menu) then it will increase your file/folder transfer facility. You can Copy and Move your content anywhere on your machine through Right click(context menu). I have described a registry trick following here.

Copy-paste following text in notepad and save it with .reg extension. Then just merge/run it. You will get 2 new options on your Right click(context menu).


Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex \ContextMenuHandlers]

[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex \ContextMenuHandlers\Copy To] @="{C2FBB630-2971-11D1-A18C-00C04FD75D13}"

[HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex \ContextMenuHandlers\Move To] @="{C2FBB631-2971-11D1-A18C-00C04FD75D13}"

August 20, 2007

Multi Window Yahoo! Messenger


This trick helped a guy whom loved a stranger girl. Well, theres a guy whom used Yahoo! messenger and chatted a lot. He met a girl and they chatted lots. The girl said that she was from the USA but she wasn't. That what this Multi Window Yahoo! Messenger found. That guy had some doubt on her so he used this trick and checked on her. He chatted to her with 2 different IDs at the same time with single machine. And finally he caught that girl whom actually from Philippines. You can also use this trick on Yahoo! Messenger.

Go to Start and hit Run command then open Registry Editor. Make a dword key named "Plural" without quotation marks under following registry hive:

HKEY_CURRENT_USER\Software\Yahoo\pager\Test


Then just set its value 1(hexadecimal) and enjoy Multi Window Yahoo! Messenger as shown in above picture.

OR

Open notepad and type following text or copy-paste it and save it with .reg extension then simply run/merge it.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Yahoo\pager\Test]
"Plural"=dword:00000001



August 16, 2007

Find(Search) - Enable/Disable(Win XP)

I posted "Run command - Enable/Disable" before few days. As like as you can Enable or Disable "Find" too. You can reach to Find through start menu or open it with keyboard shortcut "windows key + F". Well, It is easy to use registry trick on it as per following.
Enable Find:
Open notepad and type following text or copy-paste same and save it with .reg extension and simply run/merge it. It will Enable Find command. (Don't forget to restart your machine)

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ CurrentVersion\Policies\Explorer]
"NoFind"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\ CurrentVersion\Policies\Explorer]
"NoFind"=dword:00000000

Disable Find:
Open notepad and type following text or copy-paste same and save it with .reg extension and simply run/merge it. It will Disable Find command. (Don't forget to restart your machine)

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows \CurrentVersion\Policies\Explorer]
"NoFind"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows \CurrentVersion\Policies\Explorer]
"NoFind"=dword:00000001

August 14, 2007

Control Panel - Disable/Enable(Win XP)

Suppose you work at a place where you share your computer with other people. They always do something and disturb your system's settings from Control Panel. You really want to stop them to use Control Panel so they wont able to change any settings. Well, you can do it easily with following trick.

Control Panel Disable:
Type following text in notepad or copy-paste it and run/merge it. It will Disable Control Panel.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ CurrentVersion\Policies\Explorer]
"NoControlPanel"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\ CurrentVersion\Policies\Explorer]
"NoControlPanel"=dword:00000001


Control Panel Enable:
Type following text in notepad or copy-paste it and run/merge it. It will Enable Control Panel.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ CurrentVersion\Policies\Explorer]
"NoControlPanel"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\ CurrentVersion\Policies\Explorer]
"NoControlPanel"=dword:00000000

August 12, 2007

Run command - Enable/Disable(Win XP)

I got few emails regarding Run command trouble. They don't have Run command in start menu or cannot open Run command through keyboard shortcut "windows key + R". You cannot open a lot of Run command stuff without it.
Well, It is easy to use registry merger trick here as per describe below.

Enable Run:
Open notepad and type following text or copy-paste same and save it with .reg extension and simply run/merge it. It will Enable Run command. (Don't forget to restart your machine)

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\ CurrentVersion\Policies\Explorer]
"NoRun"=dword:00000000

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\ CurrentVersion\Policies\Explorer]
"NoRun"=dword:00000000

Disable Run:
Open notepad and type following text or copy-paste same and save it with .reg extension and simply run/merge it. It will Disable Run command. (Don't forget to restart your machine)

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows \CurrentVersion\Policies\Explorer]
"NoRun"=dword:00000001

[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows \CurrentVersion\Policies\Explorer]
"NoRun"=dword:00000001

August 11, 2007

USB Devices Enable/Disable(Win XP)

I posted a trick titled "Write Protected Pen Drive(Windows XP)" in month of July. Well it is not foolproof but there is another trick from which you can easily disable USB devices. It prevents to use all USB devices.

Go to Registry Editor and find "Start" dword value under following registry hive.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR

... then set "Start" value 4(Hexadecimal) for Disable and 3(Hexadecimal) for Enable all USB devices.
OR

Type following text in notepad or copy-paste same and save it with .reg extension then run/merge it.
  • For Disable USB

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR]
"Start"=dword:00000004

  • For Enable USB
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\USBSTOR]
"Start"=dword:00000003

August 02, 2007

Disable Auto Run on Hard Drive(Win XP)

I visited to check a virus infected computer. They removed virus with help of Anti Viral software before I reached there but they had troubled opening Hard drive on Double click. They could easily open Hard drive with help of Right click option but Double click couldn't work there. I have just found some solution on this trouble and maybe it works with same.

Well, in normal situation when you hit Double click on Hard drive (or its partition) then it opens but, in this kind of situation it prompts you "Open With" dialog box and ask you to "Choose the program you want to use to open this file".

It happens because of when autorun.vbs is created by Trojan or Virus or Worm. They normally load an autorun.inf file into root folder of all hard drive, and then execute autorun.bat file which contains script to apply and merge autorun.reg into the registry, with possible change to the following registry key.

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT \CurrentVersion\Winlogon]
Userinit=userinit.exe,autorun.exe

Where autorun.bat will call wscript.exe to run autorun.vbs. Above key loads at the time of Windows Start.

When Anti Viral software detected the autorun.vbs file as infected, the file will be deleted or removed or quarantined. However, other files (autorun.*) and registry value still referring to autorun.vbs, and this document no longer exists, hence the error when users double click to open a drive folder.

Solution:
Run Task Manager (Ctrl-Alt-Del or right click on Taskbar)
Stop wscript.exe process if available by highlighting the process name and clicking End Process.
Then terminate explorer.exe process.
In Task Manager, click on File -> New Task (Run…).
Type “cmd” (without quotes) into the Open text box and click OK.
Type the following command one by one followed by hitting Enter key:

del c:\autorun.* /f /s /q /a
del d:\autorun.* /f /s /q /a
del e:\autorun.* /f /s /q /a

In Task Manager, click on File -> New Task (Run…).
Type “regedit” (without quotes) into the Open text box and click OK.
Navigate to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\ CurrentVersion\Winlogon

Check if the value name and value data for the key is correct (the value data of userint.exe include the path which may be different than C drive, which is also valid, note also the comma which is also needed:
“Userinit”=“C:\WINDOWS\system32\userinit.exe,”

If the value is incorrect, modify it with help of following registry merger code. Just type or copy-paste following text in Notepad and save it with .reg extension then simply run it.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT \CurrentVersion\Winlogon]
“Userinit”=“C:\\WINDOWS\\system32\\userinit.exe,”

August 01, 2007

CMD - Enable/Disable(Win XP)


Recently, I've found that some modified viruses are capable to make Disable CMD (MS-DOS Command Prompt) or sometimes System Administrator makes it Disable. But, you can easily Enable CMD (MS-DOS Command Prompt) with following difference steps:

Step(1) With help of Group Policy:
  • Go to Run command and type "gpedit.msc" and get Group Policy window.
  • Then find "System" settings under "Administrative Templates" in left pane.
  • Then go to right pane and make right click on "Prevent access to the command prompt" and get 'Properties' window.
  • Make it Enable/Disable/Not configured through 'Properties' settings of "Prevent access to the command prompt" which you can see below.
  • Then click on Apply and Ok.

Step(2) With help of Registry Editor:
Go to Run command and type "regedit". Open Registry editor and find "DisableCMD" dword value under following registry hive:
  • HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows \System
..and set it 0(zero) for Enable CMD and set it 1(one) for Disable CMD.

Step(3) With help of Registry Merger:

Go to Notepad and type or copy/paste following text and save it with .reg extension and just run(merge) it with double click:
  • For Enable CMD:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows \System]
"DisableCMD"=dword:00000000

  • For Disable CMD:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows \System]
"DisableCMD"=dword:00000001