My Windows XP virtual machine froze during restart


  1. Posts : 2
    Windows 7 Ultimate 64-bit
       #1

    My Windows XP virtual machine froze during restart


    I have been using Windows XP mode for quite some time now, but i have never encountered a problem like this before.

    Last night when I rebooted my virtual machine I also accidentally closed the VM window at the same time. This sent the virtual machine into hibernation while it was still restarting.

    When I turned it back on, I saw the message "Please wait... Saving your settings". I waited for about 10 minutes, and when still nothing happened I tried to reboot the machine myself with the Action|Restart command in the Virtual PC shell.

    The restart command then invoked the logical response "The virtual machine is restarting. Please wait for the operation to complete".

    I had an idea, and I tried disabling Integration features. After that I actually came upon the Log On window! But, after entering the password I got the "Logon connect Failed" message (see attached image), and again nothing happened.

    I think it would be fairly easy to solve this problem if I had an option to shut down or hard reset the virtual machine. But, AFAIK, that option is not available.

    Does any of you kind people out there have a suggestion for me?

    Thank you very much!

    P.S. I apologise in advance for my English, it is not my native language, I hope you can understand anything from my incoherent writing
    Attached Thumbnails Attached Thumbnails My Windows XP virtual machine froze during restart-fail.png   My Windows XP virtual machine froze during restart-fail1.png   My Windows XP virtual machine froze during restart-fail2.png  
      My Computer


  2. Posts : 159
    Windows Vista Business / Windows 7 Ultimate
       #2

    My first though would be to mount the XP VHD in disk management and delete the hiberfil file.
      My Computer


  3. Posts : 2
    Windows 7 Ultimate 64-bit
    Thread Starter
       #3

    Hi Jordus, thank you for your suggestion, howeve there was no hiberfil.sys file in the mounted image, it might be because Windows 7 takes care of the hibernation.

    However, i did manage to solve the problem by altering Virtual Machine settings. I changed the setting what happens when I click the Close button and I changed it from hibernation to Shut Down. I shut down the machine, and when I turned it back on it started to work! An extremely easy solution, sorry for wasting your time, but maybe it will help someone else.
      My Computer


  4. Posts : 1
    Windows 7
       #4

    alternate fix


    I had the same problem. When I followed what was suggested in the final post I got the black screen of death (BSOD). Then I changed my "Close" action to "Turn Off" rather than "Shutdown." This apparently forced the virtual machine to shut down. When I turned the virtual machine on again it worked.
      My Computer


  5. Posts : 1
    Windows 7 and Windows XP
       #5

    metalurg said:
    Hi Jordus, thank you for your suggestion, howeve there was no hiberfil.sys file in the mounted image, it might be because Windows 7 takes care of the hibernation.

    However, i did manage to solve the problem by altering Virtual Machine settings. I changed the setting what happens when I click the Close button and I changed it from hibernation to Shut Down. I shut down the machine, and when I turned it back on it started to work! An extremely easy solution, sorry for wasting your time, but maybe it will help someone else.

    As a matter of fact, it helped me. I had exactly the same problem, and your trick solved it. Thank you.
      My Computer


  6. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #6

       Information
    Did first not notice how old thread this was when posting, however decided not to delete the post, it might help other users. And, of course, post count is post count .

    metalurg said:
    Hi Jordus, thank you for your suggestion, howeve there was no hiberfil.sys file in the mounted image, it might be because Windows 7 takes care of the hibernation.

    However, i did manage to solve the problem by altering Virtual Machine settings. I changed the setting what happens when I click the Close button and I changed it from hibernation to Shut Down. I shut down the machine, and when I turned it back on it started to work! An extremely easy solution, sorry for wasting your time, but maybe it will help someone else.
    All Virtual PC virtual machines, including XP Mode, have hibernation data saved in file <VIRTUAL_MACHINE_NAME>.vsv which is located by default in C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines.

    So for example to manually delete XP Mode's hibernation data and force it to reboot you need to delete file C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines\Windows XP Mode.vsv.

    (File extension vsv = Virtual SaVed state file, equivalent of hiberfile.sys in physical computers.)


    Kari
      My Computer


  7. Posts : 2
    Windows 7 Pro 64-bit
       #7

    Hi, know this thread is quite old but encountered a similar problem recently. Also in my case, the VM had hibernated and wouldn't come back on again. Solved by deleting the file "Windows XP Mode.vsv", the virtual machine's saved state, and it started fine.

    Thanks Kari!
      My Computer


  8. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #8

    Hi Sparhawk, welcome to the Seven Forums.

    Nice to know you got it working :)
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 06:45.
Find Us