"Post-Setup Before Logon - Mode" is set to Default, but CMD window only shows up sometimes upon install

imnotkabu

New Member
Messages
1
Reaction score
0
Hello,

I am trying to integrate a post-setup but pre-login interactive diagnostic script into my ISO. I have the Before Logon - Mode set to Default but the command prompt that shows all the before logon machine tasks only shows up on sometimes on installs, and sometimes it doesn't. I've verified I have the directory correct as well. The before logon tasks are completed regardless of whether or not it shows up, but the interactive window is what I want to show up first every time. Is there a way to manually configure this, because I can't find it and I feel like I'm missing something here. I am testing in a VM and on a physical device as this is going to be used on hundreds of devices.

Thank you!
 
Last edited:
Post-Setup (Before logon) tasks can be invoked by one of three different methods, but only one setting allows for interactive input.

The normal procedure is to run Post-Setup commands after OOBE, but before the Primary User's first logon. Windows hides everything behind a splash screen, and therefore you can't interact with any scripts or apps. Which is why you need to use silent mode on installers.

In order to run interactive commands, you can shift (Before logon) execution to the specialize pass. Technically you're running before OOBE and no user provisioning has been done. If your scripts can run as SYSTEM, and don't need any user dependencies then it will work.

Read this post for a better summary:
https://www.ntlite.com/community/in...k-at-the-just-a-moment-screen.5322/post-50565
 
Back
Top