Friday, April 22, 2016 2:52 PM Indraneel Pole

How to disable the auto update on Windows 10 IoT Core?

 

Windows 10 IoT core has pushing update to its latest OS version once you download the OS version 10.0.10586.0. The update is 10.0.10586.63. However, the device never asks you if you want to download the updates and just re-flashes the card on its own. If your Pi is running in headless state over internet connection to do some mission critical stuff, this is a very crappy way to find out your pi has stopped working. However, you can stop the Pi from running the auto update. Here is a set of PowerShell commands that does this for you -

First connect to your Pi through remote session -

net start winrm

//IP Address of PI

Set-Item WSMan:\localhost\Client\TrustedHosts –Value $ipAddress

Enter-PSSession -ComputerName $ipAddress -Credential $ipAddress\Administrator

Now once you have established remote session with Pi, you can use these commands to check and disable auto updating

sc.exe config wuauserv start=disabled

sc.exe query wuauserv

sc.exe stop wuauserv

sc.exe query wuauserv

REG.exe QUERY HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv /v Start

  1. Line 1. Disable Windows Update service
  2. Line 2. Check service status. If it's not running skip line 3 and 4
  3. Line 3. Stop Windows Update service (if running).
  4. Line 4. Check service status again. It would not stop sometimes.
  5. Line 5. Check if service is really disabled (Start should be 0x4)

I hope it helps. Smile

# re: How to disable the auto update on Windows 10 IoT Core?

Monday, February 27, 2017 2:15 PM by Read

I see your blog needs some fresh & unique articles. Writing manually is time consuming, but there is solution for this.

Just search for - Masquro's strategies

Leave a Comment

(required) 
(required) 
(optional)
(required)