Remote registry control

The fix to many active directory issues involves the registry. RegEdit has built in support to connect to remote machines, but we normally leave the remote registry service turned off. Ironically, the recommended method usually given to turn on remote registry edits involves... editing the registry. Now this can be done via group policy, but for a one off fix, it is far easier to just start the service, make the change and turn it back off.

To do so, you can use the "sc" command, which gives control over remote service status. While it can do a lot more, all we care about in this case is the ability to sc \\computername start remoteregistry. Connect to the registry, make the changes and when done, run the command in stop mode.

[1] http://thescriptingadmin.blogspot.com/2013/04/enable-remote-registry-service-on.html