BatchPatch Forums Home › Forums › BatchPatch Support Forum › two problems – offline search when not set and update not downloaded
- This topic has 3 replies, 2 voices, and was last updated 7 years, 6 months ago by stevedev.
-
AuthorPosts
-
May 8, 2017 at 12:26 pm #9017stevedevParticipant
Greetings.
Overall, had a successful batchpatch patching run over the weekend but had a couple machines that didn’t update and I had to manually intervene. I need help troubleshooting / what to look at next.
problem 1:
I am cherry picking out updates using the txt filter for KBs. For some reason this machine would not download the updates I wanted (where it worked on other, similar machines).
from agent log on machine:
::Begin filtering collection
skipped> Security Update for Microsoft ASP.NET MVC 4.0 (KB2993928) – Reason: Update not in ‘IncludeSpecificUpdatesList’
skipped> Security Update for Microsoft ASP.NET MVC 3 (KB2993937) – Reason: Update not in ‘IncludeSpecificUpdatesList’
skipped> Security Update for Microsoft ASP.NET MVC 5.1 (KB2994397) – Reason: Update not in ‘IncludeSpecificUpdatesList’
skipped> Cumulative Security Update for Internet Explorer 11 for Windows Server 2012 R2 (KB3008923) – Reason: Update not in ‘IncludeSpecificUpdatesList’
adding> Windows Malicious Software Removal Tool for Windows 8, 8.1, 10 and Windows Server 2012, 2012 R2, 2016 x64 Edition – April 2017 (KB890830)
skipped> April, 2017 Security and Quality Rollup for .NET Framework 3.5, 4.5.2, 4.6, 4.6.1, 4.6.2 on Windows 8.1 and Windows Server 2012 R2 for x64 (KB4014983) – Reason: Update not in ‘IncludeSpecificUpdatesList’
adding> April, 2017 Security Monthly Quality Rollup for Windows Server 2012 R2 (KB4015550)
::End filtering collection
::Begin adding downloaded items to installer collection
skipped> Windows Malicious Software Removal Tool for Windows 8, 8.1, 10 and Windows Server 2012, 2012 R2, 2016 x64 Edition – April 2017 (KB890830) – Reason: Update not downloaded/cached
skipped> April, 2017 Security Monthly Quality Rollup for Windows Server 2012 R2 (KB4015550) – Reason: Update not downloaded/cached
::End adding downloaded items to installer collection
There are no updates available for installation
xxx-XPT-03 05/07/2017 14:19:46
—from an application/production/service level, and administrative/RDP perspective, this machine had no known network issues.
problem 2:
I had a couple machines where bp believes it is operating in offline mode. I have not turned on offline or caching mode in bp. However I noticed in the registry on these machines that, while we are not employing AutoUpdates we have a key present under WindowsUpdate->AU UseWUServer = 1 — Does this override anything bp is doing, and forcing it to think it is offline? Hoping so, thinking we had a problem with local WUServer.
xxx-PBAT-06 05/07/2017 14:42:31
****************************************************************
****************************************************************
xxx-PBAT-06 05/07/2017 14:44:58
::Begin offline search
The search query “ImportantOnly” returned 0 update(s):
There are no applicable updates
xxx-PBAT-06 05/07/2017 14:45:02
May 8, 2017 at 3:07 pm #10658stevedevParticipantupdate on problem 2:
Ok so I had forgotten that I had actually stopped the update service because I needed to do some cleanup from downloading the wrong updates initially.
And then — in the context of this particular run — I didn’t restart the update service. If I initialize batchpatch to “install” OR download, does it not kick off the service? Or is this what caused the “offline” behavior?
Sun-14:31:00> Windows Update: There are no applicable updates
Sun-14:30:49> Windows Update: Executing BatchPatchRemoteAgent.exe…
Sun-14:30:47> Windows Update: Attempting to initiate Windows Update (Action: Install downloaded updates: ‘ImportantOnly’) …
Sun-14:30:47> Windows Update: Establishing connection…
Sun-14:30:47> Windows Update: Initializing…
Sun-14:30:47> Windows Update: Queued… (Install downloaded updates)
Sun-14:26:37> Windows Update: Download operation completed
Sun-14:22:50> Windows Update: Executing BatchPatchRemoteAgent.exe…
Sun-14:22:48> Windows Update: Attempting to initiate Windows Update (Action: Download updates: ‘ImportantOnly’ | Server selection: Microsoft Update) …
Sun-14:22:48> Windows Update: Establishing connection…
Sun-14:22:47> Windows Update: Initializing…
Sun-14:22:46> Windows Update: Queued… (Download available updates)
Sun-14:22:07> Remote Command (logged output): Exit Code: 0 (SUCCESS)
Sun-14:22:04> Remote Command (logged output): Executing \xxx-pbat-06 -u ADxxx -p *password* -s rd /s /q c:windowssoftwaredistributiondownload
Sun-14:22:00> Remote Command (logged output): Establishing connection…
Sun-14:21:59> Remote Command 3: Queued…
Sun-14:21:08> Remote Command: Exit Code: 2
Sun-14:21:04> Remote Command: Executing \xxx-pbat-06 -u ADxxx -p *password* -s net stop wuauserv
Sun-14:21:03> Remote Command: Establishing connection…
Sun-14:21:01> Remote Command: Queued…
May 8, 2017 at 3:08 pm #10657dougModeratorRegarding question number 1:
I don’t see any obvious issues. I don’t know what your textual filter was set to, but according to the remote agent log there are two important things to note:
1. In the section that says “::Begin filtering collection,” updates are skipped there because “Reason: Update not in ‘IncludeSpecificUpdatesList'” which means that your textual filter did not include the update.
2. In the section that says “::Begin adding downloaded items to installer collection,” updates are skipped there because they were not downloaded yet. For this action you chose ‘Install downloaded updates’ which will only install updates that had already been downloaded to the computer. These updates were never downloaded, and so they could not be installed with ‘Install downloaded updates.’ They would need to be installed with ‘Download and install updates.’
Regarding question number 2:
‘::Begin offline search’ indicates that you chose the action ‘Install downloaded updates.’ This is NOT the same as when ‘offline mode’ is enabled in BatchPatch. The ‘Install downloaded updates’ search is performed ‘offline’ because BatchPatch searches the target computer (*not* the WSUS server and *not* Microsoft’s Windows Update server) to see which updates it already/previously downloaded.
When ‘offline mode’ is used the remote agent log instead says “::Begin ‘offline sync service’ search.”
May 8, 2017 at 3:11 pm #10656stevedevParticipantargh.. for problem 1 same issue I believe I answered all my questions. I stopped the service and didn’t restart it. My assumption is this is what caused my headaches:
Sun-14:19:47> Windows Update: There are no updates available for installation
Sun-14:19:42> Windows Update: Executing BatchPatchRemoteAgent.exe…
Sun-14:19:40> Windows Update: Attempting to initiate Windows Update (Action: Install downloaded updates: ‘ImportantOnly’) …
Sun-14:19:40> Windows Update: Establishing connection…
Sun-14:19:37> Windows Update: Initializing…
Sun-14:19:37> Windows Update: Queued… (Install downloaded updates)
Sun-14:10:50> Remote Command (logged output): Exit Code: 0 (SUCCESS)
Sun-14:10:46> Remote Command (logged output): Executing \xxx-xpt-03 -u ADxxx -p *password* -s rd /s /q c:windowssoftwaredistributiondownload
Sun-14:10:45> Remote Command (logged output): Establishing connection…
Sun-14:10:43> Remote Command 3: Queued…
Sun-14:10:04> Remote Command: Exit Code: 2
Sun-14:10:00> Remote Command: Executing \xxx-xpt-03 -u ADxxx -p *password* -s net stop wuauserv
Sun-14:09:59> Remote Command: Establishing connection…
Sun-14:09:57> Remote Command: Queued…
-
AuthorPosts
- You must be logged in to reply to this topic.