Windows 10 Updates - Trigger "Update and Restart"
-
I have been using PSWindowsUpdate for several months now, and it is great. The only exception being that if you install a feature update (1703 to 1809, or 1809 to 1903, etc), it requires the end-user or, in this case, me, to connect to the UI of the client computer and select the "Update and Restart" option. A simple restart command doesn't perform the update step, just the restart, so the update doesn't get applied.
I have tried this, as per a recent technet forum post-
Start-Process -FilePath 'C:\$WINDOWS.~BT\Sources\SetupHost.exe' -WorkingDirectory 'C:\$WINDOWS.~BT\Sources' -ArgumentList '/finalize /update'
It doesn't give an error, but the system I ran it on, doesn't do anything. Has anyone come across a command that will actually force the update and restart option?
-
USOCLIENT Documentation & Switches
https://www.urtech.ca/2018/11/usoclient-documentation-switches/ -
@black3dynamite said in Windows 10 Updates - Trigger "Update and Restart":
USOCLIENT Documentation & Switches
https://www.urtech.ca/2018/11/usoclient-documentation-switches/Thanks. I will check these out.
-
Looks like this might work.
USOClient.exe RestartDevice
After doing some digging into the UOSClient, it looks like the restartdevice switch only work for rebooting for a feature update. I have one device that I have that is still pending a reboot to update from 1809 to 1903. I will try it out if the user doesn't beat me to it.
-
@wrx7m said in Windows 10 Updates - Trigger "Update and Restart":
A simple restart command doesn't perform the update step, just the restart, so the update doesn't get applied.
This has been an issue for a very long time with windows. I am surprised it hasn't been fixed yet. It's really annoying
-
@IRJ said in Windows 10 Updates - Trigger "Update and Restart":
@wrx7m said in Windows 10 Updates - Trigger "Update and Restart":
A simple restart command doesn't perform the update step, just the restart, so the update doesn't get applied.
This has been an issue for a very long time with windows. I am surprised it hasn't been fixed yet. It's really annoying
Well, at least with Win 7, a standard reboot applies updates. At least, I think it does. The main difference between Win 7 and 10, is that they have switched to the osoclient.exe to manage the updates.
-
@wrx7m said in Windows 10 Updates - Trigger "Update and Restart":
@IRJ said in Windows 10 Updates - Trigger "Update and Restart":
@wrx7m said in Windows 10 Updates - Trigger "Update and Restart":
A simple restart command doesn't perform the update step, just the restart, so the update doesn't get applied.
This has been an issue for a very long time with windows. I am surprised it hasn't been fixed yet. It's really annoying
Well, at least with Win 7, a standard reboot applies updates. At least, I think it does. The main difference between Win 7 and 10, is that they have switched to the osoclient.exe to manage the updates.
I'm pretty sure server 2008 and onward had the issue. I don't remember dealing with it on workstations
-
@IRJ said in Windows 10 Updates - Trigger "Update and Restart":
@wrx7m said in Windows 10 Updates - Trigger "Update and Restart":
@IRJ said in Windows 10 Updates - Trigger "Update and Restart":
@wrx7m said in Windows 10 Updates - Trigger "Update and Restart":
A simple restart command doesn't perform the update step, just the restart, so the update doesn't get applied.
This has been an issue for a very long time with windows. I am surprised it hasn't been fixed yet. It's really annoying
Well, at least with Win 7, a standard reboot applies updates. At least, I think it does. The main difference between Win 7 and 10, is that they have switched to the osoclient.exe to manage the updates.
I'm pretty sure server 2008 and onward had the issue. I don't remember dealing with it on workstations
I still have a 2008 R2 box and can test it on the next go 'round. I won't have it much longer, as I am dumping it prior to EOS.
-
@wrx7m said in Windows 10 Updates - Trigger "Update and Restart":
@IRJ said in Windows 10 Updates - Trigger "Update and Restart":
@wrx7m said in Windows 10 Updates - Trigger "Update and Restart":
@IRJ said in Windows 10 Updates - Trigger "Update and Restart":
@wrx7m said in Windows 10 Updates - Trigger "Update and Restart":
A simple restart command doesn't perform the update step, just the restart, so the update doesn't get applied.
This has been an issue for a very long time with windows. I am surprised it hasn't been fixed yet. It's really annoying
Well, at least with Win 7, a standard reboot applies updates. At least, I think it does. The main difference between Win 7 and 10, is that they have switched to the osoclient.exe to manage the updates.
I'm pretty sure server 2008 and onward had the issue. I don't remember dealing with it on workstations
I still have a 2008 R2 box and can test it on the next go 'round. I won't have it much longer, as I am dumping it prior to EOS.
https://mangolassi.it/topic/1005/i-need-to-issue-the-update-and-restart-command-not-just-restart
-
@wrx7m said in Windows 10 Updates - Trigger "Update and Restart":
@IRJ said in Windows 10 Updates - Trigger "Update and Restart":
@wrx7m said in Windows 10 Updates - Trigger "Update and Restart":
A simple restart command doesn't perform the update step, just the restart, so the update doesn't get applied.
This has been an issue for a very long time with windows. I am surprised it hasn't been fixed yet. It's really annoying
Well, at least with Win 7, a standard reboot applies updates. At least, I think it does. The main difference between Win 7 and 10, is that they have switched to the osoclient.exe to manage the updates.
It seemed like it was an issue on 2008 servers and someone mentioned upgrading to windows 8 to fix it. I think it has always been issue.
-
@wrx7m said in Windows 10 Updates - Trigger "Update and Restart":
@IRJ said in Windows 10 Updates - Trigger "Update and Restart":
@wrx7m said in Windows 10 Updates - Trigger "Update and Restart":
@IRJ said in Windows 10 Updates - Trigger "Update and Restart":
@wrx7m said in Windows 10 Updates - Trigger "Update and Restart":
A simple restart command doesn't perform the update step, just the restart, so the update doesn't get applied.
This has been an issue for a very long time with windows. I am surprised it hasn't been fixed yet. It's really annoying
Well, at least with Win 7, a standard reboot applies updates. At least, I think it does. The main difference between Win 7 and 10, is that they have switched to the osoclient.exe to manage the updates.
I'm pretty sure server 2008 and onward had the issue. I don't remember dealing with it on workstations
I still have a 2008 R2 box and can test it on the next go 'round. I won't have it much longer, as I am dumping it prior to EOS.
LOL - Didn't make this cutoff. Next week, hopefully.