Go Premium for a chance to win a PS4. Enter to Win

x
?
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
Medium Priority
?
342 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 500 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

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…
How to fix a SonicWall Gateway Anti-Virus firewall blocking automatic updates to apps like Windows, Adobe, Symantec, etc.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…

824 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