• Home  / 

BDD Extension: ZTERemoveCompression (boot mgr compressed Fix)

By arwidmark / April 3, 2007

To add the ZTERemoveCompression.wsf script to your scripts folder as an accessible script











1.


Copy & Paste the code below the —Code Snippet— below in this article into a blank text file and save it as ZTERemoveCompression.wsf.


2.


Copy or Move the ZTERemoveCompression.wsf script to your scripts folder under your distribution share.


(Ex: \\server1\distribution$\scripts\ZTERemoveCompression.wsf)


To add the ZTERemoveCompression.wsf script as a task to the task sequence of a build























1.


Start Deployment Workbench.


2.


In the console tree, navigate to Builds.


3.


In the details pane, right-click build (where build is the build whose task sequence you want to modify), and then click Properties.


4.


Click the Task Sequence tab, navigate to Non-OSD Refresh Onlye group, click Add, and then click Task.


Note   Ensure that you add the task prior to the Apply Windows PE task so that the drive compression is removed before winpe gets applied locally.


5.


Complete the Properties tab of the new task by using the information in the table below, accepting default values if not otherwise specified, and then click Apply.


Completing the Properties Tab of the New Task
















In this box Do this

Name


Type Remove C Drive Compression.


Description


Type description (where description is text that explains why the file is needed).


Command line


Type Cscript.exe “%SCRIPTROOT%\ZTERemoveCompression.wsf”.



6.


Complete the Options tab of the new task by using the information in the table below, accepting default values if not otherwise specified, and then click OK.


Completing the Options Tab of the New Task













In this box Do this

Success codes


Type 0. (The ZTERemoveCompression.wsf script returns these codes upon successful completion.)


Conditions list box


Add any conditions that might be necessary .



Upon completion of adding the task to run the ZTERemoveCompression.wsf script, the C: drive will now have its compression removed beforeWinPE gets applied in a refresh scenario.


–Code Snippet–



  


  



About the author

arwidmark