Windows 10: Disable Automatic Updates

Open Notepad, save the following code as DisableWindowsUpdates.reg and then run it

Windows Registry Editor Version 5.00

Open an elevated command prompt and run the following

# Ensure that the console is opened in the folder C:\Windows\System32
cd /d "%Windir%\System32"
# Take NTFS ownership of the executable file that produces the popup.
takeown /f musnotification.exe
takeown /f musnotificationux.exe
# Prevent the operating system from accessing the file.
icacls musnotification.exe /deny Everyone:(X)
icacls musnotificationux.exe /deny Everyone:(X)

To undo the changes you made, run the following commands one by one

cd /d "%Windir%\System32"
icacls musnotification.exe /remove:d Everyone
icacls musnotification.exe /grant Everyone:F
icacls musnotification.exe /setowner "NT SERVICE\TrustedInstaller"
icacls musnotification.exe /remove:g Everyone
icacls musnotificationux.exe /remove:d Everyone
icacls musnotificationux.exe /grant Everyone:F
icacls musnotificationux.exe /setowner "NT SERVICE\TrustedInstaller"
icacls musnotificationux.exe /remove:g Everyone