Remove registry DWord in HKCU
I need to remove the DWORD registry from the HKCU. I found the following script through other forums. When manually I run the batch script, it removes the registries, but through the deployment tool radia it does not.
here is the batch script
echo REGEDIT4> %TEMP%.\T1.DAT
echo [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]>> %TEMP%.\T1.DAT
echo "Receive Timeout"=->> %TEMP%.\T1.DAT
REGEDIT /S %TEMP%.\T1.DAT
And the command line to run this in radia is
hide.exe cmd.exe /q /c C:\location\PreInstall.cmd
Please guide me , if i need to do any changes, or how I can get this working
Thanks in advance
REG DELETE HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings /v "Receive Timeout" /f
Community Chosen Answer
How many keys are you deleting? Why not use REG DELETE?
REG DELETE KeyName [/v ValueName | /ve | /va] [/f]