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: VSV - corruption

20 Jun 2014   #1
dreamweaver

Windows 7 32 bit
 
 
VSV - corruption

Hi all,

I think I have gotten myself into a predicament and I am hopeful someone can come to my rescue..:-)

Before my PC crashed I created several Virtual PC's and associated VSV files for their saved state. In those states I had a number of applications open and configured but not saved..I left the applications open.. I left these Virtual environments in a hibernated state so that when I returned back to these environments it would be exactly the same as I had left it with those applications still open and with the configuration details intact...


I did make a copy of the VSV , VHD, VMC, VMCX and VMC-VPCBACKUP files from my USERS\..\Virtual directory.


I can access the Hard Drives if I mount them but that is not my prime concern, I would like to have my Virtual environments come out of a hibernated state and I can work on what I was doing as exactly how I left it.

I keep getting an error message :

"Cannot start the virtual machine; The hibernated state for this machine is corrupted. You can discard the hibernated state and start the virtual machine. You will lose any unsaved data.."

I think the outcomes above given to me is not what I want. I do not want to discard the hibernated state and lose any unsaved data..

I have put a lot development time into the applications within these environments and I desperately need to regain access to the point where I left this development work. It took me months....

I really look forward in getting help and this despair..


Chris


My System SpecsSystem Spec
.
21 Jun 2014   #2
Kari

Microsoft Community Contributor Award Recipient

 

Hi Dreamweaver, welcome to the Seven Forums.

This is going to be one of those posts that needs to be started with "Please do not shoot the messenger" .

I am afraid there's not much you can do. A corrupted VSV file is pretty much impossible to repair, the only way to get a Virtual PC vm to work when this happens is to delete the VSV file which forces the vm to do a clean boot. I fought and lost the battle with an XP Mode vsv file just a few weeks ago when I was stupid enough to first hibernate XP Mode and immediately thereafter shutdown the host, before the XP Mode had managed to save the VSV. Googling around only told me there was nothing I could do.

Your post does not make it clear what you have done after the crash. If you still have the crashed Windows installation with all your virtual machines intact, you could try to repair install it which is as an in-place upgrade install using the same Windows version and edition. This keeps all your settings, programs and files and might fix the issue why your computer crashed, allowing you at least access your virtual machines and shutdown them properly.

Repair Install

Kari
My System SpecsSystem Spec
21 Jun 2014   #3
andrew129260

Windows 10 Pro
 
 

Now this is a stretch as I use vmware player:

But whenever I have a problem with a virtual machine I messed up, or had to much fun with viruses etc; I use the previous versions feature on the vm file to restore it back to a good state. You could try right clicking the folder the vm is stored in, and choose restore previous versions. Then go back a day or two and choose to restore the folder.

See if that helps.....it works in vmware player but I have no tested it with windows virtual pc. It should still work imo though.


Then again I might not even be close with this suggestion, so forgive me if I am way out there.
My System SpecsSystem Spec
.

21 Jun 2014   #4
Kari

Microsoft Community Contributor Award Recipient

 

Quote   Quote: Originally Posted by andrew129260 View Post
Now this is a stretch as I use vmware player:

But whenever I have a problem with a virtual machine I messed up, or had to much fun with viruses etc; I use the previous versions feature on the vm file to restore it back to a good state. You could try right clicking the folder the vm is stored in, and choose restore previous versions. Then go back a day or two and choose to restore the folder.

See if that helps.....it works in vmware player but I have no tested it with windows virtual pc. It should still work imo though.


Then again I might not even be close with this suggestion, so forgive me if I am way out there.
The vsv file on a Virtual PC vm is like the hiberfil.sys file on a physical Windows machine, it contains the data needed by the machine to wake up from hibernation.

In OP's case this hibernation data contained by the specific vsv file cannot be read because the file is corrupted. Deleting the file allows the vm to boot normally (clean, new boot instead of waking up from hibernation) because when Virtual PC does not find a vsv file it acts as if cleanly booted. Any restore actions at that point would be totally useless as the vm itself works, only the hibernation data cannot be read.
My System SpecsSystem Spec
22 Jun 2014   #5
andrew129260

Windows 10 Pro
 
 

Quote   Quote: Originally Posted by Kari View Post
Quote   Quote: Originally Posted by andrew129260 View Post
Now this is a stretch as I use vmware player:

But whenever I have a problem with a virtual machine I messed up, or had to much fun with viruses etc; I use the previous versions feature on the vm file to restore it back to a good state. You could try right clicking the folder the vm is stored in, and choose restore previous versions. Then go back a day or two and choose to restore the folder.

See if that helps.....it works in vmware player but I have no tested it with windows virtual pc. It should still work imo though.


Then again I might not even be close with this suggestion, so forgive me if I am way out there.
The vsv file on a Virtual PC vm is like the hiberfil.sys file on a physical Windows machine, it contains the data needed by the machine to wake up from hibernation.

In OP's case this hibernation data contained by the specific vsv file cannot be read because the file is corrupted. Deleting the file allows the vm to boot normally (clean, new boot instead of waking up from hibernation) because when Virtual PC does not find a vsv file it acts as if cleanly booted. Any restore actions at that point would be totally useless as the vm itself works, only the hibernation data cannot be read.
Ah ok, gotcha thanks.
My System SpecsSystem Spec
24 Jun 2014   #6
dreamweaver

Windows 7 32 bit
 
 
VSV Corruption Pt2

Hi All,

Let me start off saying thanks to all of those who replied. Great advice but not specific to solving my problem. What I would like to add is more information around the situation:

Firstly as I mentioned I created Saved States of Virtual PC's.... My Laptop sort of died but I managed to copy VMC, VMCX, VHD, VSV files to a USB key.

Secondly I copied those files to another laptop expecting to run my virtual machines out of their hibernated state. Of course that did not work as per the error messages posted in the original thread.

Thirdly what I have discovered is this:. I had managed to boot the original Laptop with the Virtual PC and XP MODE and I can access my Virtual PC's as I had left them in their hibernated state... no error messages.. all good..

Unfortunately the original laptop has Hard drive issues and I have another replacement laptop which is not the same model as the original. The original is a Lenovo and the replacement is a DELL.

So the Question is how do I enable and run my Virtual PC's out of their hibernated states as I had left them on the OLD laptop ???

I know the saved states are not corrupted as I can open them on the original Laptop but the problem of course is opening them in another laptop environment. I am sure there are some systems files that I need to copy over as well and would like to hear back from someone who might know more about how the Virtual Pc environment is configured and how I can go about opening these files normally without the error message about the saved states being corrupted.

Thanks and Regards
My System SpecsSystem Spec
24 Jun 2014   #7
Kari

Microsoft Community Contributor Award Recipient

 

When for instance exporting a Virtual PC vm to another computer, it should be shut down instead of hibernated exactly for that reason: exporting it in hibernation state usually fails. If the VSV file gives you the corrupted error message, it should be deleted and vm restarted.

Quote   Quote: Originally Posted by dreamweaver View Post
I had managed to boot the original Laptop with the Virtual PC and XP MODE and I can access my Virtual PC's as I had left them in their hibernated state... no error messages.. all good..
In that case I repeat what I said in my earlier post:
Quote   Quote: Originally Posted by Kari View Post
Your post does not make it clear what you have done after the crash. If you still have the crashed Windows installation with all your virtual machines intact, you could try to repair install it which is as an in-place upgrade install using the same Windows version and edition. This keeps all your settings, programs and files and might fix the issue why your computer crashed, allowing you at least access your virtual machines and shutdown them properly.
My System SpecsSystem Spec
26 Jun 2014   #8
dreamweaver

Windows 7 32 bit
 
 

Quote   Quote: Originally Posted by kari
when for instance exporting a virtual pc vm to another computer, it should be shut down instead of hibernated exactly for that reason: Exporting it in hibernation state usually fails. If the vsv file gives you the corrupted error message, it should be deleted and vm restarted.
Hi Kari,

I am purposely leaving the Virtual PC in a hibernated state and for some unexplained reason the application I am using will not allow settings to be saved. Therefore what I am trying to achieve is whilst I work out how to save and recall those configurations I have made in this application I need to leave the application open and exit the Virtual PC in a hibernated state and not a FULL EXIT/ shutdown otherwise I loose those configuration settings I have created for this application.

Just to recap.... The VSV file works 100 % on the old laptop... (Lenovo) no problems and no error messages... However the dilemma is when copying the "VSV, VMC, VMCX & VHD" files to the new hardware configuration laptop ( DELL) is where I experience the problem of getting an error message when trying to come out of a hibernated state of the VIRTUAL PC.

What I need to ascertain is what other "system" or configuration files I should need to copy over to the new environment to ensure that I do not encounter the "vsv corruption" error message. I know in fact that this file is not corrupted as I can access on the old laptop (Lenovo).

My objective is NOT to shutdown the VIRTUAL PC for the reasons given above and gain access to the hibernated state of that Virtual PC in the new environment ( DELL) laptop.

I hope I have made things a little clearer and look forward to your response.


Regards
My System SpecsSystem Spec
26 Jun 2014   #9
Kari

Microsoft Community Contributor Award Recipient

 

I am not able to help you to achieve what you want to. As far as I know, you cannot migrate the saved state. The new XP Mode will have different SID and so on, it will not accept a VSV file from another setup, marking it corrupt.

All XP Mode file locations if you want to check you've got everything (extract from Virtual XP Machine - Copy

information   Information
By default, XP Mode virtual machine consists of five files when installed and run first time, plus two additional files if XP Mode is hibernated or the Undo Disk feature is enabled. The file names, extensions and default locations are:
  • Windows XP Mode base.vhd
    • XP Mode base disk
    • default location C:\Program Files\Windows XP Mode
  • Windows XP Mode.vhd
    • Virtual Machine virtual hard drive image
    • default location C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines
  • Windows XP Mode.vmcx
    • Virtual Machine description and registration settings
    • default location C:\Users\Your_Username\Virtual Machines
  • Windows XP Mode.vmc
    • Virtual Machine settings file
    • default location C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines
  • Windows XP Mode.vmc.vpcbackup
    • Virtual Machine settings backup
    • default location C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines
    Additional files, only exist when certain criteria is met:
  • Windows XP Mode.vsv
    • Virtual Machine saved state file (hibernation data)
    • default location C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines
    • This file exists only when XP Mode is hibernated or is running. It is deleted automatically every time XP Mode is shut down
  • VirtualPCUndo_Windows XP Mode_X_Y_ZZZZZZZZZZZZZZ.vud
    • Virtual machine Undo-disk (X, Y & Z in the file name are replaced with digits)
    • default location C:\Users\Your_Username\AppData\Local\Microsoft\Windows Virtual PC\Virtual Machines
    • This file exists only if so called Undo Disk is enabled in XP Mode settings


Kari
My System SpecsSystem Spec
Reply

 VSV - corruption




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
sfc corruption - please help
I ran sfc /scannow and have have corruption Only completed 44% I ran sfcfix - fixed a few but still have corruption - sfc /scannow comlete at 100 % Output of sfcfix.txt is as follows: SFCFix version 2.3.0.0 by niemiro. Start time: 2014-08-16 15:59:47.006
Performance & Maintenance
Corruption
Friends, All my applications have been converted to adobe reader documents. Whenever i try to open google chrome adobe reader gets opened. Same thing happens with all other apps except windows explorer. Icons of all applications have got changed to adobe reader's icon
General Discussion
zip corruption
I am a mac user and I own a site that has downloads available for purchase. They are zip files with psd's in them. I have two windows 7 clients who can download the entire file and unzip it and everything show up except the psd files. I was wondering if anyone could shed some light as to why...
Network & Sharing
File corruption?
I have a copy of my thesis (my most recent version...not backed up of course) that I have been unable to open. The error is: The file cannot be opened because there are problems with the contents. Details: The name in the end tag of the element must match the element type in the start tag. ...
Microsoft Office
possible corruption of W7?
I am new to this forum and have a new computer and a new W7 pro 64bit When I initially turn on computer the screen displays an illustrated information title of the gigabyte mother board,, then goes to a black screen with white lettering that flashes on briefly and appears to list the components...
General Discussion
Going Nuts. HDD corruption!!
Hey everybody. I have a dell xps 435mt, read more about my rig in my profile. Ive had nonstop issues but i'll skip the sob story. I have lost over 3 terabytes of valuable information in the past few months. The first one was my two 1.5TB ecogreen samsung drives in this enclosure (ICY DOCK...
General Discussion


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 22:39.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App