/build/static/layout/Breadcrumb_cap_w.png

Need help to edit the Dword value in HKCU registry

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


0 Comments   [ + ] Show comments

Answers (1)

Posted by: Gerhart 4 years ago
Green Belt
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/

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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