Hi all, I am wanting to deploying Windows XP via a DVD or USB stick. I want the user to boot from either media and have the install take place with minimal interaction from the user. On the media I have the boot.wim for PE and my XP wim. I have edited start net.cmd to call diskpart to format the target drive etc then imagex to apply the XP image. I am saving start net in Windows\system32 on the boot.wim. I then burn my iso to a dvd then boot. When I boot into PE my custom startnet.cmd is reverting back to the default. What's going wrong????
Thanks
Mike
Page 1 of 1
Editing Startnet.cmd
#2
Posted 22 January 2012 - 08:10 AM
You need to commit the changes to the wim file, using imagex /unmount /commit <mount-folder>. Please note that some wim's, like the Windows 7 boot.wim have multiple indexes, so that you mount the right index.
A tip when unmounting and commiting changes is also to close all Explorer windows before doing so. The WIM filter driver in WAIK 2.0 is quite sensible to open file handles.
/ Johan
A tip when unmounting and commiting changes is also to close all Explorer windows before doing so. The WIM filter driver in WAIK 2.0 is quite sensible to open file handles.
/ Johan
#3
Posted 22 January 2012 - 01:27 PM
You also have to load wimfltr with following command to use imagex within a pe:
rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 path-to-wimfltr\wimfltr.inf
rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 path-to-wimfltr\wimfltr.inf
#4
Posted 22 January 2012 - 02:01 PM
Quote
rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 path-to-wimfltr\wimfltr.inf
this is unnecessary (in that we use imagex in winPE and dont run this command), just make sure imagex.exe is actually there and make sure your apply command is syntactically correct. it would probably be easier to troubleshoot if you post your Startnet.cmd, unless of course you are just not committing your changes on unmount as the first reply suggested may be the case.
Share this topic:
Page 1 of 1



Help
Back to top









