Sunday, 24 February 2019

How to reset each Windows Update Component to default manually

How to reset each Windows Update Component to default manually
Most of the times, we face issues with Windows updates. There are several error codes related to Windows updates and most of the times, they get fixed by running Windows Update troubleshooter. But sometimes, if the Windows update components get corrupted, we need to reset the Windows update component to default by performing some manual actions which include running commands to reset windows update components. In this article, I will mention the steps to reset the Windows Update component to default:

1. Windows Updates work properly if three windows services work properly. These three services are Background Intelligent Transfer Service, Windows Update and Cryptographic Services. There are a few more services that are responsible for proper functioning of Windows updates but we won't have to worry about them. So the first task would be, disabling these services. To disable these services, open cmd with admin rights and run the following commands:
net stop bits
net stop wuauserv
net stop appidsvc
net stop cryptsvc

2. Next step is, to delete the qmgr*.dat files. In order to do so, run the following command in elevated command prompt window:
Del "%ALLUSERSPROFILE%\Application Data\Microsoft\Network\Downloader\qmgr*.dat"
(This step can be skipped if you are trying to resolve the windows updates issues for the first time. This step is suggested to be used only if everything has failed and you have no option left to troubleshoot windows updates issue)

3. SoftwareDisribution and Catroot2 folders store the downloaded update files and some old unwanted cache also remains in these folders. So we will rename these folders and will create new copies of these folders now. To do so, run the following commands in elevated command prompt window:
Ren %systemroot%\SoftwareDistribution SoftwareDistribution.bak
Ren %systemroot%\system32\catroot2 catroot2.bak

4. Now we need to reset the BITS service and the Windows Update service to the default security descriptor. To do so, run the following commands in elevated command prompt:
sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)

5. Now run the following commands one by one in the elevated cmd window to re-register the Windows Updates related dll files:
cd /d %windir%\system32
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.dll
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

6. Now we need to delete the incorrect registry values. To do so, open registry editor by running regedit in the Run box and locate the path HKEY_LOCAL_MACHINE\COMPONENTS
Now in the right pane, delete the following keys and restart your computer:
PendingXmlIdentifier
NextQueueEntryIndex
AdvancedInstallersNeedResolving
Note: If these are not available in your Windows registry, skip this step.

7. Now reset the Winsock by running the following command:
netsh winsock reset

8. Now we need to start the Background Intelligent Transfer Service, Windows Update and Cryptographic Services. To do so, run the following commands in elevated command prompt window:
net start bits
net start wuauserv
net start appidsvc
net start cryptsvc

9. Now make sure you have installed the latest Windows Update Agent in your machine if you are using Windows 7/8/8.1
Read this article to manually update your Windows Update Agent: https://support.microsoft.com/en-in/help/949104/how-to-update-the-windows-update-agent-to-the-latest-version

10. Finally, reatart your computer and try installing Windows updates. There should not be any errors now.

Keep visiting PC Tricks Guru for more troubleshooting guides.
Share:

Fix Windows Update Error 0x8024000B for Windows 10

Fix Windows Update Error 0x8024000B for Windows 10

Windows update error 0x8024000B occurs when Windows cannot read the Update Manifest file required for installing the updates. It means that the update is either canceled by Windows services or the user. To fix this error, we have simple steps available which you can try.

Fix Windows Update Error 0x8024000B for Windows 10 

1. Run Cleanup (Decline) Superseded updates PowerShell script
The poweshell script to fix this error is shared on the Microsoft Technet website. You may download the fixit tool from here: https://gallery.technet.microsoft.com/scriptcenter/Cleanup-WSUS-server-4424c9d6. Just download the tool and run it and then restart your computer. After restarting the computer, check if the error still appears.

2. Rename the Spupdsvc.exe file
To rename the Spupdsvc.exe file, run the following command in run box by pressing Win+R keys and restart your computer. Then check if the error still persists.
cmd /c ren %systemroot%\System32\Spupdsvc.exe Spupdsvc.old

3. Run the Windows Update troubleshooter
Go to Start > Settings > Updates and Security > Troubleshoot. Now select and run the Windows Updates Troubleshooter and restart your computer once done. Then check for updates and check if the issue still remains the same.

In most of the cases, the error code 0x8024000B gets resolved by following any of the three options mentioned above. Keep visiting PC Tricks Guru for more tips and tricks and troubleshooting guides.
Share:

How to fix windows update error code : 0x8024000E

0x8024000E

If you are trying to update your Windows 10 device and if you get the error code 0x8024000E, then there is a possibility that Windows update agent is corrupt. When Windows update agent doesn't work properly, it is unable to read the update.xml file that contains information about system and driver updates.

Fix windows update error code : 0x8024000E

1. Run the Windows Update Troubleshooter:
> Click on Start button and type Troubleshoot and from the search results, open "Troubleshoot settings".
> Now under "Get up and running" section, click on "Windows update" and click "Run the troubleshooter"
windows update troubleshooter
> Check if the error is still appearing after running the troubleshooter.

2. Clean the Windows update temporary cache files
> Open C:\Windows\SoftareDistribution\Download and delete all the files from this folder. Do the same for C:\Windows\SoftareDistribution\DataStore folder as well.
> Now restart your computer and then check if the error still persists.

3. Reset Windows update agent
> Download and run the tool from https://gallery.technet.microsoft.com/scriptcenter/Reset-Windows-Update-Agent-d824badc
Reset Windows update agent
> Restart your computer and check if the error has been fixed.
Share:

Wednesday, 20 February 2019

Activate Office 2019 Pro Plus Using the Generic Key

Activate Office 2019 Pro Plus Using the Generic Key
Office 2019 is the latest version of Microsoft Office suite launched by Microsoft. It's interface is almost same as the previous version of Microsoft Office, that is Office 2016 and only a few new features and improvements have been added. You may download the Office 2019 Pro Plus ISO file from https://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/media/en-us/ProPlus2019Retail.img and install it in your computer. After installing the trial version, follow the steps given below to activate the software without any problems:

1. Open notepad and copy and paste the following script in it:
@echo off
title Office Activation Wizard&cls&echo ============================================================================&echo Office 2019 Standard and Office 2019 Pro Plus Activation&echo ============================================================================&echo.&echo #Supported products:&echo - Microsoft Office Standard 2019&echo - Microsoft Office Professional Plus 2019&echo.&echo.&(if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16")&(if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16")&(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&(for /f %%x in ('dir /b ..\root\Licenses16\ProPlus2019VL*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%%x" >nul)&echo.&echo ============================================================================&echo Activating your Office...&cscript //nologo slmgr.vbs /ckms >nul&cscript //nologo ospp.vbs /setprt:1688 >nul&cscript //nologo ospp.vbs /unpkey:6MWKP >nul&cscript //nologo ospp.vbs /inpkey:NMMKJ-6RK4F-KMJVX-8D9MJ-6MWKP >nul&set i=1
:server
if %i%==1 set KMS_Sev=kms7.microsoft.com
if %i%==2 set KMS_Sev=kms8.microsoft.com
if %i%==3 set KMS_Sev=kms9.microsoft.com
if %i%==4 goto notsupported
cscript //nologo ospp.vbs /sethst:%KMS_Sev% >nul&echo ============================================================================&echo.&echo.
cscript //nologo ospp.vbs /act | find /i "successful" && (echo.&echo ============================================================================&echo.&echo&goto halt
:notsupported
echo.&echo ============================================================================&echo Sorry! Your version is not supported.&echo
:halt
pause >nul
2. Now save the file as activate.cmd
3. Run the activate.cmd file as admin and a command prompt window will appear and would try to activate office. After activation, the cmd window would disappear.
4. Launch your office apps and check the activation status. It should be activated now.
Activate Office 2019 Pro Plus Using the Generic Key

Video Tutorial:
Keep visiting for more tips and tricks.
Share:

Custom Search Box

Subscribe Our Newsletter

Advertise With Us