"Invalid command-line parameters" for REG ADD command

I'm trying to run the following "reg add" command, and I'm getting "Invalid command-line paramters".  

REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v KeepAliveTimeout /t REG_DWORD /d 0001d4c0 /f

I think I have all of the right switches and quotes in the right places, but I can't seem to get this to run.  If anyone can help, I would appreciate it.
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

Steve KnightConnect With a Mentor IT ConsultancyCommented:
It looks Ok to me except as this is a DWORD value you will need to put 0x before the value, i.e. try this:
REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v KeepAliveTimeout /t REG_DWORD /d 0x0001d4c0 /f


acsadamsAuthor Commented:
That was it, thanks Steve!  I figured it was something simple like this that I was missing.  Thanks a bunch for the help!

Steve KnightIT ConsultancyCommented:
No problem, was just passing the PC and gave a saw it was a quick answer.
All Courses

From novice to tech pro — start learning today.