Solved

How to make changes to a users HKEY_CURRENT_USER registry hive on a Terminal Server

Posted on 2007-03-27
2
553 Views
Last Modified: 2010-05-18
I have a Windows 2003 Terminal Server.

How can I make changes to a users HKEY_CURRENT_USER registry hive,  signed on as the Admin at the console of the TS ?

Ray in Wisconsin
0
Comment
2 Comments
 
LVL 82

Accepted Solution

by:
oBdA earned 500 total points
ID: 18800184
Assuming this user is currently logged on to the TS: Start regedit, go to HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList; check the keys (the user SIDs) there until you find the one that points to the correct user name in the "ProfileImagePath" value. Make a note of the last four digits of this key's name.
Now go to HKEY_USERS, and check the keys (user SIDs) there until you find the one that ends with the four digits from step one; this is the user's "HKCU" hive, edit as necessary.
If the user is not logged on: Start regedit, highlight "HKEY_USERS", choose "Load Hive" from the File menu. Browse to the user's profile (location is specific to your environment, depending on whether you're using local or roaming profiles), open "ntuser.dat". When asked for a name, name it temp-username or whatever. Edit as necessary. Important: When done with editing, highlight the "temp-username" key, choose "Unload Hive" from the File menu.
0
 
LVL 1
ID: 18800451
Thanks.

The EXACT answer I was looking for.
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 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

13 Experts available now in Live!

Get 1:1 Help Now