Setting a key value RestrictRun=1 in HKCurrentUser without a RestrictRun key is bad. How do I undo?

I logged into my Windows 2k box as usual (into the domain). This box part of a windows 2k domain.

I open the registry and create a key RestrictRun DWORD=1 and reboot.
Now I cannot run any program. Starting any program on the quicklaunch bar, start program group, on the desktop, will result in a message:

 "This operation has benn cancelled due to restrictions in effect on this computer. Please contact your system administrator"

I logoff and log back in to admin (into local computer, not domain) and open the regedit, trying to remove the key (RestrictRun) that I put in earlier, but I don't see it.

I logout and log back in as another user of the domain (not local computer), and this user can run any program.

What can I do to remove this restriction on my account?

Thank you.
LVL 2
catknowsAsked:
Who is Participating?
 
tanelornConnect With a Mentor Commented:
hi,
login in as a local administrative account.  (one with rights..)
open up regedt32, and open up the window hklm..

hilight the main key in  hklm  at the top

then in the file menu, select  load hive

then navigate to the profile that you are having problems with. and select the file "ntuser.dat"

it will ask you for a name to call it

call it,  "thiskeyistheprofile"  or whatever, and click ok


it will then show a key with that name.  navigate to the place whre you made the edit, and blow it away.

then hilite again the main key that you named "thiskeyistheprofile"  
then, select in the file menu,  unload hive.



Try that..  

and let us know how it goes..

Tanelorn
0
 
tanelornCommented:
ahh..

after you unload the hive,  close regedit, logout, and log in as the user that you were having problems with.
if you got the right key, that should do it for you.


alternatively,  if there was nothing special about that user setup,  you could just rename the profile folder  (as a local administrative user)

then log out, and log back in as troubled user.  it will recreate a profile for you,  they just copy the important data from the renamed folder to the new one..

Tanelorn
0
 
tanelornCommented:
Hi,
I'm glad that it solved your problem,
which solution did you use?


thanks!
T
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.