Canada
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.

Thanks


ARC Pro

Upgrade to ARC Pro

Join the ARC Pro community and gain access to a wealth of resources and support, ensuring your robot's success.

#1  

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?

Alan

#2  

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.

#3  

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]

Alan

#5  

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")

PRO
Synthiam
#6  

See: https://synthiam.com/Community/Questions/7958