Skip to content

WDS + Recovery Solution

Featured Replies

Hello all,

 

I created a windows Vista Hard Disk Recovery solution. LINK

 

I got that to work but now i would like to use WDS to deploy the final recovery.

But here is where i go wrong.

The deployment is of 3 .wim images and i do not see an option to do it.

 

The script to deploy the image using a VISTA OPK CD is as follows :

 

@echo off
set DISKPART_SCRIPT=x:\DiskPart_script.txt
echo sel disk 0 > %DISKPART_SCRIPT%
echo clean >> %DISKPART_SCRIPT%
echo create partition primary size=5120 >> %DISKPART_SCRIPT%
echo format fs=ntfs label="RECOVERY" quick >> %DISKPART_SCRIPT%
echo assign letter=R >> %DISKPART_SCRIPT%
echo create partition primary >> %DISKPART_SCRIPT%
echo active >> %DISKPART_SCRIPT%
echo format fs=ntfs label="Vista" quick >> %DISKPART_SCRIPT%
echo assign letter=S >> %DISKPART_SCRIPT%

diskpart /s %DISKPART_SCRIPT%

imagex /apply VistaAudit.wim 1 s: /verify
imagex /apply WindowsRE.wim 1 R: /verify
imagex /apply recovery.wim 1 r: /verify
ren r:\recovery.txt *.wim

 

So my question is if this can be done automaticly.

 

Thank you in advance.

  • Author
hi, first of all can you tell me why you ended up with 3 WIM images ? are they all part of one master image or 3 separate images ?

 

The 3 Wim images are part of the recovery.

 

VistaAudit.wim --> contains the temporary C drive to finalize OOBE to active the recovery files

WindowsRE.wim --> Contains the recovery boot

recovery.wim --> CONTAINS THE recovery image (in as a .txt) that needs to be renamed at the end as can been seen at the end of the batch file

 

Since both are microsoft solutions i was hoping to connect them together so its an automated job when installing new pc's

or creating an image of the total HDD (not just C or D) like for example ghost

 

 

Thanks in advance.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.