Have a script to edit a registry value, but prompts come up ask for user to click yes. I don't want any user interactions. please help,



Answer Summary:
0 Comments   [ + ] Show Comments


Please log in to comment

Community Chosen Answer

How come you're being allowed to let scripts loose on your workstation estate and yet you do not know that REGEDIT requires the '/S' argument in order to run silently?

If this is a critical registry setting, I suggest you use a proper scripting language so that you can gauge success or failure and log the script's activity.
Answered 01/13/2015 by: VBScab
Red Belt

Please log in to comment


Make sure you are running the script as LOCAL SYSTEM and not logged-in user. I've ran scripts with the same settings you have displayed and it worked without showing any messages or prompting for user interaction.
Answered 01/12/2015 by: h2opolo25
Red Belt

  • This of course depends on whether you are trying to update HKCU (requires running as logged-in user) or HKLM (requires running as local system)
Please log in to comment
Answer this question or Comment on this question for clarity