Jump to content

Liting Win8.1 with Config File


aviv00

Recommended Posts

Hey

here 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.ini

script:

http://www.speedyshare.com/MQx9A/Wimscript.zip

just after u done setting ur windows u can run this script to save around 2GB and time compressing

btw its for 32bit its should work on 64bit too

how to apply it:

1. make a copy of install.wim

2. mount install.wim

3. use WTK first then remove metro with dism [optional]

4. run the cmd

5. then export it to new file to get the space back :)

Edited by aviv00
Link to comment
Share on other sites


yes that's true

but its not final yet i might get to 2.5-3giga and 64bit version will go 3.5-4 giga or more

u 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 lite

without app like winreducer or manually deleting

its will cut down work significantly

also if u planning to lite with winreducer it will save u around half hour or even more :)

Edited by aviv00
Link to comment
Share on other sites

  • 4 weeks later...

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?

Link to comment
Share on other sites

Hey i gonna release small app for that soon its gonna alpha but still....

so how its should work

if u installed os on vmware and u wanna capture it to wim

u 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 using

and use it as a bat file

if u use this option u need to export it after saving the wim to see the space different

bat option is faster

u mean /name:Name ?

its the name of the wim its could anything u like ?

Edited by aviv00
Link to comment
Share on other sites

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 right

dism /Append-Image /ImageFile:install.wim /CaptureDir:c:\w81\wim\ /name:name /ConfigFile:Wimscript.ini

Link to comment
Share on other sites

i will explain it to you with commands example

install.wim is the file from windows installation disc

dont 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 by aviv00
Link to comment
Share on other sites

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!

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...