Quantcast
Channel: Microsoft Deployment Toolkit forum
Viewing all articles
Browse latest Browse all 11297

Modify LiteTouch CustomSettings.ini/vbs/wsf to skip repartitioning task

$
0
0

I have been given a bootable USB stick that contains a LiteTouch deployment that we are using for our Win7 migrations. I have also been investigating USMT hardlink backups/restores and my problem is that the LiteTouch deployment has a task in there that repartitions and wipes the drive.

While I am unable to modify the tasks via LiteTouch / MDT, I am able to modify the contents of the USB stick, so I thought perhaps there is something I can put in the CustomSettings.ini to prevent this step from happening. I added:

DeploymentType=REFRESH
OSDStateStorePath=c:\backup
OSDMigrateAdditionalRestoreOptions=/nocompress /hardlink

thinking that the DeploymentType being refresh would instruct the deployment to not do a repartition/wipe, but that didn't work.

The USB has an autorun.inf which calls upon BDD_autorun.wsf, which in turn executes the LiteTouch.vbs script. I tried modifying that to pass in the DeploymentType flag:

If oShell.Popup( WelcomeMessage1 & vbNewLine & WelcomeMessage2, 15, WelcomeHeader1, 1 or 64) = 1 then
    oShell.Run "cscript.exe //nologo """ & WScript.ScriptFullName & "\..\LiteTouch.vbs /DeploymentType:REFRESH""",,FALSE
End if

but that too failed.

Does anyone know how or what can modify to prevent the repartitioning step to occur by just modifying the CustomSettings.ini, or any vb/wsf file?

thanks,


Viewing all articles
Browse latest Browse all 11297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>