[SOLVED] Windows Updates Always Fail and Undo - Windows Server 2016 Version 10.0.14393

Rich (BB code):
Network Setup Service                                                       NetSetupSvc                               Manual     Stopped

Please run the following commands in an elevated prompt:
Code:
sc start NetSetupSvc
wait a few seconds and run the following:
Code:
sc query NetSetupSvc
sc qc NetSetupSvc
Copy and paste the result in your next post.
 
  • Thanks
Reactions: wvw
Code:
C:\Users\Administrator>sc start NetSetupSvc

SERVICE_NAME: NetSetupSvc
        TYPE               : 20  WIN32_SHARE_PROCESS
        STATE              : 2  START_PENDING
                                (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x7d0
        PID                : 1136
        FLAGS              :

C:\Users\Administrator>sc query NetSetupSvc

SERVICE_NAME: NetSetupSvc
        TYPE               : 20  WIN32_SHARE_PROCESS
        STATE              : 1  STOPPED
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0

C:\Users\Administrator>sc qc NetSetupSvc
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: NetSetupSvc
        TYPE               : 20  WIN32_SHARE_PROCESS
        START_TYPE         : 3   DEMAND_START
        ERROR_CONTROL      : 1   NORMAL
        BINARY_PATH_NAME   : C:\Windows\System32\svchost.exe -k netsvcs
        LOAD_ORDER_GROUP   :
        TAG                : 0
        DISPLAY_NAME       : Network Setup Service
        DEPENDENCIES       : RpcSs
        SERVICE_START_NAME : LocalSystem
 
Sentinel One, but we have it installed on many systems and don't experience the same issue.
 
I've seen a similar issue with Avast that's causing the same issue on just one server. So I would suggest to remove Sentinel One to see if the NetSetupSvc service can be started.

Please run the following commands in an elevated prompt:
Code:
sc start NetSetupSvc
wait a few seconds and run the following:
Code:
sc query NetSetupSvc
sc qc NetSetupSvc
Copy and paste the result in your next post.
 
Code:
C:\Users\Administrator>sc start NetSetupSvc

SERVICE_NAME: NetSetupSvc
        TYPE               : 20  WIN32_SHARE_PROCESS
        STATE              : 2  START_PENDING
                                (NOT_STOPPABLE, NOT_PAUSABLE, IGNORES_SHUTDOWN)
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x7d0
        PID                : 1148
        FLAGS              :

C:\Users\Administrator>sc query NetSetupSvc

SERVICE_NAME: NetSetupSvc
        TYPE               : 20  WIN32_SHARE_PROCESS
        STATE              : 1  STOPPED
        WIN32_EXIT_CODE    : 0  (0x0)
        SERVICE_EXIT_CODE  : 0  (0x0)
        CHECKPOINT         : 0x0
        WAIT_HINT          : 0x0

C:\Users\Administrator>sc qc NetSetupSvc
[SC] QueryServiceConfig SUCCESS

SERVICE_NAME: NetSetupSvc
        TYPE               : 20  WIN32_SHARE_PROCESS
        START_TYPE         : 3   DEMAND_START
        ERROR_CONTROL      : 1   NORMAL
        BINARY_PATH_NAME   : C:\Windows\System32\svchost.exe -k netsvcs
        LOAD_ORDER_GROUP   :
        TAG                : 0
        DISPLAY_NAME       : Network Setup Service
        DEPENDENCIES       : RpcSs
        SERVICE_START_NAME : LocalSystem
 
Sentinel one was completely uninstalled, or just disabled?

Please run the following command again and post Services.txt.
Code:
WMIC SERVICE GET caption, name, startmode, state > "%userprofile%\desktop\services.txt"
 
I disabled it. Trying to avoid completely ripping it out for the moment. Retrying the install now.

Interestingly I saw another thread where you helped someone with the same issue.
 

Attachments

After fully removing AV the update was still failing. I found and ran the following code to purge the update cache, re-downloaded and installed updates, and it worked!

Code:
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver

del /f /q “%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat”
del /f /s /q %SystemRoot%\SoftwareDistribution\*.*
del /f /s /q %SystemRoot%\system32\catroot2\*.*
del /f /q %SystemRoot%\WindowsUpdate.log

net start wuauserv
net start cryptSvc
net start bits
net start msiserver

Thanks for your help on this one @Maxstar.
 
Thanks for sharing the solution for this case... (y)

It seems it was related to the qmgr*.dat files only, and that could explain why the service "NetSetupSvc" couldn't be started.
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top