VSS in WinPE 3.0

LiveCDs created with the WAIK, make_pe3 or similar tools

Moderators: continuum, joakim, JFX

VSS in WinPE 3.0

Postby JFX » Mon May 09, 2011 3:47 pm

I always thought VSS can not work in PE mode, but then found joakim's post about VSS in Moa (Win2003 PE).

It's not really different to add it in PE3.0.

Let's use a MakePE3 build

- make sure you have all following files (+ .mui) in your WinPE system32 folder

Code: Select all
es.dll
eventcls.dll
swprv.dll
vssadmin.exe
vss_ps.dll
vssapi.dll
vsstrace.dll
VSSVC.exe
xolehlp.dll


If you use an x64 PE add the respected x86 version in the syswow64 folder.

Now to simplify all, let's alter all UNICODE occurs of MININT and SystemSetupInProgress (to MININX and SystemSetupInProgrest) inside next 3 files:

Code: Select all
vssadmin.exe
vssapi.dll
VSSVC.exe


The good thing, we have in MakePE3 already the whole classes key of a full Windows7, so only left is the EventSystem service :D

load Winpe system and software hive, and apply this reg file

that's all :)

BTW: Some programs may not start the services automatically, so in case you get an error start them manually

Code: Select all
net start eventsystem
net start swprv
net start vss

Also keep in mind VSS needs at least 1 NTFS partiton, the one from boot.sdi does not count.

Image
JFX
 
Posts: 17
Joined: Thu Oct 14, 2010 5:58 pm

Re: VSS in WinPE 3.0

Postby joakim » Mon May 09, 2011 7:21 pm

So MS actually made an effort in preventing the service to run i PE-mode.. Nice find (I never really struck me that this could be the issue).

As I do not currently have the time to test this, is it verified that the service runs correctly? Have you tried working on shadow copies, or issued "vssadmin list writers"?
joakim
 
Posts: 25
Joined: Wed Sep 29, 2010 7:12 am
Location: Bergen in Norway

Re: VSS in WinPE 3.0

Postby JFX » Mon May 09, 2011 7:42 pm

Yes, the service is working.

So far I tried Paragon Drive Backup with VSS option and Disk2VHD, both working. Also vssadmin show no error.

Image
JFX
 
Posts: 17
Joined: Thu Oct 14, 2010 5:58 pm

Re: VSS in WinPE 3.0

Postby vvurat » Thu Jun 23, 2011 7:15 pm

Nice find and good work. I can not wait to check it. ;)

http://i760.photobucket.com/albums/xx243/liliactr/vss.jpg

I think this means it work? I haven't need any to use it.
vvurat
 
Posts: 8
Joined: Wed Sep 29, 2010 2:44 pm

Re: VSS in WinPE 3.0

Postby JFX » Thu Jul 07, 2011 8:18 pm

he he,
my turkish isn't very good, but yeah if in show State[1] stable it's good sign ;)

Really be sure, you can only after successfully snapshotting a volume, for example with that very picky disk2vhd tool.

I agree that there is no much use in WinPE, but sadly same developers let their app's require VSS, even if it would not be necessary :(

Image
JFX
 
Posts: 17
Joined: Thu Oct 14, 2010 5:58 pm

Re: VSS in WinPE 3.0

Postby vvurat » Fri Jul 08, 2011 1:23 am

there is no "system writer" in the list. is it important or usefull or possible?
vvurat
 
Posts: 8
Joined: Wed Sep 29, 2010 2:44 pm


Return to WinPE

Who is online

Users browsing this forum: No registered users and 0 guests