The following are technical notes regarding various system features.
- Enabling Post-Sysprep Commands
-
To enable post-sysprep commands, perform these steps on a desktop before converting it to an image.
-
Create a folder named sysprep under C:\ driver.
-
Create a batch file named postprep-extra.bat in the sysprep folder.
-
Add required commands in batch file and save it.
-
Convert the desktop to an image. File path: c:\sysprep\postprep-extra.bat . Sysprep launches this batch file during specialize pass execution (before agent comes and joins the domain).
-
-
To set the post sysprep batch file in the template before converting to a gold pattern (executed before domain join), perform the following steps.
-
Create a batch: c:\sysprep\postprep-extra.bat
-
Create the C:\Sysprep\.... folder structure (for Windows 7): C:\Sysprep\ postprep-extra.bat
-
Save it with your commands. Sysprep executes this batch file in post execution.
-
-
Was this page helpful?