HexCon is coming to NYC. Catch the early-bird price before the time's up! REGISTER NOW

Windows OS Update ConfigurationSolved

Participant
Discussion
4 years ago

Hi There,

I am trying to get windows update settings into a policy but I cant see that as an option.
Does hexnode support that?

Thanks

Replies (11)

Marked SolutionPending Review
Hexnode Expert
4 years ago
Marked SolutionPending Review

Hi Paul,

Thank you for reaching out to us.

Currently Windows OS updates cannot be done via policy through Hexnode. However, you can deploy scripts via Hexnode to your managed devices.

Thus, you can deploy a script to update the OS of your devices. Scripting helps you resolve various device level changes you need to make across multiple devices. You can find scripts online/ develop them on your own. Please do refer our blog post as well.

Cheers!

Thomas Specter
Hexnode MDM

Marked SolutionPending Review
Participant
4 years ago
Marked SolutionPending Review

Something I’ve asked in the past as well and they don’t have anything in regards to updates available for Windows for some reason.

Marked SolutionPending Review
Hexnode Expert
4 years ago
Marked SolutionPending Review

Hello Brad,

Thank you for reaching out to us.

We are extremely sorry for keeping you waiting. The feature to configure the OS update settings for Windows is in our roadmap. Once the feature rolls out, you will be able to configure patch updates and much more. It will be truly worth the wait!! Till then please use custom scripts to push updates. Read our doc to know more about executing scripts for Windows devices.

We will surely notify you once the feature releases. Do check out our Release Notes to get the latest updates.

Cheers!!
Deborah Timothy
Hexnode UEM

Marked SolutionPending Review
Participant
4 years ago
Marked SolutionPending Review

I’ve been browsing the internet for scripts to upgrade Windows OS, but I’m having trouble deciding which one to use. Could you please give any functional scripts for running the Windows OS update?

Marked SolutionPending Review
Hexnode Expert
4 years ago
Marked SolutionPending Review

Hi Elvira,
Thanks for your query.
You can use the following batch script to download and install OS updates in Windows.

usoclient ScanInstallWait
usoclient StartInstall
timeout /t time _to_wait_in seconds
usoclient RestartDevice

You can go to Manage > Devices and click on Execute Custom Script from the Actions drop-down menu to deploy the script via Hexnode.
Please validate the script by manually executing it on a device before running it in bulk.

Cheers!
Evin Lee
Hexnode UEM

Marked SolutionPending Review
Participant
4 years ago
Marked SolutionPending Review

I executed the script manually, but there was no result on the terminal. How can i ensure that the script is working?

Marked SolutionPending Review
Hexnode Expert
4 years ago
Marked SolutionPending Review

@Elvira
Running the usoclient.exe commands manually or through the Hexnode portal won’t return any feedbacks. Hence, to ensure that the commands are working, go to Settings > Windows Update on the devices and check if updates are downloading.

Marked SolutionPending Review
Participant
4 years ago
Marked SolutionPending Review

Hi, we prefer PowerShell scripts over batch scripts. Could you please share any custom PowerShell scripts for updating Windows OS?

Marked SolutionPending Review
Hexnode Expert
4 years ago
Marked SolutionPending Review

Hey @Zaina
Thanks for reaching out to us.
You can use the following PowerShell script.

Install-WindowsUpdate -ForceDownload -ForceInstall – AcceptAll

But make sure to install PSWindowsUpdate module before executing the above script.
You can install the module silently by executing the script given below.

Install-Module PSWindowsUpdate Install-PackageProvider NuGet –Force Set-PSRepository
PSGallery -InstallationPolicy Trusted Install-Module SQLServer -Repository PSGallery

Regards,
Evin Lee
Hexnode UEM

Marked SolutionPending Review
Participant
2 years ago
Marked SolutionPending Review

Hello All, I see Windows Update has been on the table since 2021! Any updates for the Windows Update ??

I am really thinking of getting this for my org but not having the Windows Update feature is pretty big, running scripts seems scatchy.

Your thoughts?

Marked SolutionPending Review
Hexnode Expert
2 years ago
Marked SolutionPending Review

Hello @noel-vega, welcome to Hexnode Community!

We realize that we’ve been keeping you waiting for longer than intended. Hang on for just a li’l while longer as our team works on it with high priority.

But in the meanwhile, please check out the features we’ve recently released and many more that we have in store for you.

Regards,
Chloe Edison
Hexnode UEM

Save