?
Solved

Registry Permissions Windows 2000 server

Posted on 2007-08-05
7
Medium Priority
?
249 Views
Last Modified: 2008-02-01
I have fcuked up!!

I have accidentally deleted the permissions on HKEY_Current_User and now nothing will run, when I run regedt32.exe and try and add the permission it wont let me add any users!!! I backed up last night but it doesnt run the veritas backup service...all icons on the desktop are now lnk files...how can I add permissions back to the Hive???

Its a Windows 2000 server...I cant believe I did it!!...if you need anymore info let me know...thanks
0
Comment
Question by:tppltd
  • 4
  • 3
7 Comments
 
LVL 85

Expert Comment

by:oBdA
ID: 19633786
It's basically like in a folder: you have to take ownership of the key. Once you have ownership, you should be able to add permissions again.
If that doesn't work, you need to create a new HKCU hive. Log on with a different admin account, go to the profile folder of the account with the removed permissions. Rename ntuser.dat (the HKCU registry hive) to ntuser.dat.old or whatever, logon again, and you'll start with a brand new HKCU. You'll obviously have to redo some settings, but HKCU is comparatively harmless when it comes to recreating.

0
 

Author Comment

by:tppltd
ID: 19633891
Thanks m8, can you please give me some advice on how to take qwnership of that key.

cheers
0
 
LVL 85

Expert Comment

by:oBdA
ID: 19633916
Start regedt32, highlight HKCU (or the subkey(s) missing permissions), choose "Permissions" from the Security menu. Click the "Advanced" button, go to the "Owner" tab, change ownership to the group "Administrators", check the box "Replace permissions ...", click OK. Close all dialog boxes, open the permissions og HKCU again, re-assign permissions.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:tppltd
ID: 19633985
cheers, I have logged on with another user who has admin rights, took ownership of the adminstrator profile, renamed ntuser.dat to ntuser.old.dat.

When I now try to add users on the security tab...I get this error

unable to display the user selection dialog

and when i logged on as adminsistrator i get the default desktop and it doesnt let me double click any icons...when I RMB any icon it doesnt give me the option to run, explore or send to option...

doing my nut in now...anymore ideas m8?? its a DC and I am doing this remotely.

cheers for the input :)
0
 
LVL 85

Accepted Solution

by:
oBdA earned 2000 total points
ID: 19634056
When you rename a user's ntuser.dat and then logon again with that user, a new ntuser.dat (iow: a completely new HKEY_CURRENT_USER hive) will be created, so there should be no need to change the registry permissions anymore. (There shouldn't have been the need to take ownership of the profile folder, either; administrators should have access to other local profiles by default.)
Is your other administrator account working properly?
Did you really only change permissions on HKCU, or were there other changes as well?
0
 

Author Comment

by:tppltd
ID: 19634077
to be honest it early morning, so might have changed others...I know I am a fcukwit!!!

need to set all permissions to default on all hives...this is my main DC server that runs DNS...anything else to suggest?
0
 

Author Comment

by:tppltd
ID: 19634183
right I have got the permissions sorted, just need to get the administrators profile to work
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

In this modest contribution, I want to share with the IT community (especially system administrators, IT Support Engineers and IT Help Desks) about Windows crashes/hangs and how to deal with these particular problems.
MS Outlook undoubtedly is the most widely used email client.Its user-friendliness, cost effectiveness, and availability with Microsoft Office Suite make it the most popular email application.  Its compatibility with Microsoft applications like Exch…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

831 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