Solved

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

Posted on 2004-09-20
3
329 Views
Last Modified: 2012-06-27
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.
0
Comment
Question by:catknows
  • 3
3 Comments
 
LVL 6

Accepted Solution

by:
tanelorn earned 125 total points
ID: 12103278
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
 
LVL 6

Expert Comment

by:tanelorn
ID: 12103502
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
 
LVL 6

Expert Comment

by:tanelorn
ID: 12104533
Hi,
I'm glad that it solved your problem,
which solution did you use?


thanks!
T
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Win 2000 Pro - RDP Connection 2008 R2 Terminal Service 4 540
Remote Desktop Software 6 457
Group Policy 9 560
OLD CPUs 12 97
NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question