none
Invoke batch script to stop the service before shutdown/restart RRS feed

  • Question

  • Hi,

    I am looking for the solution to gracefully shutdown one of the existing service/process before the windows shutdown event being triggered.

    The issue is whenever i call the batch file(which invokes the shutdown of the VirtualBoxManager.exe) during shutdown event, it kills the process and this results the state of the VM will become Abort.

    However we would like to shutdown the running process (and it will take upto 10-30 seconds) before actually invoke the windows shutdown.

    is there way to execute the script (to perform graceful shutdown of VM) and delay the windows shutdown event for a while and invoke the window shutdown next.

    Kindly advise.

    Thanks & Regards

    Saravanan

    • Moved by Bill_Stewart Wednesday, September 4, 2019 9:29 PM Duplicate
    Thursday, April 25, 2019 7:27 AM