Jump to content

How does I catch the event when all windows updates are installed, and then restart the PC?


Recommended Posts

Hello,
at my work I have numerous notebooks to install. Among other things, I want to search and install Windows updates all automatically. This succeeds quite well with the one-liner:

Runwait (@ComSpec & ' /c ' & 'explorer.exe ms-settings:windowsupdate-action','')


But how can I catch the event when all updates are installed and then restart the computer first?
Thanks for your answers in advance

Jan

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...