Windows – How to connect to a Remote Registry

Often you need to make changes to the user’s Registry to solve issues.

But that is easier said then done, even if you are an administrator Sad smile

(giving the conditions that you had not set all prerequisites already using Group Policy settngs)

So here we go :

– first get a version of MS Sys Internals – PStools    In my case the latest version 2.0, did not work !   So I went back to version 1.98.0.0

Once you start the PSEXEX cmd make sure you use the –h parameter to run with elevated permissions.

-h    If the target system is Vista or higher, has the process run with the account’s elevated token, if available.

Example :

PsExec.exe -h \\PC_NAME cmd

Once started you can see in the CMD prompt windows that you connected correctly.

image

Now run the following cmd :

netsh firewall set service REMOTEADMIN ENABLE SUBNET

image

Next start on your machine AND the remote PC the following cmd :

net start RemoteRegistry

image

Check on both sides if it is started.

Now you are ready to connect to the remote registry using the GUI

image

Enjoy !

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.