Jump to content


  • 0
Jotronics

WDS + Recovery Solution

Question

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.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

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 ?

Share this post


Link to post
Share on other sites

  • 0
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.

Share this post


Link to post
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.