We help IT Professionals succeed at work.

Windows 7 Update says "Windows could not search for new updates"

donander
donander asked
on
I was reassigning a Dell Optiplex 780 with Windows 7 to another user, who will need Office 2003. I uninstalled Office 2007 and installed 2003 from our network share. I then ran Windows Update to install all available updtates for Office 2003. I got the error in the attached jpg. I clicked the "get help with this error" link and ran the troubleshooter, which said it fixed something but still no go. I ran a separate "Fix it" utility from the Microsoft website but still no joy. Even though I'm logged on to the box as the local administrator, I tried right-clicking Windows Updates and choosing "Run as Administrator" but that didn't help.
Comment
Watch Question

Author

Commented:
Windows Update error can't search for updates
Sorry, forgot the attachment.
to ensure that windows update is working, download and run the system readiness tool x64 for 64 bit and x86 for 32 bit OS. Here is the link: http://support.microsoft.com/kb/947821

Author

Commented:
I ran the "All supported x64-based versions of Windows 7" update on the page you sent. First it asked "Do you want to install the following Windows Hotfix update KB947821?"

I said Yes. It began to install but eventually stalled. I put the mouse pointer at the right end of the progress bar as a marker and it did not progress. It has been at that point for about 10-15 minutes now. I looked in case a dialog popped up behind that one but did not see anything.

 Hotfix stalled
This is normal. Just wait for it to finish. running the system readiness tool will take as much as 40 minutes. After running without errors, restart the computer and try check for updates again.
If still cant check for updates after running system readiness tool and restarting. Try clean booting the PC. The error code you're getting which is 80072ee2 relates to firewall problems as well. "Clean boot" the computer>Click start>type: msconfig and press enter>click on "start up" tab on system configuration utility>click on "disable all">click the "services" tab>click "hide all microsoft services" box> click "disable all">click apply>click ok> and restart the computer.

Check for updates again. If it doesnt work, connect your pc directly to the modem without the router. check for updates again.

Author

Commented:
Ok, the system readiness tool did finish. I restarted and got the same error. Then I followed the procedure to clean boot, restarted and got the same error. Our computers are connected to a LAN via gigabit copper. We have a T3 connection to the Internet. There is no modem. All the computers are connected this way and this is the only one I've ever seen with this problem.
David Johnson, CDSimple Geek from the '70s
GOLD EXPERT
Distinguished Expert 2019

Commented:
a lot of times just resetting the softwaredistribution folder will fix this
sc stop wuauserv
del c:\windows\softwaredistribution /s
sc start wuauserv

now check for updates again.

Author

Commented:
Ok, I did

sc stop wuauserv
del c:\windows\softwaredistribution /s
sc start wuauserv

but same error.
David Johnson, CDSimple Geek from the '70s
GOLD EXPERT
Distinguished Expert 2019

Commented:
What you'll need to do is rename your NIC to something simple. Just go, Start, Run: NCPA.CPL <hit enter>, Right-Click the NIC icon and select Rename. Example, my wired NIC was renamed to LAN on all machines affected by the Automatic Updates Error 80072EE2.

*To expedite the fix I added the following entries to a <repair.bat> script on a network drive/share & executed it from the workstations.

Code:

netsh interface set interface LAN disabled
netsh interface set interface LAN enabled

You will need to run the .bat file as Administrator or you will receive the following error: <An interface with this name is not registered with the router>

*Right-Click the .bat file and select "Run as administrator" select Continue to UAC if enabled.

Moments after the NIC is enabled you can try automatic updates hopefully with success.
source

Author

Commented:

Sorry, someone else was using the machine so I could not get time on it until now.

I renamed it from "Local Area Connection" to "LAN" as you suggested. Since I will (hopefully) only be doing this once, I just ran command prompt by typing "comm..." in the Search field of the Start menu then I right-clicked it when it cam up in the list and chose "Run as Administrator". I then pasted

netsh interface set interface LAN disabled

in and hit Enter. Then I ran

netsh interface set interface LAN enabled.

Then I ran Windows Update again but same error. I also tried right-click Windows Update and "Run as Administrator with no luck. Then I logged off and logged on to the local Administrator account (my domain account is in the local Administrators group so I had Admin rights but just to be safe) and still no luck.

Author

Commented:
I was showing this to a coworker and he asked me if I had clicked on the "Check online for updates from Microsoft Update" link which is below the "Check for updates" button that I had been using (see the red box on the "Check for updates" attached screen shot). I said I had not so I clicked it, and after a few minutes saw  "Downloading 32 updates" then the "Installing updates" shown in the other screen shot, so I think it is working now. How to handle the points? Check for updates from Microsoft Update Installing updates
David Johnson, CDSimple Geek from the '70s
GOLD EXPERT
Distinguished Expert 2019

Commented:


you need to check your wsus server.. here is something I use a lot to configure wsus on my client machines
wsus.cmd
REM============ START Script Code===========
@echo off
::
Echo Save the batch file as "WSUS.bat". This batch file will do the following:
Echo 1.    Stops the Automatic Update Service (wuauserv) service.
Echo 2.    Imports WUA settings for workstations in workgroup to detect/download/install updates from WSUS.
Echo 3.    Starts the Automatic Update Service (wuauserv) service.
Echo 4.    Force update detection.
Echo 5.    More information on http://msmvps.com/Athif
REM INSTRUCTIONS:
REM Place both the files (WSUS.reg and WSUS.bat) in same location (single folder)
REM Double-click WSUS.bat to import WSUS.reg which contains Windows Update Agent (WUA) settings. 
REM for WUA in a workgroup environment. In this sample, WSUS.reg and WSUS.bat 
REM are placed in 'c:\'.

REM Author:- Mohammed Athif Khaleel :- Date April 30, 2006
Pause
Net Stop "wuauserv"
Echo Importing WSUS.reg
%windir%\Regedit.exe /s C:\WSUS.reg
Echo WSUS.reg imported succesfully
Net Start "wuauserv" 
Echo Forcing update detection
wuauclt /detectnow
Pause

Open in new window

wsus.reg

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]


"WUServer"="http://SERVER2008R2:8530"
"WUStatusServer"="http://techsupposerver"
"TargetGroupEnabled"=dword:00000001
"TargetGroup"="IT Department"
"ElevateNonAdmins"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoUpdate"=dword:00000000
"AUOptions"=dword:00000004
"ScheduledInstallDay"=dword:00000000
"ScheduledInstallTime"=dword:0000000a
"NoAutoRebootWithLoggedOnUsers"=dword:00000001
"AutoInstallMinorUpdates"=dword:00000001
"RebootRelaunchTimeoutEnabled"=dword:00000001
"RebootRelaunchTimeout"=dword:0000003c
"RescheduleWaitTimeEnabled"=dword:00000001
"RescheduleWaitTime"=dword:0000000f
"DetectionFrequencyEnabled"=dword:00000001
"RebootWarningTimeoutEnabled"=dword:00000001
"RebootWarningTimeout"=dword:0000001e
"UseWUServer"=dword:00000001
"NoAUShutdownOption"=dword:00000000
"NoAUAsDefaultShutdownOption"=dword:00000000

Open in new window

David Johnson, CDSimple Geek from the '70s
GOLD EXPERT
Distinguished Expert 2019

Commented:
in wsus.reg you need to edit WUServer and WUStatusServer to reflect your environment

Author

Commented:
The IT group for which I work supports one of the divisions here. The central IT department manages the wsus server so I would not have access to that I'm afraid.
LeeTutorretired
BRONZE EXPERT
Top Expert 2009

Commented:
I've requested that this question be deleted for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
Commented:
We were able to resolve this by clicking on the custom install link near the update button.

Commented:
Starting the Auto Close process based on the Asker's final comment, which contained thier resolution.

Thanks,

JustAMod
CS Moderator

Explore More ContentExplore courses, solutions, and other research materials related to this topic.