SDIMGR.WSF

  • Thread starter Thread starter Keith
  • Start date Start date
K

Keith

Here's my problem.

When booted from CD on my target system in WinPE, I cannot get
"sdimgr.wsf recovery.sdi /writedisk:0 /yes" to work. WinPE prompts me
to select a program to open the file.

I have registered sdiaut.dll successfully with "regsvr32 sdiaut.dll"

I have searched the NG and cannot find another problem like this.

I have a working XP Embedded image. I am working now to create the
restore CD to transfer the image to the bootable Hard disk of the
target system.

What can I do.

Thanks,

Keith.
 
Keith,

If it is WinPE (not the sdimgr) who prompts you to open the file, did you try a command like:
"cscript //B sdimgr.wsf recovery.sdi /writedisk:0 /yes"
 
KM,

Thank you for your help. I found that WinPE does not support scripting
by default and needs to have a script file run to enable these
features. The file is located in the WinPE folder and is called
BUILDOPTIONALCOMPONENTS.VBS

Once this was complete a batch file (oc.bat) needs to be entered into
startnet.cmd and then you can run scripts by using

cscript sdimgr.wsf recovery.sdi /writedisk:0 /yes

Thanks again,

Keith.
 
Keith,

If you are planning to be using WinPE for your own image deployment, consider creating your own (small) XPe image bootable off a CD
.. You can have anything supported in that image you would need in order to do the deployment in your own environment. Also, you
would be able to automat pretty much any deployments steps (except probably things like assigning static IPs to devices by a
complicated building/office dependent algorithm)
 
Back
Top