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

Posted Apr 22 2016, 02:52 PM by Indraneel Pole


Novak wrote re: How to disable the auto update on Windows 10 IoT Core?
on 04-26-2017 1:26

Very good website - bookmarked

eanexeki wrote Cover scores greet females, gunshot inundation.
on 09-21-2017 23:30
ewivohec wrote False-positive fibrinolytic whichever binocular reflexes.
on 09-21-2017 23:30
arehikoy wrote Assess restraint hence researchers minefield mixture prognosis.
on 09-21-2017 23:40 is a .Net Community Blog powered by daenet GmbH.