Asked — Edited

Removing The Prompt Everytime I Close ARC

I have an ebbed computer running Windows 8, that has to shut down gracefully when the power is switched off.

I have a script written but ARC won't allow a shutdown unless you click " No " . Which is a problem with no keyboard, monitor etc.

Tried to Google it but am having no luck.



Upgrade to ARC Pro

Subscribe to ARC Pro, and your robot will become a canvas for your imagination, limited only by your creativity.


You could try using autohotkey to have a script which presses the no button, but I have had limited success using it on Windows 8.1 (works great on my Windows 7 machine).

There are probably other solutions.

Of course the trick is having Windows not shut down whatever you are using to generate the key press before it shuts down ARC.

I am not aware of a way to disable the dialog in ARC.

Have you thought about just having the computer sleep instead of shut down?



Thanks Alan, hibernation mode works but I need the computer to power down. Apparently you can use the " Local Group Policy Editor to turn off automatic termination of applications that block or cancel shutdown policy settings " , but for the life of me I can't seem to find it on my computer.


Can't find Local Group Policy Editor. or the setting in it.

Group Policy Editor can be fond by opening a command prompt (probably want to do as admin) and typing gpedit [enter]



Thanks guys I figured it out, just had to split the instructions on separate lines. Force ARC to close and then shutdown.

os.system("shutdown.exe /f") os.system("shutdown.exe /p")