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
321 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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

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…
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

747 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now