aviv00 Posted December 6, 2013 Posted December 6, 2013 (edited) Heyhere a script that can make your life a bit easier cmd:dism /Append-Image /ImageFile:backup.wim /CaptureDir:d:\work\wim\ /name:Name /ConfigFile:Wimscript.iniscript:http://www.speedyshare.com/MQx9A/Wimscript.zipjust after u done setting ur windows u can run this script to save around 2GB and time compressingbtw its for 32bit its should work on 64bit toohow to apply it:1. make a copy of install.wim2. mount install.wim3. use WTK first then remove metro with dism [optional]4. run the cmd5. then export it to new file to get the space back Edited December 6, 2013 by aviv00
MrJinje Posted December 6, 2013 Posted December 6, 2013 When you say 2GB do you mean decompressed size, if yes, that would translate to about 500-600MB saving on the capture.wim size.
aviv00 Posted December 6, 2013 Author Posted December 6, 2013 (edited) yes that's truebut its not final yet i might get to 2.5-3giga and 64bit version will go 3.5-4 giga or moreu can do that after using WTK and then removing metro with dism and in the end just run this script capturing the wim and save time ,size and installation time for testing without even "try" to litewithout app like winreducer or manually deletingits will cut down work significantlyalso if u planning to lite with winreducer it will save u around half hour or even more Edited December 6, 2013 by aviv00
12250279 Posted January 1, 2014 Posted January 1, 2014 (edited) Thank you so much, you want to get more scripts。 Edited January 1, 2014 by 12250279
MAVERICKS CHOICE Posted January 8, 2014 Posted January 8, 2014 Am luvving this concept but must say having trouble getting my head around the dism script in the "name" area especially. Have looked both here & on google directly on the MS site examples etc & can't quite get my head around it!! Can someone dumb it down for me?
aviv00 Posted January 8, 2014 Author Posted January 8, 2014 (edited) Hey i gonna release small app for that soon its gonna alpha but still....so how its should workif u installed os on vmware and u wanna capture it to wimu can use this script to filter files and folders so its wont capture and save time compressing and space-or-another option is using the old good wimfilter like is vlite usingand use it as a bat fileif u use this option u need to export it after saving the wim to see the space differentbat option is fasteru mean /name:Name ?its the name of the wim its could anything u like ? Edited January 8, 2014 by aviv00
MAVERICKS CHOICE Posted January 8, 2014 Posted January 8, 2014 Ok make a copy of the install.wim I intend to use, mount the same wim, run the cmd with the path to the copied wim?
aviv00 Posted January 8, 2014 Author Posted January 8, 2014 yes and then export it but u should wait cos this cfg is not finished yet
MAVERICKS CHOICE Posted January 9, 2014 Posted January 9, 2014 Thanks, paths are troubling me!!If I put my copied wim into dir "w81" & mount the win then should I put the "Wimscript.ini" in same dir or in the main dism dir in windows?Either way not happening? My cmd cannot be rightdism /Append-Image /ImageFile:install.wim /CaptureDir:c:\w81\wim\ /name:name /ConfigFile:Wimscript.ini
aviv00 Posted January 9, 2014 Author Posted January 9, 2014 (edited) i will explain it to you with commands exampleinstall.wim is the file from windows installation discdont forget to enter work dir@can be run from windows 7 too@md c:\work - creating work dircopy install.wim c:\work\ - copy the file to work dircopy install.wim backup.wim - making a copy and rename it to backup.wimmd c:\work\wim - creating dir for mount pointimagex /mountrw c:\work\install.wim 1 c:\work\wim - mounting install.wim index 1 to c:\work\wimimagex /config wimscript.ini /append c:\work\wim backup.wim "Drive D"- capturing c:\work\wim dir to image backup.wim with config wimscript.iniimagex /export c:\work\backup.wim 2 c:\work\newfile.wim "Exported Image"exporting the second image/modified image to one and alone image file Edited January 9, 2014 by aviv00
MAVERICKS CHOICE Posted January 9, 2014 Posted January 9, 2014 Only part really having a problem with is:imagex /config wimscript.ini /append d: d:\imaging\data.wim "Drive D"Have looked @ the MS page here for imagex: http://technet.microsoft.com/en-us/library/cc766147%28v=ws.10%29.aspx Which is identical to yours above.Have tried inserting wimscript.ini directly in the work dir & imagex dir though not happening.apologize for all the ??'s!
MAVERICKS CHOICE Posted January 9, 2014 Posted January 9, 2014 in imagex it mentions you must ref image path & image file!eg image path: Path of the volume image to be captured image file: Path of the existing wim file
aviv00 Posted January 10, 2014 Author Posted January 10, 2014 yea when used append its must be exist image
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now