PDA

View Full Version : newbie need help



tru_monk
01-26-2001, 01:00 AM
Hi, after look for tips on this site, I try out one of the tip one this site. The tip is to restrict the program to run. I do what was said to do, by go to hkey_current_user\software...\explorer\ and create a DWORD RestrictRun and make it equal to 1. Then create a a folder as hkey_current_user\...\explorer\RestrictRun\ and put a STRING 1 = "notepad.exe". After restart the computer, my computer lock out and disable me to execute all the .exe program. How do I fixe this program beside reformat the harddrive and restart all over.

POBrien
01-26-2001, 03:32 AM
Go to START /Run type in: sysedit

within the autoexec.bat file add these two lines:

regedit /D "HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer"
regedit /D "HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\Cur rentVersion\Policies\Explorer"

note*** the regedit /D should be on the same line as the path to the Explorer subkey and there should be 1 space after /D and before "HKEY

example:

regedit /D "HKEY and the rest

reboot.

This action deletes the Explorer subkey which also includes the deletion of the value restrictrun and it's value data 00000001

Next

Copy everything between the lines below and paste into notepad. Save the file as explorer.reg. Double click the file to add it into the registry.

__________________________________________________ __

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=hex:b5,00,00,00

______________________________________________

This action will restore the Explorer subkey and the nodrivetypeautorun value and value data.

finally...

go back to the autoexec.bat file and remove the two lines.

zeedo
01-27-2001, 11:10 AM
The reason why you got this problem is that restrictrun restricts ALL programs on the system except the ones named in the values.
Instead of restricting notepad you restricted everything except from notepad.

Next time you use this key always add regedit.exe or your editing tool as one of the programs allowed to run until you are more familiar with the key.

Try doing the same as before and adding notepad and regedit. You will then be able to run these programs but none others.