Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

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
?
339 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

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…
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

715 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