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.
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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.