?
Solved

how to remotely access to registry

Posted on 2008-06-19
3
Medium Priority
?
477 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 85

Accepted Solution

by:
oBdA earned 1000 total points
ID: 21821154
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
ID: 21821162


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
ID: 21823654
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

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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,…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Suggested Courses

752 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