RMugione
Posts: 6
Joined: Thu Feb 15, 2018 3:10 pm

Unattended ugrade with reboot

Hi to everyone.

I've created a multi PC "unattended" upgrade procedure that runs under a 'private' account (named Installer) within a Windows service with admin privilege.

A user starts upgrade from any PC using a control monitor application that sends a command message to all the "Installer" services.

Well, the problem is that some prerequisites perform a reboot (as expected) and, after reboot the procedure does not terminate until the user login the "Installer" user (the user does'nt know the password).

We need to continue the installation even without login and to run on the "Installer" account.
How is it possible to achieve this behaviour?

Thanks
Ricardo
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Unattended ugrade with reboot

Hello Ricardo,

I'm afraid there is nothing you can do to change this behavior. Once an installation process is started under a certain user account, it cannot be finished under any other user account than the owner one. This is the Windows OS design.

The only workaround to your problem will be to try redesigning the upgrade scenario. Somehow you should make sure it is started by the same user as the logged on one. Or you can try to run your Windows service under LocalSystem account and see if this helps.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”