Software Deployment Question

Need help to edit the Dword value in HKCU registry

02/05/2020 542 views

i want to edit the Dword value in the hkcu registry in Powershell.Can someone kindly help

0 Comments   [ + ] Show comments


All Answers


The following command sets a new DWord "testkey" with the value "3" in HKCU:\Software\Adobe.

The -Force at the end ensures that the existing value (if it is already there) is overwritten.

Script has to be run as the user.

New-ItemProperty "HKCU:\Software\Adobe" -Name "testkey" -Value 3 -PropertyType "DWord" -Force

By the Way. Google works :-)


Answered 02/05/2020 by: Gerhart
Green Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ