Solved

how to remotely access to registry

Posted on 2008-06-19
3
468 Views
Last Modified: 2008-06-20
Remotely we can access only (HK-local-machine, & HK-users). but i want to access "HK-current-user " key. Without any desktop sharing.

I went thou~ the following link, http://support.microsoft.com/kb/314837, but still cant,
Any one who is remote access master can helpl?

 
 
 
0
Comment
Question by:imran786
3 Comments
 
LVL 82

Accepted Solution

by:
oBdA earned 250 total points
Comment Utility
You need to determine the SID of the user that's currently logged on, then connect remotely to the registry and look under HKU\<SID>
You can check the SID either through
dsquery user -name <TheUserName> | dsget user -sid
or through Sysinternals' PsGetSid (http://technet.microsoft.com/en-us/sysinternals/bb897417.aspx).
0
 
LVL 15

Expert Comment

by:markpalinux
Comment Utility


If you try to access "HK-current-user" you will be accessing it as the user you are running the tool as.

What are you trying to do?

I once needed to read what drives users had mapped themselves, in their logon scripts I had made a line.

reg export HKCU\Network \\Servername\Share\%USERNAME%.reg

Another time I had to manually set a registry value in current user and again used reg.exe.

Hope this helps,
Mark
0
 
LVL 58

Expert Comment

by:tigermatt
Comment Utility
The HKEY_CURRENT_USER hive is a special hive which is only accessible by the currently logged in user to the system. To access an individual user's registry file, you can either load their NTUSER.DAT file into your HKEY_LOCAL_MACHINE hive, or as already mentioned use the HKEY_USERS along with their SID.

-tigermatt
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
Learn about cloud computing and its benefits for small business owners.
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

728 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

12 Experts available now in Live!

Get 1:1 Help Now