Cant enable windows update in services

Filip Labedzki 6 Reputation points
2022-11-22T07:39:20.077+00:00

So, I tried to see if I there's any updates for my pc and it says "Something went wrong. Try to reopen Settings later." So, I searched it up and found out that my windows update in services was disabled. so, I tried to change it to automatic and when I click apply it says, "Access is denied". and now I'm stuck didn't find anything online and don't know what to do. ![262809-image.png]2

![262972-image.png][3]

262933-image.png

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,112 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,565 questions
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Kapil Arya 7,851 Reputation points MVP
    2022-11-23T11:43:47.177+00:00

    For multiple issues, I suggest you to perform repair upgrade without affecting data:

    https://answers.microsoft.com/en-us/windows/forum/all/how-to-perform-repair-upgrade-in-windows-11/8099a5ae-8afc-406f-864d-8d13c3742d8d

    Hope this helps!

    2 people found this answer helpful.
    0 comments No comments

  2. Gabriel Dispemec 431 Reputation points
    2022-11-22T16:43:15.097+00:00

    Are you opening SERVICES.msc as an administrator?
    Try running as administrator, and if that doesn't work, try:

    Method 1

    changing permissions

    1. Press Windows keys + Q and type: CMD , right-click on it and select Run as administrator ;
    2. Paste the commands below and press Enter after each one:

    REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /V EnableLUA /T REG_DWORD /D 0 /F [Enter]

    takeown /F c:\windows\system32 /r [Enter]

    secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verbose [Enter]

    1. When completed, close the window.

    Method 2

    Reset Windows Update Components

    Note: All commands will need to be pasted into the Command Prompt.

    1. On the desktop, press Windows + Q keys and type: CMD , click on it with the right mouse button and select Run as administrator .
    2. Stop Windows Update services: Make sure you press Enter after typing each command

    net stop bits [Enter]
    net stop wuauserv [Enter] 
    net stop appidsvc [Enter]
    net stop cryptsvc [Enter]

    1. Rename the Windows Update folders :

    REN %systemroot%\SoftwareDistribution SoftwareDistribution.bak [Enter]
    REN %Systemroot%\System32\Catroot2. catroot2.bak [Enter]
    REN %Systemroot%\System32\Catroot. catroot.bak [Enter]
    REN %systemroot%\System32\Spupdsvc.exe Spupdsvc.old [Enter]

    1. Reset the BITS service and the Windows Update :

    sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU); [Enter]

    sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU); [Enter]

    1. Set Startup Type to Windows Update Services automatic , paste the commands at the prompt:

    sc config wuauserv start= auto [Enter]
    sc config bits start= auto [Enter]
    sc config cryptsvc start= auto [Enter]
    sc config trustedinstaller start= auto [Enter]

    To finish the Windows Update reset process, register the DLL files , press the keys Windows + R and type: notepad and click on OK . Paste the commands below and then click File > Save as > Save on the desktop with the name reg.bat > Close the file and go to the desktop, click on the file with the right mouse button and click on Run as administrator .

    regsvr32.exe atl.dll
    regsvr32.exe urlmon.dll
    regsvr32.exe mshtml.dll
    regsvr32.exe shdocvw.dll
    regsvr32.exe browseui.dll
    regsvr32.exe jscript.dll
    regsvr32.exe vbscript.dll
    regsvr32.exe scrrun.dll
    regsvr32.exe msxml.dll
    regsvr32.exe msxml3.dl
    regsvr32.exe msxml6.dll
    regsvr32.exe actxprxy.dll
    regsvr32.exe softpub.dll
    regsvr32.exe wintrust.dll
    regsvr32.exe dssenh.dll
    regsvr32.exe rsaenh.dll
    regsvr32.exe gpkcsp.dll
    regsvr32.exe sccbase.dll
    regsvr32.exe slbcsp.dll
    regsvr32.exe cryptdlg.dll
    regsvr32.exe oleaut32.dll
    regsvr32.exe ole32.dll
    regsvr32.exe shell32.dll
    regsvr32.exe initpki.dll
    regsvr32.exe wuapi.dll
    regsvr32.exe wuaueng.dll
    regsvr32.exe wuaueng1.dll
    regsvr32.exe wucltui.dll
    regsvr32.exe wups.dll
    regsvr32.exe wups2.dll
    regsvr32.exe wuweb.dll
    regsvr32.exe qmgr.dll
    regsvr32.exe qmgrprxy.dll
    regsvr32.exe wucltux.dll
    regsvr32.exe muweb.dll
    regsvr32.exe wuwebv.dll