How to Change Registry Key on Remote Computer

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.

Ellie

By Ellie / Updated on November 24, 2022

Share this: instagram reddit

How do I change registry settings remotely?

“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!”

How to change registry key on remote computer [Three options]

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.   

Option 1. Change registry key remotely using PowerShell

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.

Properties

Step 2. Note down the remote Device name, you’ll need it late.

Device Name

Step 3. On the local computer, right-click Start and choose Windows PowerShell (Admin).

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.

Windows PowerShell Credential Request

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)

PowerShell Remotely Registry

Step 6. Then the new registry key has already been added to the location that you want.

Method 2. Change registry key remotely using Registry Editor

The second option is to connect Network Registry.

Step 1. Press Win + R, type in “regedit”, and then press Enter to open Registry Editor.

Run Box Regedit

Step 2. Click File and then choose Connect Network Registry.

Connect Network Registry

Step 3. Type into the name of the computer you want to remotely access the registry for. Then click Check Names.

Enter the Name of the Remote Computer

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.

Error Connecting Network Registry

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.

Open Windows Services

Step 2. Find and double-click Remote Registry.

Remote Registry

Step 3. From the Startup type drop-down box, choose Manual.

Remote Registry Manual

Option 3. Change registry key remotely using remote desktop software AnyViewer

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.  

Download Freeware Win 11/10/8.1/8/7
Secure Download

 Step 1. Download, install, and launch AnyViewer on both computers.

Download AnyViewer

✍Note: AnyViewer also has an iOS version, you are also able to remotely control your PC from your iPhone or iPad.

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.)

Log in AnyViewer

Step 3. Fill in the signup information.

Sign Up for AnyViewer

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.

Free Editions

Step 5. Log in to the same AnyViewer account on the two devices, then click One-click control to achieve unattended remote access.

Connect to My Devices

✍Note: If you want to assign more devices to achieve unattended remote access, then you can upgrade your account to a Professional or Enterprise plan. Also, you can connect to another computer in privacy mode, which means you can black the screen and block the mouse and keyboard of the remote computer.

Step 6. After you’ve got full control of the remote computer, you can then open its Registry and edit whatever you want.

AnyViewer Registry

Conclusion

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.