How can I execute the specialize stage manually?

GeorgNation

New Member
Messages
1
Reaction score
0
I am trying to create a custom deployment engine for Windows, so how can I execute the specialize stage manually (without calling the windeploy process)? Thanks in advance.
 
The short answer is you don't. Specialize pass isn't an user mode, you can stop into audit mode (after specialize) or reboot from generalize back into audit mode (but not stopping in specialize).

Anything you want done in specialize is managed by the unattend file.

View attachment 12523

The nearest solution I've found to your problem is here:
Setting the Hostname in a SysPreped AMI

So the general idea is instead of allowing generalize to exit directly to specialize, you replace the Setup reg key with your script (instead of windeploy). Your script runs and then calls windeploy.exe to resume normal processing.

Other than that, you're probably better off asking this question over in one of the formal IT forums where more folks who deal with sysprep scripting can be found.
 
Back
Top