I’m running an install that requires a reboot. I’m using the interactive mode to give users time to close out of processes for the install to continue and prompts them to reboot using the Show-InstallationRebootPrompt. The script flips to noninteractive mode, skipping the needed reboot (see log excerpt below):
[Initialization] :: Session 0 detected, process not running in user interactive mode; deployment mode set to [NonInteractive].
I’m deploying this script using Configuration Manager and the DeployMode is set to Interactive in both the parameters and the program of the deployment type. What could I be missing?
You could be missing the option “Allow users to view and interact with the program installation” under User Experience on the Deployment Type of the Application in CM.
I thought this as well. I haven’t used it yet because, it has once shot me in the foot by not running until the user is logged in regardless if you had the option “Whether or not the user is logged in” option selected.
Well you definetly need it since it’s a requirement for interacting with the logged on user.
Regarding an application not running until a user is logged on, that is a completely different setting that you normally never use since PSADT can handle both situations.