Windows Update MiniTool

Discussion in 'MDL Projects and Applications' started by shewolf, Sep 3, 2015.

  1. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    2,396
    1,619
    90
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. renda-l

    renda-l MDL Novice

    Apr 16, 2019
    2
    4
    0
    #1184 renda-l, May 31, 2022
    Last edited: Jun 1, 2022
    Windows Update MiniTool "WUMT" (22.04.2022) translated to the Czech language
    ==================================================================

    As of May 31, 2022, the Czech language is officially supported.
     
  3. renda-l

    renda-l MDL Novice

    Apr 16, 2019
    2
    4
    0
    #1185 renda-l, Jun 1, 2022
    Last edited: Jun 2, 2022
    Windows Update MiniTool "WUMT" (22.04.2022) translated to the Slovak language
    ==================================================================

    As of June 2, 2022, the Slovak language is officially supported.
     
  4. dobbelina

    dobbelina MDL Senior Member

    Apr 2, 2009
    426
    526
    10
    To bad the -update switch no longer works on version 22-04-2022
    It started the update process without interaction.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. rpo

    rpo MDL Expert

    Jan 3, 2010
    1,447
    1,424
    60
    Sledgehammer users, don't update the wumt executables in the bin folder!
     
  6. Mike_05

    Mike_05 MDL Novice

    Sep 22, 2022
    17
    16
    0
    :yeahyeah:Thank you so much for such great tiny tool, keep getting notices for update then restart etc. Much appreciated.
     
  7. fracer2

    fracer2 MDL Novice

    Jun 20, 2018
    20
    15
    0
    I've been occasionally having a startup problem with WUMT on one of my Win 10 machines but, become more frequent and is now occurring on two (of three) Win 10 machines.

    Below is the the most recent start failure on a Win 10 21H2 (Build 19044.1889). The application (v22.04.2022) was started elevated-

    [11:05:06 PM]: Windows Update Agent version: 10.0
    [11:05:06 PM]: Windows Update Agent API version: 8.0 (10.0.19041.1865)
    [11:05:06 PM]: Windows Update service is disabled. Starting Windows Update service... Failed with error code: 0x80070005


    Here is is the status of the update service and appears normal-
    SERVICE_NAME: wuauserv
    TYPE : 30 WIN32
    STATE : 1 STOPPED
    WIN32_EXIT_CODE : 0 (0x0)
    SERVICE_EXIT_CODE : 0 (0x0)
    CHECKPOINT : 0x0
    WAIT_HINT : 0x0
    SERVICE_NAME: wuauserv
    TYPE : 20 WIN32_SHARE_PROCESS
    START_TYPE : 3 DEMAND_START
    ERROR_CONTROL : 1 NORMAL
    BINARY_PATH_NAME : C:\WINDOWS\system32\svchost.exe -k netsvcs -p
    LOAD_ORDER_GROUP :
    TAG : 0
    DISPLAY_NAME : Windows Update
    DEPENDENCIES : rpcss
    SERVICE_START_NAME : LocalSystem
    SERVICE_NAME: wuauserv
    RESET_PERIOD (in seconds) : 86400
    REBOOT_MESSAGE :
    COMMAND_LINE :
    FAILURE_ACTIONS : RESTART -- Delay = 60000 milliseconds.
    SERVICE wuauserv PROTECTION LEVEL: NONE.
    D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)

    And the results of a NET start-
    The Windows Update service is starting.
    The Windows Update service was started successfully.

    Starting the app as TI is always successful.

    Thanks.
     
  8. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    3,758
    5,223
    120
    Did you by any way play with WU Registry Settings ?
    (it's happen to me to, when I run a specific script,
    that change WU to disable Mode)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. WinFree

    WinFree MDL Senior Member

    Aug 6, 2016
    324
    54
    10
    It was a long time i used this. Is there anything you need to do except just run it out of box? Will WU try to update or does every updates go through WUMT?
    Do i need to disable WU anywhere?
     
  10. fracer2

    fracer2 MDL Novice

    Jun 20, 2018
    20
    15
    0
    I don't recall changing anything related to wuausserv but, it's possible that something else I use might have.

    I've attached a detailed dump of the registry and associated permissions for the service and nothing jumped off the page.

    Service-{wuauserv} found...
    --------------------------------------------------------------------------------
    CP-060
    9:53:43.83 [Srv_STATUS_v3a] CP-09
    9:53:43.83 [Srv_STATUS_v3a] CP-09
    SC Service STATUS for {wuauserv}:

    SERVICE_NAME: wuauserv
    TYPE : 30 WIN32
    STATE : 4 RUNNING
    (STOPPABLE, NOT_PAUSABLE, ACCEPTS_PRESHUTDOWN)
    WIN32_EXIT_CODE : 0 (0x0)
    SERVICE_EXIT_CODE : 0 (0x0)
    CHECKPOINT : 0x0
    WAIT_HINT : 0x0
    [SC] QueryServiceConfig SUCCESS

    SERVICE_NAME: wuauserv
    TYPE : 20 WIN32_SHARE_PROCESS
    START_TYPE : 2 AUTO_START (DELAYED)
    ERROR_CONTROL : 1 NORMAL
    BINARY_PATH_NAME : C:\WINDOWS\system32\svchost.exe -k netsvcs -p
    LOAD_ORDER_GROUP :
    TAG : 0
    DISPLAY_NAME : Windows Update
    DEPENDENCIES : rpcss
    SERVICE_START_NAME : LocalSystem
    [SC] QueryServiceConfig2 SUCCESS

    SERVICE_NAME: wuauserv
    RESET_PERIOD (in seconds) : 86400
    REBOOT_MESSAGE :
    COMMAND_LINE :
    FAILURE_ACTIONS : RESTART -- Delay = 60000 milliseconds.


    D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;IU)(A;;CCLCSWLOCRRC;;;SU)S:(AU;FA;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;WD)
    --------------------------------------------------------------------------------
    9:53:43.93 [Srv_STATUS_v3a] CP-10
    9:53:43.93 [Srv_STATUS_v3a] CP-10
    SRV object permissions-
    wuauserv

    Owner: NT AUTHORITY\SYSTEM=S-1-5-18

    Group: NT AUTHORITY\SYSTEM=S-1-5-18

    DACL(not_protected):
    NT AUTHORITY\SYSTEM=S-1-5-18 start_stop allow no_inheritance
    BUILTIN\Administrators=S-1-5-32-544 full allow no_inheritance
    NT AUTHORITY\INTERACTIVE=S-1-5-4 read allow no_inheritance
    NT AUTHORITY\SERVICE=S-1-5-6 read allow no_inheritance

    SACL(not_protected):
    Everyone=S-1-1-0 full audit audit_fail


    --------------------------------------------------------------------------------
    9:53:43.99 [Srv_STATUS_v3a] CP-11
    9:53:43.99 [Srv_STATUS_v3a] CP-11
    Service REG key-

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv
    DependOnService REG_MULTI_SZ rpcss
    Description REG_SZ @%systemroot%\system32\wuaueng.dll,-106
    DisplayName REG_SZ @%systemroot%\system32\wuaueng.dll,-105
    ErrorControl REG_DWORD 0x1
    FailureActions REG_BINARY 80510100000000000000000003000000140000000100000060EA000000000000000000000000000000000000
    ImagePath REG_EXPAND_SZ %systemroot%\system32\svchost.exe -k netsvcs -p
    ObjectName REG_SZ LocalSystem
    RequiredPrivileges REG_MULTI_SZ SeAuditPrivilege\0SeCreateGlobalPrivilege\0SeCreatePageFilePrivilege\0SeTcbPrivilege\0SeAssignPrimaryTokenPrivilege\0SeImpersonatePrivilege\0SeIncreaseQuotaPrivilege\0SeShutdownPrivilege\0SeDebugPrivilege\0SeBackupPrivilege\0SeRestorePrivilege\0SeSecurityPrivilege\0SeTakeOwnershipPrivilege\0SeLoadDriverPrivilege\0SeManageVolumePrivilege\0SeSystemEnvironmentPrivilege\0SeCreateSymbolicLinkPrivilege\0SeIncreaseBasePriorityPrivilege
    ServiceSidType REG_DWORD 0x1
    Start REG_DWORD 0x2
    SvcMemHardLimitInMB REG_DWORD 0xf6
    SvcMemMidLimitInMB REG_DWORD 0xa7
    SvcMemSoftLimitInMB REG_DWORD 0x58
    Type REG_DWORD 0x20
    DelayedAutostart REG_DWORD 0x1

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv\Parameters
    ServiceDll REG_EXPAND_SZ %systemroot%\system32\wuaueng.dll
    ServiceDllUnloadOnStop REG_DWORD 0x1
    ServiceMain REG_SZ WUServiceMain

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv\Security
    (Default) REG_SZ

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv\TriggerInfo

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv\TriggerInfo\0
    Type REG_DWORD 0x5
    Action REG_DWORD 0x1
    Guid REG_BINARY E6CA9F65DB5BA94DB1FFCA2A178D46E0

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv\TriggerInfo\1
    Type REG_DWORD 0x5
    Action REG_DWORD 0x1
    Guid REG_BINARY C846FB5489F04C46B1FD59D1B62C3B50

    --------------------------------------------------------------------------------
    9:53:44.04 [Srv_STATUS_v3a] CP-12
    9:53:44.04 [Srv_STATUS_v3a] CP-12
    REG key permissions-
    machine\SYSTEM\CurrentControlSet\Services\wuauserv

    Owner: NT AUTHORITY\SYSTEM=S-1-5-18

    Group: NT AUTHORITY\SYSTEM=S-1-5-18

    DACL(not_protected+auto_inherited):
    BUILTIN\Users=S-1-5-32-545 read allow container_inherit+inherited
    BUILTIN\Administrators=S-1-5-32-544 full allow container_inherit+inherited
    NT AUTHORITY\SYSTEM=S-1-5-18 full allow container_inherit+inherited
    CREATOR OWNER=S-1-3-0 full allow container_inherit+inherit_only+inherited
    APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES=S-1-15-2-1 read allow container_inherit+inherited
    S-1-15-3-1024-1065365936-1281604716-3511738428-1654721687-432734479-3232135806-4053264122-3456934681 read allow container_inherit+inherited

    SACL(not_protected+auto_inherited):
    [NULL]

    machine\SYSTEM\CurrentControlSet\Services\wuauserv\Parameters

    Owner: NT AUTHORITY\SYSTEM=S-1-5-18

    Group: NT AUTHORITY\SYSTEM=S-1-5-18

    DACL(not_protected+auto_inherited):
    BUILTIN\Users=S-1-5-32-545 read allow container_inherit+inherited
    BUILTIN\Administrators=S-1-5-32-544 full allow container_inherit+inherited
    NT AUTHORITY\SYSTEM=S-1-5-18 full allow container_inherit+inherited
    CREATOR OWNER=S-1-3-0 full allow container_inherit+inherit_only+inherited
    APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES=S-1-15-2-1 read allow container_inherit+inherited
    S-1-15-3-1024-1065365936-1281604716-3511738428-1654721687-432734479-3232135806-4053264122-3456934681 read allow container_inherit+inherited

    SACL(not_protected+auto_inherited):
    [NULL]

    machine\SYSTEM\CurrentControlSet\Services\wuauserv\Security

    Owner: NT AUTHORITY\SYSTEM=S-1-5-18

    Group: NT AUTHORITY\SYSTEM=S-1-5-18

    DACL(not_protected+auto_inherited):
    BUILTIN\Users=S-1-5-32-545 read allow container_inherit+inherited
    BUILTIN\Administrators=S-1-5-32-544 full allow container_inherit+inherited
    NT AUTHORITY\SYSTEM=S-1-5-18 full allow container_inherit+inherited
    CREATOR OWNER=S-1-3-0 full allow container_inherit+inherit_only+inherited
    APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES=S-1-15-2-1 read allow container_inherit+inherited
    S-1-15-3-1024-1065365936-1281604716-3511738428-1654721687-432734479-3232135806-4053264122-3456934681 read allow container_inherit+inherited

    SACL(not_protected+auto_inherited):
    [NULL]

    machine\SYSTEM\CurrentControlSet\Services\wuauserv\TriggerInfo

    Owner: BUILTIN\Administrators=S-1-5-32-544

    Group: NT AUTHORITY\SYSTEM=S-1-5-18

    DACL(not_protected+auto_inherited):
    BUILTIN\Users=S-1-5-32-545 read allow container_inherit+inherited
    BUILTIN\Administrators=S-1-5-32-544 full allow container_inherit+inherited
    NT AUTHORITY\SYSTEM=S-1-5-18 full allow container_inherit+inherited
    CREATOR OWNER=S-1-3-0 full allow container_inherit+inherit_only+inherited
    APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES=S-1-15-2-1 read allow container_inherit+inherited
    S-1-15-3-1024-1065365936-1281604716-3511738428-1654721687-432734479-3232135806-4053264122-3456934681 read allow container_inherit+inherited

    SACL:
    [NULL]

    machine\SYSTEM\CurrentControlSet\Services\wuauserv\TriggerInfo\0

    Owner: BUILTIN\Administrators=S-1-5-32-544

    Group: NT AUTHORITY\SYSTEM=S-1-5-18

    DACL(not_protected+auto_inherited):
    BUILTIN\Users=S-1-5-32-545 read allow container_inherit+inherited
    BUILTIN\Administrators=S-1-5-32-544 full allow container_inherit+inherited
    NT AUTHORITY\SYSTEM=S-1-5-18 full allow container_inherit+inherited
    CREATOR OWNER=S-1-3-0 full allow container_inherit+inherit_only+inherited
    APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES=S-1-15-2-1 read allow container_inherit+inherited
    S-1-15-3-1024-1065365936-1281604716-3511738428-1654721687-432734479-3232135806-4053264122-3456934681 read allow container_inherit+inherited

    SACL:
    [NULL]

    machine\SYSTEM\CurrentControlSet\Services\wuauserv\TriggerInfo\1

    Owner: BUILTIN\Administrators=S-1-5-32-544

    Group: NT AUTHORITY\SYSTEM=S-1-5-18

    DACL(not_protected+auto_inherited):
    BUILTIN\Users=S-1-5-32-545 read allow container_inherit+inherited
    BUILTIN\Administrators=S-1-5-32-544 full allow container_inherit+inherited
    NT AUTHORITY\SYSTEM=S-1-5-18 full allow container_inherit+inherited
    CREATOR OWNER=S-1-3-0 full allow container_inherit+inherit_only+inherited
    APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES=S-1-15-2-1 read allow container_inherit+inherited
    S-1-15-3-1024-1065365936-1281604716-3511738428-1654721687-432734479-3232135806-4053264122-3456934681 read allow container_inherit+inherited

    SACL:
    [NULL]


    --------------------------------------------------------------------------------
    9:53:44.13 [Srv_STATUS_v3a] CP-13
    9:53:44.13 [Srv_STATUS_v3a] CP-13
    WMIC Service STATUS for {wuauserv}:


    AcceptPause=FALSE
    AcceptStop=TRUE
    Caption=Windows Update
    CheckPoint=0
    CreationClassName=Win32_Service
    DelayedAutoStart=TRUE
    DesktopInteract=FALSE
    DisplayName=Windows Update
    ErrorControl=Normal
    ExitCode=0
    InstallDate=
    Name=wuauserv
    PathName=C:\WINDOWS\system32\svchost.exe -k netsvcs -p
    ProcessId=11520
    ServiceSpecificExitCode=0
    ServiceType=Share Process
    Started=TRUE
    StartMode=Auto
    StartName=LocalSystem
    State=Running
    Status=OK
    SystemCreationClassName=Win32_ComputerSystem
    SystemName=M82-1
    TagId=0
    WaitHint=0

    ================================================================================
     
  11. ch100

    ch100 MDL Addicted

    Sep 11, 2016
    829
    694
    30
    I have been using WUMT for a very long time and it proved to be reliable.
    I would say do not tweak WU settings outside of Group Policy which implies only using Pro or variations of it like Enterprise or Education full.
    I have no experience with Home editions and I would strongly suggest avoiding them if possible at all due to their limitations.
     
  12. haz367

    haz367 MDL Addicted

    Jan 11, 2020
    798
    1,444
    30
    This always works...

     
  13. haz367

    haz367 MDL Addicted

    Jan 11, 2020
    798
    1,444
    30
    Code:
    ::: WINDOWS UPDATE:
    ::: [b]DoSvc service Required (Delivery Optimization) ::: Else there's' an 0x80070005 error when starting WU/WUMT and you can't search for updates.[/b]
    ::: UsoSvc Required for Windows Settings - Windows Update page to work properly ::: If disabled this page doesn't work!
    ::: WaaSMedicSvc -- UsoSvc service Required for Windows Update to work properly :: Same goes for WUMGR -- WUMT
    
     
  14. fracer2

    fracer2 MDL Novice

    Jun 20, 2018
    20
    15
    0
    #1197 fracer2, Oct 6, 2022
    Last edited: Oct 16, 2022
    Thanks. Very informative.

    My current work-around is: when the error occurs, I re-start WUMT running as TI. WUMT is able to change whatever parameter it wants to and stops complaining.

    Thereafter, WUMT will start correctly (w/o TI) for about a week but, eventually the error re-occurs.

    The work-around is not a big issue for me but is not something I would not want to deploy to my users.
     
  15. Dark Dinosaur

    Dark Dinosaur X Æ A-12

    Feb 2, 2011
    3,758
    5,223
    120
    i did wonder why my script keep kill WU ...
    i used this command ... and now i understand why
    Code:
    sc config DoSvc start=disabled
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. fracer2

    fracer2 MDL Novice

    Jun 20, 2018
    20
    15
    0
    Just noticed that I have WaaSMedicSvc disabled. WUMT could be trying to start WaaSMedicSvc without success.
     
  17. ch100

    ch100 MDL Addicted

    Sep 11, 2016
    829
    694
    30
    Your workaround works, but indicates an underlying issue nevertheless. You might want to consider an upgrade repair in place to fix your system.