Windows 10: How to gracefully shutdown virtualbox.exe before windows shutdown?

Discus and support How to gracefully shutdown virtualbox.exe before windows shutdown? in Windows 10 Performance & Maintenance to solve the problem; Hi, I am looking for the solution to gracefully shutdown one of the existing service/process before the windows shutdown event being triggered. T he... Discussion in 'Windows 10 Performance & Maintenance' started by Saravanan Ramaraj, Apr 24, 2019.

  1. How to gracefully shutdown virtualbox.exe before windows shutdown?


    Hi,


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

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

    We are able to acheive the auto-startup using Startup event, however we cannot get this done gracefully through shutdown event.

    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

    Saran

    :)
     
    Saravanan Ramaraj, Apr 24, 2019
    #1
  2. R-T-B Win User

    PC is Suffering Unexpected Shutdowns

    Most important detail to me would be whether these shutdowns are sudden, in which case it's likely a short or PSU issue (capacitor aging maybe?) or graceful windows style shutdowns, which suggests software interference.

    It could also be overheating components if it's a sudden shutdown. What are your thermals like?
     
    R-T-B, Apr 24, 2019
    #2
  3. PuB_Evo Win User
    Sun VirtualBox

    Been there and done that. Followed through enabling the 3D acceleration and as told i hit the "Install Guest Addition" to install the drivers in the guest operating system, after that i was told to reboot the VirtualBox and came to the blue windows XP shutdown screen... It was on that screen for more then 30mins and so i force a shutdown on the original Win7 OS to et rid of the VirtualBox OS shutdown screen. Rebooted and tested VirtualBox with the game and got the same error message as shown in my first post.

    EDIT: Gone through all the steps till i came to rebooting the VirtualBox OS. After the system coming up normally, i checked if the 3D acceleration is enabled by running dxdiag. Here is what i get...


    How to gracefully shutdown virtualbox.exe before windows shutdown? DirectX.jpg


    Need advise to fix 3D acceleration so i can go on. Thank you so much!
     
    PuB_Evo, Apr 24, 2019
    #3
  4. Weer Win User

    How to gracefully shutdown virtualbox.exe before windows shutdown?

    Reminder: Microsoft Windows 7 Beta Automatic Two-Hour Shutdowns Begin Today

    Does that work?
     
Thema:

How to gracefully shutdown virtualbox.exe before windows shutdown?

Loading...
  1. How to gracefully shutdown virtualbox.exe before windows shutdown? - Similar Threads - gracefully shutdown virtualbox

  2. Windows 11 in a VirtualBox VM disables sign-in due to repeated shutdowns

    in Windows 10 Gaming
    Windows 11 in a VirtualBox VM disables sign-in due to repeated shutdowns: I have multiple VBox Windows 11 VMs that I've been using for many months. Within the last month after a Windows update? all VMs have been displaying the 'Sign-in Option is disabled' notice which has been reported for 2+ yrs.The overwhelming majority of proposed remedies are...
  3. Windows 11 in a VirtualBox VM disables sign-in due to repeated shutdowns

    in Windows 10 Software and Apps
    Windows 11 in a VirtualBox VM disables sign-in due to repeated shutdowns: I have multiple VBox Windows 11 VMs that I've been using for many months. Within the last month after a Windows update? all VMs have been displaying the 'Sign-in Option is disabled' notice which has been reported for 2+ yrs.The overwhelming majority of proposed remedies are...
  4. We are getting the prompt before shutdown and the prompt

    in Windows 10 Gaming
    We are getting the prompt before shutdown and the prompt: We are getting the prompt before shutdown and the prompt says that "if you shutdown now you and other people using this PC could lose unsaved work" despite we don't have any other user logged in to the device. kindly help if this prompt is just a standard notification or not....
  5. We are getting the prompt before shutdown and the prompt

    in Windows 10 Software and Apps
    We are getting the prompt before shutdown and the prompt: We are getting the prompt before shutdown and the prompt says that "if you shutdown now you and other people using this PC could lose unsaved work" despite we don't have any other user logged in to the device. kindly help if this prompt is just a standard notification or not....
  6. Shutdown not really shutdown

    in Windows 10 Ask Insider
    Shutdown not really shutdown: After years of useing windows shutdown Dose not shutdown the machine however it do like sleep option without sleep lol, fastboot killing my hdd drive and i got startup and shutdown issus becouse of it whatever know that it would really shutdown when u turn fastboot option off...
  7. Unamed exe preventing shutdown sometimes 2, Windows 10

    in Windows 10 Software and Apps
    Unamed exe preventing shutdown sometimes 2, Windows 10: When I shut down my Windows 10 pc I am greeted by a familiar screen saying "An app is preventing you shutting down". The details shows what looks to be the exe icon followed by no name. This has been happening very regularly and I do not know why. I have done many sfc scans...
  8. Unamed exe preventing shutdown sometimes 2, Windows 10

    in Windows 10 Performance & Maintenance
    Unamed exe preventing shutdown sometimes 2, Windows 10: When I shut down my Windows 10 pc I am greeted by a familiar screen saying "An app is preventing you shutting down". The details shows what looks to be the exe icon followed by no name. This has been happening very regularly and I do not know why. I have done many sfc scans...
  9. Unamed exe preventing shutdown sometimes 2, Windows 10

    in Windows 10 Gaming
    Unamed exe preventing shutdown sometimes 2, Windows 10: When I shut down my Windows 10 pc I am greeted by a familiar screen saying "An app is preventing you shutting down". The details shows what looks to be the exe icon followed by no name. This has been happening very regularly and I do not know why. I have done many sfc scans...
  10. Windows 10 Reminder Before Shutdown

    in Windows 10 Ask Insider
    Windows 10 Reminder Before Shutdown: I have a pretty awesome sound system that I use with my computer. However, it goes via mains and is turned on manually when one needs to use it. The manufacturer recommends turning it off when not in use and I often forget about it, and leave it on for a whole day or more. I...

Users found this page by searching for:

  1. virtualbox execute script after shutdown virtual machuine

    ,
  2. how to shut down virtualbox

    ,
  3. force virtual box vm to shut down gracefully when closing window

    ,
  4. virtual box host graceful shutdown,
  5. batch file shutdown virtual box,
  6. windows script to gracefully shutdown virtualbox vm