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)
Please log in to answer
Posted by:
Gerhart
4 years ago
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 :-)