Discussion:
Clean up minint and _smstasksequence folder before wpeinit?
(too old to reply)
ron
2008-11-09 22:41:13 UTC
Permalink
Using MD 2008 deploying XP and Vista...

In the event that a deployment goes wrong for whatever reason, I would like
to clean up the two folders that pertain to the attempted deployment so the
next install can start fresh again. I am thinking the best way to do that
would be to set up a script to automatically delete the C:\minint and
C:\_smstasksequence folder before Wpeinit runs.

Does that sould ike the bet way to accomplish this? If so, can anyone give
me a pointer on how to modify the PE boot that is created by Litetouch.vbs?
Thanks
unknown
2008-11-10 00:52:38 UTC
Permalink
This works :)

Leftover junk prevents new installation in MDT 2008 / BDD 2007
http://www.deployvista.com/Blog/tabid/36/EntryID/48/language/sv-SE/Default.aspx

Regards

Johan Arwidmark
Microsoft MVP - Setup / Deployment
http://www.deployvista.com
Post by ron
Using MD 2008 deploying XP and Vista...
In the event that a deployment goes wrong for whatever reason, I would like
to clean up the two folders that pertain to the attempted deployment so the
next install can start fresh again. I am thinking the best way to do that
would be to set up a script to automatically delete the C:\minint and
C:\_smstasksequence folder before Wpeinit runs.
Does that sould ike the bet way to accomplish this? If so, can anyone give
me a pointer on how to modify the PE boot that is created by Litetouch.vbs?
Thanks
ron
2008-11-10 03:33:52 UTC
Permalink
Thanks Johan! I am wondering how I modify the litetouch iso though so it
can use the modification. Can I incorporate the new script using the
Microsoft Deployment 2008 GUI, or do I need to manually modify an xml file
somewhere? Thanks
Post by unknown
This works :)
Leftover junk prevents new installation in MDT 2008 / BDD 2007
http://www.deployvista.com/Blog/tabid/36/EntryID/48/language/sv-SE/Default.aspx
Regards
Johan Arwidmark
Microsoft MVP - Setup / Deployment
http://www.deployvista.com
Post by ron
Using MD 2008 deploying XP and Vista...
In the event that a deployment goes wrong for whatever reason, I would like
to clean up the two folders that pertain to the attempted deployment so the
next install can start fresh again. I am thinking the best way to do that
would be to set up a script to automatically delete the C:\minint and
C:\_smstasksequence folder before Wpeinit runs.
Does that sould ike the bet way to accomplish this? If so, can anyone give
me a pointer on how to modify the PE boot that is created by
Litetouch.vbs?
Thanks
unknown
2008-11-10 09:49:27 UTC
Permalink
You can't really update the unattend.xml template, because it is also
used when do refresh setup's, and then you don't want to remove those
folders.

Extract your litetouch iso to a folder (using for example WinRAR)

Using a WinPE Tools Command Prompt, and imagex, mount the
<folder>\sources\boot.wim file. the syntax is:
imagex /mountrw <folder>\sources\boot.wim 1 c:\mount

modify the unattend.xml file, add the .cmd file to system32 and
commit the changes:
imagex /unmount /commit c:\mount

Compile a new iso:
oscdimg -beftsboot.com -n <folder> LiteTouch_x86_v2.iso

Regards

Johan Arwidmark
Microsoft MVP - Setup / Deployment
http://www.deployvista.com
Post by ron
Thanks Johan! I am wondering how I modify the litetouch iso though so it
can use the modification. Can I incorporate the new script using the
Microsoft Deployment 2008 GUI, or do I need to manually modify an xml file
somewhere? Thanks
Post by unknown
This works :)
Leftover junk prevents new installation in MDT 2008 / BDD 2007
http://www.deployvista.com/Blog/tabid/36/EntryID/48/language/sv-SE/Default.aspx
Regards
Johan Arwidmark
Microsoft MVP - Setup / Deployment
http://www.deployvista.com
Post by ron
Using MD 2008 deploying XP and Vista...
In the event that a deployment goes wrong for whatever reason, I would like
to clean up the two folders that pertain to the attempted deployment so the
next install can start fresh again. I am thinking the best way to do that
would be to set up a script to automatically delete the C:\minint and
C:\_smstasksequence folder before Wpeinit runs.
Does that sould ike the bet way to accomplish this? If so, can anyone give
me a pointer on how to modify the PE boot that is created by
Litetouch.vbs?
Thanks
MarkD
2008-11-12 17:15:02 UTC
Permalink
Johan

Appologies for jumping in mid thread but does this also work on xp builds as
I've been looking for something like this for a while now?

Regards
Mark
Post by unknown
This works :)
Leftover junk prevents new installation in MDT 2008 / BDD 2007
http://www.deployvista.com/Blog/tabid/36/EntryID/48/language/sv-SE/Default.aspx
Regards
Johan Arwidmark
Microsoft MVP - Setup / Deployment
http://www.deployvista.com
Post by ron
Using MD 2008 deploying XP and Vista...
In the event that a deployment goes wrong for whatever reason, I would like
to clean up the two folders that pertain to the attempted deployment so the
next install can start fresh again. I am thinking the best way to do that
would be to set up a script to automatically delete the C:\minint and
C:\_smstasksequence folder before Wpeinit runs.
Does that sould ike the bet way to accomplish this? If so, can anyone give
me a pointer on how to modify the PE boot that is created by Litetouch.vbs?
Thanks
unknown
2008-11-12 18:04:07 UTC
Permalink
Yes, it will... the same boot image is used no matter what OS you are
trying to deploy...

Regards

Johan Arwidmark
Microsoft MVP - Setup / Deployment
http://www.deployvista.com


On Wed, 12 Nov 2008 09:15:02 -0800, MarkD
Post by MarkD
Johan
Appologies for jumping in mid thread but does this also work on xp builds as
I've been looking for something like this for a while now?
Regards
Mark
Post by unknown
This works :)
Leftover junk prevents new installation in MDT 2008 / BDD 2007
http://www.deployvista.com/Blog/tabid/36/EntryID/48/language/sv-SE/Default.aspx
Regards
Johan Arwidmark
Microsoft MVP - Setup / Deployment
http://www.deployvista.com
Post by ron
Using MD 2008 deploying XP and Vista...
In the event that a deployment goes wrong for whatever reason, I would like
to clean up the two folders that pertain to the attempted deployment so the
next install can start fresh again. I am thinking the best way to do that
would be to set up a script to automatically delete the C:\minint and
C:\_smstasksequence folder before Wpeinit runs.
Does that sould ike the bet way to accomplish this? If so, can anyone give
me a pointer on how to modify the PE boot that is created by Litetouch.vbs?
Thanks
Loading...