How to access another user's registry key in win XP

How can I access another user's registry key in win XP?

how do I access another HKey_current_user on my computer, in vb2005, or if someone can recommend software that can already do this.

I am trying to make a quick registry repair tool to fix a corrupted or corrupted user

+1


a source to share


2 answers


First, you can't, if roaming profiles are enabled, another user registry on your computer might be incomplete or outdated.

Having said that, you can use HKEY_USERS \ user-sid

Obviously, to access other users' data, you must run as an administrator.



To convert from SID to name, have a look: How can I convert from SID to account name in C #

To translate from name to SID, take a look at this: Unique User Profile ID in Windows

+2


a source


Just an opinion, but usually the remote registry service is running is a concern. I made the utility fix registry entries locally and run the application remotely. PSExec is a great free utility from Mark and now MS to run your utility after building and testing it. You can give it a list of the systems that fall, or it will run it on every system in the domain. Your account should have remote execution rights, but this is usually not a problem as an administrator. Just be careful when you write the utility a little more carefully, as you might run it on machines that you don't intend to run.



0


a source







All Articles