This post mainly introduces three options on how to change registry key on remote computer. The detailed steps for each option are provided. You can choose one after comparing them.
“I am trying to edit a registry key value on a remote computer running Windows 10. Can anyone please tell me how can I do this? Thanks a lot!”
Here in this part, we’ll introduce three options on how to change registry key on remote computer, via PowerShell, Registry Editor, or third-party remote desktop software.
The first option we offer here is to change registry key remotely via PowerShell. Suppose you want to create a new registry key under HKEY_CURRENT_USER under the Software key, and you want to call it HSG, then you can follow the steps below.
Step 1. Before starting, you need to find out the computer name of the remote computer. Right-click This PC on the remote desktop and then choose Properties.
Step 2. Note down the remote Device name, you’ll need it late.
Step 3. On the local computer, right-click Start and choose Windows PowerShell (Admin).
Step 4. Enter the following cmdlet to retrieve a credential object to use to make a remote connection:
Get-Credential
You’ll need to enter the computer name and computer password of the remote computer.
Step 5. Enter the following cmdlets successively:
Enter-PSSession (to enter a remote PS Session)
Push-Location (to store your current location)
Set-Location (to change your working location to the HKCU:\Software location)
New-Item (to create the new registry key)
New-ItemProperty (to create the new registry property. You’ll need to specify the Name, Path, Value, and PropertyType)
Pop-Location (to return to your previous location)
Exit (to leave the remote PS Session)
Step 6. Then the new registry key has already been added to the location that you want.
The second option is to connect Network Registry.
Step 1. Press Win + R, type in “regedit”, and then press Enter to open Registry Editor.
Step 2. Click File and then choose Connect Network Registry.
Step 3. Type into the name of the computer you want to remotely access the registry for. Then click Check Names.
Step 4. Then you are able to remotely change registry key via Registry Editor.
Note: Sometimes, you may also get the following errors. This is because the Remote Registry service is not enabled on the remote computer.
How to enable the Remote Registry service on the remote computer
Step 1. Press Win + R, type in “services.msc”, and then click OK to open Services.
Step 2. Find and double-click Remote Registry.
Step 3. From the Startup type drop-down box, choose Manual.
The final option to change registry key remotely is to use the free and easy remote desktop software AnyViewer to remotely access another computer and then edit registry as you want.
Step 1. Download, install, and launch AnyViewer on both computers.
Step 2. Go to Log in, and then click Sign up. (If you already have signed up on its official website, you can log in directly.)
Step 3. Fill in the signup information.
Step 4. Then you can see you successfully logged in to AnyViewer. Your device will automatically be assigned to the account you've logged in to.
Step 5. Log in to the same AnyViewer account on the two devices, then click One-click control to achieve unattended remote access.
Step 6. After you’ve got full control of the remote computer, you can then open its Registry and edit whatever you want.
This post mainly introduces three options on how to change registry key on remote computer. Normally, you can change it using PowerShell, Registry Editor, or remote desktop software AnyViewer. After reading this post, you can choose the one that you think is the easiest to use.