how can I use dism /apply-unattend

I want to create an installation file with windows 8 adk
My step is
1.winpe create partition

2.apply-image to hdd

but now ,I want to skip OOBE 
So I apply-unattend.xml, but did not work

Which steps wrong?

December 29th, 2014 4:47pm

You can try to just put the unattend.xml file in c:\windows\system32\sysprep

Free Windows Admin Tool Kit Click here and download it now
December 29th, 2014 6:33pm

I want to create an installation file with windows 8 adk
My step is
1.winpe create partition

2.apply-image to hdd

but now ,I want to skip OOBE 
So I apply-unattend.xml, but did not work

Which steps wrong?

Are you servicing image offline ? If yes please have a look at this:

DISM.exe {/Image:<path_to_ image_directory> | /Online} [dism_global_options] {servicing_option} [<servicing_argument>]

The following servicing options are available to apply an unattend.xml answer file to an offline Windows image:

DISM.exe /Image:<path_to_ image_directory> /Apply-Unattend:<path_to_unattend.xml>

If you are customizing online image, you can save unattend file under Sysprep folder and write following in elevated command prompt :

DISM.exe /Online         /Apply-Unattend:<path_to_unattend.xml>

Reference: http://technet.microsoft.com/en-us/library/hh825129.aspx

December 30th, 2014 10:07am

I want to create an installation file with windows 8 adk
My step is
1.winpe create partition

2.apply-image to hdd

but now ,I want to skip OOBE 
So I apply-unattend.xml, but did not work

Which steps wrong?

Are you servicing image offline ? If yes please have a look at this:

DISM.exe {/Image:<path_to_ image_directory> | /Online} [dism_global_options] {servicing_option} [<servicing_argument>]

The following servicing options are available to apply an unattend.xml answer file to an offline Windows image:

DISM.exe /Image:<path_to_ image_directory> /Apply-Unattend:<path_to_unattend.xml>

If you are customizing online image, you can save unattend file under Sysprep folder and write following in elevated command prompt :

DISM.exe /Online         /Apply-Unattend:<path_to_unattend.xml>

Reference: http://technet.microsoft.com/en-us/library/hh825129.as

December 31st, 2014 3:01am

Have you checked if you are applying correct unattend file? I mean its good if you can test the unattend file with a test machine (online, or running OS) may be your unattend file is corrupt or has settings which are not applicable to that specific image.
January 1st, 2015 9:01pm

You can't.

Apply-Unattend is for running (online) os to sysprep.

1) Mount your wim file using DISM

2) Copy your unattend.xml in %WINDIR%\Panther (you have to create this folder)

3) Save your image (commit)

Apply in WinPE, make bootable (bcdboot...) and you're fine.

  • Proposed as answer by Mvp77 13 hours 58 minutes ago
Free Windows Admin Tool Kit Click here and download it now
March 8th, 2015 1:18pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics