Close Menu
    What's Hot

    Fix Apple Intelligence Not Working in a macOS VM (VMware/UTM) on Windows 11/10 Host

    January 6, 2026

    Top Hamachi Alternatives for Virtual LAN Gaming in 2026

    January 1, 2026

    250+ Funny Facebook Status/Quotes/Posts in 2026 – Free AI Creator

    December 29, 2025
    Facebook X (Twitter) YouTube LinkedIn
    Facebook X (Twitter) YouTube LinkedIn
    SysprobsSysprobs
    • Tech Guides
      • Windows
        • Windows 11
        • Windows 10
        • Windows Servers
      • Virtualization
        • VirtualBox
        • VMware
        • Hyper-V
        • Server Virtualization
        • VirtualBox Images
      • PC
        • Linux
        • macOS
        • Hackintosh
        • MS Office
      • Pro IT Tips
        • Internet
        • MS Exchange
        • Fintech
    • Reviews
      • Gadgets
        • Android
        • iPhone
    • Security & Privacy
      • IT Security
    • Trading Gear
      • Laptops
    SysprobsSysprobs
    Home»Virtualization»VirtualBox»[Solved] The VM Session was Closed Before Any Attempt to Power it on

    [Solved] The VM Session was Closed Before Any Attempt to Power it on

    DineshBy DineshUpdated:May 15, 2022
    Share
    Facebook Twitter LinkedIn Pinterest Email

    For some reason, if the Oracle VirtualBox is giving the below error while powering on a virtual machine, this simple trick will be useful. You may get an error saying “The VM session was closed before any attempt to power it on“, and closes by itself while switching on a particular VM.

    Here is the solution that worked for me to overcome this issue.

    I tried the following methods but did not work.

    1) Tried several snapshots to restore back the VM to an earlier state. But it gave me the same error.

    2) Restarted the host computer.

    3) Stopped all VirtualBox services and restarted. It is almost identical to restarting the physical computer, but I tried that too.

    So, here is the working solution.

    If you get the ‘the VM session was closed before any attempt to power it on’ message and the Virtual Machine doesn’t start, don’t panic. Just take a snapshot of the virtual machine to protect the current state. Then, follow the steps.

    The Working Method for VirtualBox Error

    Go to the Storage option of VM; remove hard disks and CD drives.

    Remove Storage
    • Once all storage is removed, it will have no attached storage. Start the Virtual machine now. You will see the Oracle VirtualBox screen with boot medium error because there is no bootable CD or hard disk attached.
    • Shut down VM now and add the correct storage disks as it was earlier.
    • Now switch on the virtual machine, which will start normally.

    Other Possible Cause

    Also, the possible corruption or broken saved state of the VM could cause this issue. You might have closed the VirtualBox software while the VM is working without properly shutting down it or you saved the VM while the guest OS was doing some busy tasks. After that, when you try to start the same VM, you may get a similar error.

    In this case, discard the ‘Saved State” and start the Virtual Machine.

    Discard State - vm session was closed before

    VirtualBox may come up with some fixes for this issue. But, I can confirm this method worked for me.

    VirtualBox
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Dinesh
    • Website

    Dinesh is the founder of Sysprobs and written more than 400 articles. Enthusiast in Microsoft and cloud technologies with more than 15 years of IT experience.

    Related Posts

    How to Open and Use VHDX in VirtualBox

    February 29, 2024

    Best Free Virtual Machine Software in 2024 – Start Your New Career

    January 15, 2024

    Building a Virtual Lab: Hands-On Learning for System Administrators

    July 20, 2023

    How to Install TrueNAS in VirtualBox – Windows 11 Host

    March 11, 2023

    How to Install VM OS on iSCSI Disks in VirtualBox

    September 3, 2022

    Install Android on VirtualBox with VDI Pre-Installed Disk – Windows 10/11 Host

    August 18, 2022

    31 Comments

    1. Benjy on June 21, 2010 9:59 am

      Hi, Thanks for this. It fixed the issue
      cheers,
      benjy

    2. Maxi on June 27, 2010 5:44 am

      Hi,

      thanks, it worked for me too.

      • Dinesh on June 30, 2010 7:21 am

        @Maxi,
        Thanks for informing.

    3. Rick on July 25, 2010 2:43 pm

      Thanks so much, worked for me in a time of need!

    4. Syx on July 28, 2010 4:58 pm

      Solved my problem – thank you!

    5. Aia on August 16, 2010 2:40 pm

      Thank you! Your suggestion also fixed the same error on my 3.2.8 VirtualBox.

      • Dinesh on August 17, 2010 10:05 am

        @Aia, it means 3.2.8 also having same issue? very sad.
        Anyhow, Thanks for your comment.

    6. Nick on August 22, 2010 9:23 am

      Had the same error after upgrading. CD was still pointing to the Virtual Box Guest Additions CD (from the previous version). I changed it to empty and it booted. So little bit faster than removing and re-adding all the drives – maybe it will work for you!

    7. Hugo on September 12, 2010 4:21 pm

      Works for me 🙂
      Thanks!
      (VBox 3.2)

    8. Jester on September 22, 2010 12:15 pm

      Had the same problem and followed what Nick suggested regarding the CD pointing to the additions. Fixed my issue.

      • Dinesh on September 25, 2010 9:39 am

        @Jester,
        Thanks for confirming this method too.

    9. Guillaume B on October 5, 2010 8:05 am

      Just got the same error after installing the VmServiceControl.
      I got it working again with :

      VmServiceControl.exe -k

      That kills the process.

      • Dinesh on October 6, 2010 4:24 am

        @Guillaume B,
        Thanks for one more fix.

    10. Chad on October 10, 2010 11:09 pm

      Thanks so much. This fixed for me!

    11. Marcel on October 27, 2010 6:21 pm

      This blogpost saved my ass. thanks!

    12. Sumit on October 30, 2010 12:27 pm

      Close virtual box; go to the directory where virtualbox is installed

      Run: VBoxManage discardstate

      see http://www.virtualbox.org/manual/ch08.html for details

    13. Crappy on November 14, 2010 12:07 pm

      Thanks – worked for me. Starting to pull my hair out with V’Box….

      Cheers,
      Crispin

    14. Martin on November 26, 2010 3:27 am

      Hi there, I clicked change and then changed the sort order of the boot-steps and have set the HD first. Then it worked as well.

    15. Marçal on December 3, 2010 4:28 am

      Thanks!

    16. LeonT on December 14, 2010 7:12 pm

      Fixed the issue for me. Cheers!

    17. Tired of always getting unsolvable problems while it works for everyone else on December 23, 2010 12:10 pm

      It did not fix ANYTHING!!!!! I removed ALL storage devices in the VM, tried to boot, and I got the message again. The only workaround is to create a NEW VM and reinstall everything! What is the point of giving false information? This is getting me extremely MAD! I cannot rely on anything on the Internet, because EVERYTHING is FALSE and OUTDATED!!!! Before I got stuck with this, the VM was extremely slow. I took ages just to install something in the virtual Ubuntu, which was periodically hanging. I know that Ubuntu itself is a possible cause for the problem, but now, that is VirtualBox that refuses to start the VM with my Ubuntu, so I would have to restart the installation again. It’s been almost TWO HOURS I am trying to install the Ubuntu guest, and now I would have to start again.
      What can I do to install a virtual machine if VirtualBox does NOT work at ALL?

      • Crispin on December 27, 2010 12:44 pm

        /Rant

    18. oskam on December 27, 2010 5:36 am

      thanx!
      you saved my life! 🙂

    19. Clementtang on December 28, 2010 3:23 am

      Mine fixed too, strange issue.

    20. ray on December 28, 2010 2:45 am

      Hi, I encountered the same error. I tried the solution but the error still comes up.
      Just rebooting the host PC, starting VB solved the problem…

    21. andrea on January 19, 2011 6:55 pm

      Thanks a lot, you saved me!

    22. dilla on January 30, 2011 11:34 am

      thanks, it worked!

    23. Marcell on January 31, 2011 4:15 am

      It worked. Thanks!

    24. Mike Blyth on March 7, 2011 9:52 am

      Thanks for the tip. What worked for me and is worth trying first, if you have a saved machine state, is just discarding it — Machine – Discard.

    25. agnello on March 9, 2011 11:50 am

      amazing post dude !!!:)

    Newer Comments →
    Top Posts

    Network Stack BIOS – What is it, and Should I enable it?

    December 15, 2025

    250+ Funny Facebook Status/Quotes/Posts in 2026 – Free AI Creator

    December 29, 2025

    How to Install and Use Outlook for Ubuntu 24.04 LTS/24.10

    December 10, 2025
    Don't Miss

    Fix Apple Intelligence Not Working in a macOS VM (VMware/UTM) on Windows 11/10 Host

    January 6, 2026

    Apple Intelligence not showing up (or refusing to enable) inside a macOS VM is usually…

    Top Hamachi Alternatives for Virtual LAN Gaming in 2026

    January 1, 2026

    250+ Funny Facebook Status/Quotes/Posts in 2026 – Free AI Creator

    December 29, 2025

    Context Engineering vs Prompt Engineering: The Battle You Didn’t Know Was Happening

    December 29, 2025
    Stay In Touch
    • Facebook
    • YouTube
    • Twitter
    • LinkedIn
    Latest Posts

    Fix Apple Intelligence Not Working in a macOS VM (VMware/UTM) on Windows 11/10 Host

    January 6, 2026

    Top Hamachi Alternatives for Virtual LAN Gaming in 2026

    January 1, 2026

    250+ Funny Facebook Status/Quotes/Posts in 2026 – Free AI Creator

    December 29, 2025
    INFORMATION
    • About
    • Contact Us
    • Privacy Policy
    ABOUT

    Established in 2007, Sysprobs is a trusted resource for IT professionals and System Administrators. We bridge the gap between enterprise infrastructure and the future of fintech security. From Windows virtualization to Blockchain node management, we provide technical guides for the modern digital economy.

    POPULAR SECTION

    WINDOWS 11
    WINDOWS 10
    VIRTUALIZATION
    IT SECURITY
    PRO IT TIPS

     

    Sysprobs
    Facebook X (Twitter) YouTube LinkedIn
    • Home
    • Windows
    • Cloud
    • Security & Privacy
    © 2026 SYSPROBS: System Security & Fintech Solutions. Protected by Cloudflare.

    Type above and press Enter to search. Press Esc to cancel.