Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Virtual PC

Vista - closing, discarding, saving, undo disks, oh my...

Reply
 
Old 07-23-2008   #1 (permalink)
michael sorens


 
 

closing, discarding, saving, undo disks, oh my...

Consider this scenario:
I run a VirtualPC that uses an undo disk, setup the session with various
windows, then close it by selecting "Save state and save changes" and
checking "commit changes to virtual hard disk". So my changes are saved on
the undo disk, the undo disk gets merged to the main disk, plus I get a saved
state file (.vsv).

Now I would like to be able to return to this exact state after each of many
subsequent runs of the VPC. But I find no closing options that will do this.
What I want is something like "turn off, discard changes, but retain the .vsv
file that was in place when I started".

So I thought of this:
(1) Save a copy of the .vsv file from above.
(2) Launch the VPC, do whatever, then close with "turn off and discard
changes". This deletes the .vsv and the .vud files.
(3) Now put the saved .vsv file back in place.

Unfortunately, the VPC console does not recognize this situation. It shows
the VPC as "not running" rather than "saved". I even tried removing the VPC
and re-adding it to the console. Any workarounds for this?


My System SpecsSystem Spec
Old 07-24-2008   #2 (permalink)
FACE


 
 

Re: closing, discarding, saving, undo disks, oh my...

On Wed, 23 Jul 2008 08:46:15 -0700, in microsoft.public.virtualpc,
michael sorens <m_j_sorens@xxxxxx>, wrote
Quote:

>Consider this scenario:
>I run a VirtualPC that uses an undo disk, setup the session with various
>windows, then close it by selecting "Save state and save changes" and
>checking "commit changes to virtual hard disk". So my changes are saved on
>the undo disk, the undo disk gets merged to the main disk, plus I get a saved
>state file (.vsv).
>
>Now I would like to be able to return to this exact state after each of many
>subsequent runs of the VPC. But I find no closing options that will do this.
>What I want is something like "turn off, discard changes, but retain the .vsv
>file that was in place when I started".
>
>So I thought of this:
>(1) Save a copy of the .vsv file from above.
>(2) Launch the VPC, do whatever, then close with "turn off and discard
>changes". This deletes the .vsv and the .vud files.
>(3) Now put the saved .vsv file back in place.
>
>Unfortunately, the VPC console does not recognize this situation. It shows
>the VPC as "not running" rather than "saved". I even tried removing the VPC
>and re-adding it to the console. Any workarounds for this?
It appears that you are looking for a 'repeatable resume' feature. There
may be more there now than you think and possibly all that you need.
Check out http://ts2blogs.com/blogs/donroe/arc...12/19/513.aspx and
see if that is useful.

If not, or you want to bypass that, AND you are not averse to batch files,
it can be done with a batch file -- what i call a 'file shuffle' -- that
is, removing one set of files and shuffling a set of 'template' files in
for use from a hold area.

FACE

My System SpecsSystem Spec
Old 07-24-2008   #3 (permalink)
michael sorens


 
 

Re: closing, discarding, saving, undo disks, oh my...

The pointer to the "repeatable resume" you provided is just what I needed.
From reading that, I see I was on the right track, but I should have saved
the .vmc and the .vsv instead of just the .vsv.
Out of curiousity I compared the saved .vmc file with that left after
"discarding changes" and I see that the saved .vmc has the critical xml
element indicating that the state is saved.

Thanks!
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Windows Mail keeps closing because DEP is closing for security Vista mail
Undo Disks performance hit or boost ? Virtual PC
VMs, defragmentation and undo disks Virtual PC
undo Vista file management
Redirection and discarding of error objects PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46