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
tppltdAsked:
Who is Participating?
 
oBdACommented:
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
 
oBdACommented:
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
 
tppltdAuthor Commented:
Thanks m8, can you please give me some advice on how to take qwnership of that key.

cheers
0
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

 
oBdACommented:
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
 
tppltdAuthor Commented:
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
 
tppltdAuthor Commented:
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
 
tppltdAuthor Commented:
right I have got the permissions sorted, just need to get the administrators profile to work
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.