Modify the registry without prompts – suitable for use with batch files. Run with elevated privileges.
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\etc\etc /v Valuename /t REG_SZ /d valuedata /f
/v Value : The value name eg ProgId
/t DataType : REG_SZ (default) | REG_DWORD | REG_EXPAND_SZ | REG_MULTI_SZ
/d Data : The actual data to store as a “String”, integer etc
/f Force: Force an update without prompting “Value exists, overwrite Y/N”