Hello all – We are upgrading from older versions of Office to Office 365 on several systems. We are sending via Software center so the user can see what is happening on screen (Office install splash screen, etc). It is marked as a required application and the deadline is 7 days after it appears in software center. However, my issue is I want the PC to restart right after Office is done installing. Either when the deployment hit’s the deadline or immediately after the user initiates the install before the deadline. In The deployment user experience tab, I selected ‘Config Manager client will force a mandatory device restart.’ The problem here is if a user initiates it before the deadline, it waits until it gets to the deadline to restart. In this case, I don’t want days or hours to pass until the system is rebooted.
I’ve been trying to think of a way to make this work, without success. One new idea is to take all the possible return exit codes for the deployment to have a hard reboot. Say for 0 & 3010 exit returns I set to a hard reboot behavior. But I’m not sure if there are other success exit codes.
I know a task sequence will do this no problem. I have a PowerShell script that warns users the PC is about to restart and then does so. Could run that after Office installs. However, we can’t do it via Task Sequence as it runs in machine context and the user won’t see anything and that must happen.
The Office installation XML file used doesn’t have a property for reboot control. I’m not sure if the office setup.exe that runs has install switches like that.
So besides modifying the restart behavior of the return codes, can you think of another way to have the PC restart after Office is installed (either user initiated or when the deadline is reached)?