Link to home
Start Free TrialLog in
Avatar of Millkind
MillkindFlag for Afghanistan

asked on

Windows 7 cmd line change value in registry

Pretty simple im trying to change a value in the register in windows 7.
This line doesn't work.

reg add HKLM\SOFTWARE\NUVISION NETWORKS\SurePOS /v Address /t REG_DWORD /d 0000006a
Avatar of motnahp00
motnahp00
Flag of United States of America image

Try this:

reg add "HKLM\SOFTWARE\NUVISION NETWORKS\SurePOS" /v Address /t REG_DWORD /d 0000006a /f
If you have spaces, make sure you enclose your value or path in quotes.
Avatar of Millkind

ASKER

Okay that did it thanks, is there a cleaner way to just change the value?  It wants a yes or no to overwrite after that?
Add the /f switch. It forcibly applies the change or creates the value if it doesn't exist.
ASKER CERTIFIED SOLUTION
Avatar of motnahp00
motnahp00
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Perfection.  Thank you much.
No problem.