/build/static/layout/Breadcrumb_cap_w.png

Software Deployment Question


Need help to edit the Dword value in HKCU registry

02/05/2020 434 views

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

0 Comments   [ + ] Show comments

Comments


All Answers

1

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

https://devblogs.microsoft.com/scripting/weekend-scripter-use-powershell-to-easily-modify-registry-property-values/

Answered 02/05/2020 by: Gerhart
Third Degree Blue 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