Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: My Windows XP virtual machine froze during restart

21 Oct 2009   #1
metalurg

Windows 7 Ultimate 64-bit
 
 
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
-fail.png  
Attached Images
  
My System SpecsSystem Spec
.
21 Oct 2009   #2
Jordus

Windows Vista Business / Windows 7 Ultimate
 
 

My first though would be to mount the XP VHD in disk management and delete the hiberfil file.
My System SpecsSystem Spec
22 Oct 2009   #3
metalurg

Windows 7 Ultimate 64-bit
 
 

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 System SpecsSystem Spec
.

04 Nov 2009   #4
kshearl

Windows 7
 
 
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 System SpecsSystem Spec
15 Oct 2011   #5
SomebodySmart

Windows 7 and Windows XP
 
 

Quote   Quote: Originally Posted by metalurg View Post
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 System SpecsSystem Spec
16 Oct 2011   #6
Kari

Microsoft Community Contributor Award Recipient

 

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

Quote   Quote: Originally Posted by metalurg View Post
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 System SpecsSystem Spec
26 Jul 2012   #7
Sparhawk

Windows 7 Pro 64-bit
 
 

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 System SpecsSystem Spec
26 Jul 2012   #8
Kari

Microsoft Community Contributor Award Recipient

 

Hi Sparhawk, welcome to the Seven Forums.

Nice to know you got it working
My System SpecsSystem Spec
Reply

 My Windows XP virtual machine froze during restart




Thread Tools




Similar help and support threads
Thread Forum
Windows Virtual PC - Create Virtual Machine
How to Create a Virtual Machine in Windows Virtual PC This will show you how to create a new virtual machine in Windows Virtual PC, and install the 32-bit guest operating system that you want to run in the virtual machine on your 32-bit or 64-bit Windows 7 as the host. Windows Virtual PC is...
Tutorials
How to Create a Win95 Virtual Machine in Windows Virtual PC
Hi, first post here. I have Win XP mode running in Win virtual pc on my Win 7 Pro tower. I have been given an original and unopened Win95 pack containing a Win95 v4.0.950B Nov96 CD with USB support and an IE4 CD. I think I understand from Brinks "How to create a virtual machine in windows virtual...
Virtualization
Windows Virtual PC - Connect Virtual Machine to Network
How to Connect Windows Virtual PC to the Network This will show you how to connect Windows Virtual PC to your network so that your created virtual machine or XP Mode will be able to access the internet. For more information, see: Networking in Windows Virtual PC - Windows Virtual PC -...
Tutorials
Windows Virtual PC - Delete a Virtual Machine
How to Delete a Virtual Machine Created with Windows Virtual PC This will show how to delete or uninstall a Virtual Machine created with Windows Virtual PC.This will delete the .vmcx (Virtual Machine settings) and .vhd (Virtual Hard Drive) files to completely remove the virtual machine and...
Tutorials
Windows Virtual PC - Boot from a CD in Virtual Machine
How to Boot from a CD or DVD in a Windows Virtual PC This will show you how to boot from a CD or DVD in an existing virtual machine, including XP Mode, created in Windows Virtual PC.In a virtual machine you will need to use a ISO of the bootable CD/DVD to boot from instead. If you do not have...
Tutorials
Windows Virtual PC - Change Virtual Machine Settings
How to Change Virtual Machine Settings in Windows Virtual PC This will show you how to change a Windows Virtual PC virtual machine's settings in Windows 7. To create a virtual machine or install Windows XP Mode, you will need to download and install the 32-bit (x86) or 64-bit (x64) version of...
Tutorials


Our Sites

Site Links

About Us

Find 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 21:03.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App