Page 1 of 1

How to exclude KB3135445?

PostPosted: 02.03.2016, 05:02
by NullByte
Hello, I tried to exclude this KB3135445 for reasons of blocking win10 updater but it did not seem to work, update script still ran KB3135445... does anybody know how to exclude ??

Code: Select all
------- Update.cmd LOG ----------
Installing Windows Update scan prerequisites...
Installing update 1 of 6 (stage size: 100)...
Installing ..\w61-x64\glb\windows6.1-kb2552343-x64_51acdacad4855a2a04f35e2ac511fd3832a5d931.cab...
Installing update 2 of 6 (stage size: 100)...
Installing ..\w61-x64\glb\Windows6.1-KB3135445-x64.msu...
Installing update 3 of 6 (stage size: 100)...
Installing ..\w61-x64\glb\windows6.1-kb3078601-x64_785cd5e3b02e0afdac45c6d7c481ba9fd7edbdfc.cab...
Installing update 4 of 6 (stage size: 100)...
Installing ..\w61-x64\glb\windows6.1-kb3087039-x64_6543ecf25746dc015c53f26ec9a80d0024f67c9c.cab...
Installing update 5 of 6 (stage size: 100)...
Installing ..\w61-x64\glb\windows6.1-kb3109094-x64_570b08f22988118cfa06a014be2a7b66ab493802.cab...
Installing update 6 of 6 (stage size: 100)...
Installing ..\w61-x64\glb\windows6.1-kb3134214-x64_3b24aac0275637b46e066bdaf29eeb89d307011a.cab...
Checking state of service 'Windows Update'...
13:51:16.06 - Listing ids of missing updates (please be patient, this will take a while)...
13:59:23.01 - Done.

------------------ ExcludeList.txt ----------------------
Code: Select all
kb3135445,WU (Win7/2008_R2)  WU Client February 2016
kb3138612,WU (Win7/2008_R2)  WU Client March 2016

Re: How to exclude KB3135445?

PostPosted: 02.03.2016, 11:40
by Denniss
Windows update client is not directly responsible for forced win 10 update/adverts. It is only used in part for the update, the update/advert itself is triggered by other updates, namely KB3035583.

Re: How to exclude KB3135445?

PostPosted: 02.03.2016, 15:56
by boco
If you need to explicitly exclude some updates (mostly Win10 and Telemetry-related), you can use the ./Exclude/custom/ExcludeListForce-all.txt, simply listing the updates that should be excluded (KBxxxxxxx list).

Re: How to exclude KB3135445?

PostPosted: 02.03.2016, 19:53
by Cababs
I have a feeling that these are included In my custom lists.

does that mean that ./Exclude/custom/ExcludeListForce-all.txt will be enforced?

Re: How to exclude KB3135445?

PostPosted: 03.03.2016, 03:36
by boco
The force exclude list does apply to all static and dynamic updates. However, it might not apply to other lists in the 'custom' directory. Only the admin can give a definite answer, though.

Re: How to exclude KB3135445?

PostPosted: 03.03.2016, 08:04
by WSUSUpdateAdmin
Hi.

The file ..\exclude\custom\ExcludeListForce-all.txt should affect custom static definitions, too:

Code: Select all
echo Determining static update urls for %1 %2...
if exist ..\static\StaticDownloadLinks-%1-%2.txt copy /Y ..\static\StaticDownloadLinks-%1-%2.txt "%TEMP%\StaticDownloadLinks-%1-%2.txt" >nul
if exist ..\static\StaticDownloadLinks-%1-%3-%2.txt copy /Y ..\static\StaticDownloadLinks-%1-%3-%2.txt "%TEMP%\StaticDownloadLinks-%1-%2.txt" >nul
if exist ..\static\custom\StaticDownloadLinks-%1-%2.txt (
  type ..\static\custom\StaticDownloadLinks-%1-%2.txt >>"%TEMP%\StaticDownloadLinks-%1-%2.txt"
)
if exist ..\static\custom\StaticDownloadLinks-%1-%3-%2.txt (
  type ..\static\custom\StaticDownloadLinks-%1-%3-%2.txt >>"%TEMP%\StaticDownloadLinks-%1-%2.txt"
)
if not exist "%TEMP%\StaticDownloadLinks-%1-%2.txt" goto SkipStatics

:EvalStatics
if exist "%TEMP%\ExcludeListStatic.txt" del "%TEMP%\ExcludeListStatic.txt"
if exist ..\exclude\custom\ExcludeListForce-all.txt copy /Y ..\exclude\custom\ExcludeListForce-all.txt "%TEMP%\ExcludeListStatic.txt" >nul
if "%EXC_SP%"=="1" (
  type ..\exclude\ExcludeList-SPs.txt >>"%TEMP%\ExcludeListStatic.txt"
)
if exist "%TEMP%\ExcludeListStatic.txt" (
  %SystemRoot%\System32\findstr.exe /L /I /V /G:"%TEMP%\ExcludeListStatic.txt" "%TEMP%\StaticDownloadLinks-%1-%2.txt" >"%TEMP%\ValidStaticLinks-%1-%2.txt"
  del "%TEMP%\ExcludeListStatic.txt"
  del "%TEMP%\StaticDownloadLinks-%1-%2.txt"
) else (
  ren "%TEMP%\StaticDownloadLinks-%1-%2.txt" ValidStaticLinks-%1-%2.txt
)
echo %DATE% %TIME% - Info: Determined static update urls for %1 %2>>%DOWNLOAD_LOGFILE%


RTW