Link to home
Start Free TrialLog in
Avatar of tppltd
tppltdFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Registry Permissions Windows 2000 server

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
Avatar of oBdA
oBdA

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.

Avatar of tppltd

ASKER

Thanks m8, can you please give me some advice on how to take qwnership of that key.

cheers
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.
Avatar of tppltd

ASKER

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 :)
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of tppltd

ASKER

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?
Avatar of tppltd

ASKER

right I have got the permissions sorted, just need to get the administrators profile to work