I use Windows 7 SP1 x64 Ultimate. I see on Control Panel\All Control Panel Items\Windows Update:

enter image description here

I don't want any Windows update to be installed. How can I prevent Windows update from installing updates at restart?

enter image description here

I have since then disabled Windows update:

enter image description here

and in cmd.exe I have executed wusa /uninstall /kb:<kbnumber> for each Windows update that was recently installed. Is that enough? ( I haven't restarted the computer yet)

Output of WhyReboot:

enter image description here

Output of WMI VBScript written by Tom Mills

enter image description here

Script is as follows (save as a .vbs file):

'Name:   CheckPendingFileRenameOperations
'Programmer: Tom Mills/Microsoft Corp.
'Date:  8/14/2008
'Purpose: Checks registry key for pending file rename operations
'Notes:  None


strComputer = "."
strFileOps = ""

Set objReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\"&_ 
    strComputer & "\root\default:StdRegProv")

strKeyPath = "SYSTEM\CurrentControlSet\Control\Session Manager"

strValueName = "PendingFileRenameOperations"

Return = objReg.GetMultiStringValue(HKEY_LOCAL_MACHINE,strKeyPath,_

If (Return = 0) And (Err.Number = 0) Then   
    For Each strValue In arrValues
    strFileOps = strFileOps & chr(13) & strValue

    WScript.Echo "Pending File Rename Operations Found: " & strFileOps

    If Err.Number = 0 Then
         Wscript.Echo "No Pending File Operations Found"
         Wscript.Echo "Check Pending File Operations failed. Error = " & Err.Number
    End If
End If
  • Could you please explain the downvote? – Franck Dernoncourt Sep 29 '17 at 22:38
  • Everything it's showing to be done on reboot is simply cleanup of tasks that have already run and their executables are no longer needed. – Loren Pechtel Sep 30 '17 at 2:39
  • I thought this was a good question and couldn't understand 2 downvotes, either. I offset one. – fixer1234 Sep 30 '17 at 2:54
  • BTW, the reboot isn't just for file cleanup. Changes can be made to the stored version of files (including the kernel or other OS files), but that doesn't affect what's currently running. You won't know if the update created a problem until you reboot and the new stuff is loaded. – fixer1234 Sep 30 '17 at 3:02
  • @fixer1234 Thanks for the offset and the clarification about what the reboot is doing. I understand the second downvote a bit better, from my experience eating downvotes, one first downvote often attracts other downvotes, regardless of the reason, so that was probably a sheep vote. – Franck Dernoncourt Sep 30 '17 at 5:09

As I experienced, if you turn the Windows Update off, no new update is going to be installed. The control panel setting is some ways mapped to the "Windows Update" service. You can disable it too.

There are some times, that the update is already installed, but the files are being used by the OS. They are treated specially, and will copied over the reboot. I am not aware any way to prevent that.

  • Thanks. "There are some times the update is already installed" -> in cmd.exe I have executed wusa /uninstall /kb:<kbnumber> for each Windows update that was recently installed. Wouldn't it prevent any such new install at reboot? – Franck Dernoncourt Sep 29 '17 at 22:59
  • You may search for something like file copy scheduled at reboot. Like here: Link – SchLx Sep 29 '17 at 23:05
  • thanks, I used the utilities that the link you provided points to. I have added the output of these utilities in the question details. I haven't seen anything suspicious. – Franck Dernoncourt Sep 29 '17 at 23:21
  • Sorry to tell, but I think you may have/had some virus on your PC, those ~nsuA.tmp files are suspicious to me. – SchLx Sep 29 '17 at 23:31
  • Thanks for pointing that out. I checked and it looks fine virustotal.com/en/file/… It has the same hash as virustotal.com/en/file/… which is FileZilla_3.25.1_win32-setup.exe, so it's probably some renamed FileZilla_3.25.1_win32-setup.exe. – Franck Dernoncourt Sep 29 '17 at 23:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.