Windows Update Stuck Pending


I’m not sure if these operations would cause any other problems (and if it safe to do so.), but at least I can install features now. And these are what I’ve done.

It’s important to backup before doing these.

Basically, I’m cleaning CBS update pending records.

  1. Open regedit, find HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component
    Based Servicing
    . You will see PackagesPending, right click it, open Permission. Click on Advanced, change owner to Administrator (or any other users you are using). Close Advanced Window. Give that user Full
     in Permission Window. And delete PackagesPending.
  2. Repeat 1. to Reboot
  3. Open X:\Windows\WinSxS in explorer, you will see pending.xml. In its Properties, repeat 1. And delete pending.xml.
  4. Reboot and everything looks well now.

And, don’t forget backup registry and files you deleted.


Internet Explorer Install Failing Even Though Prerequisites Are Installed

Check the IE11_main.log file in C:\Windows. Find which prerequisites the installer is not seeing. Will usually be a time out issue with the WMI Query. Can possibly see one or both of the following errors:

Setup exit code: 0x00009C47 (40007) – Required updates failed to download.

WMI query for Hotfixes timed out. Query string: ‘Select HotFixID from Win32_QuickFixEngineering WHERE HotFixID=”KB2729094″‘  Error: 0x00040004 (262148).


  1. Open a powershell window for each prerequisite
  2. Run the following loop command changing the KB number for each prerequisite
    1. While($true){
      Get-WmiObject -Query ‘Select HotFixID from Win32_QuickFixEngineering WHERE HotFixID=”KB2729094″‘}


Getting Schannel 36874 Errors



To workaround this issue, we can set the event logging value to 0 under:


Basically turning off Schannel alerting.

[SOLVED] The Group Policy Client service failed the logon. Access denied


2 Methods to Fix “The Group Policy Client service failed the logon. Access denied.”


When you try to log on to your Windows account, you might encounter the error “The group Policy Client service failed the logon. Access is denied.


When you click OK, the system will return you back to the login screen. Searching this on the net gave a lot of answers but none of them seemed to solve it. In the end we discovered that it is a permissions problem and not a corrupt profile problem. Here’s two methods to fix this issue.

Before getting started, you need to log on to your computer with a working administrator account. Then follow the solutions below to fix the problem for your affected account.

Method 1: Regain Registry Permissions

  1. Press the Windows key + R to bring up the Run box. Type regedit and hit Enter.
  2. When the Registry Editor opens, select HKEY_USERS in the left pane. Now, pull down the File menu and choose the Load Hive option.


  3. When the Load Hive dialog appears, select All Files in the Files of type box. Navigate to your affected profile folder (for example, C:\Users\<user_name>) and select the NTUSER.DAT hive. Click Open.


    Note: if the NTUSER.DAT file doesn’t show up, you might need to configure Windows to display the hidden files.

  4. It will ask you for a name. Give it any name, it doesn’t matter what it is.


  5. You will now see the hive you just loaded with the name you gave it under the HKEY_USERS key. In my example, the entire NTUSER.DAT hive has been loaded into the Registry Editor under the registry location: HKEY_USERS\NTUSER.
  6. Right-click on HKEY_USERS\NTUSER and select Permissions.


  7. Here you should see at least three accounts: System, Administrators and the name of your affected user account who’s profile you are fixing. If ANY of these are not shown it will not work. You need to add all three and then give them full control in the Permissions section.


  8. Once you have added all three and given them the correct permissions, click the File menu and select Unload Hive. Close the Registry Editor.


  9. Log off or restart your computer. You should be able to login successfully with your account that you were having trouble with.

Method 2: Deleting the Local Profile

This method works by deleting your affected local profile, so you can then log back on. After successfully logging on, Windows will automatically create a new profile for your account. Here’s how to delete the profile for your affected Windows account in Windows 10, 8, 7 and Vista:

  1. Right-click on My Computer icon on your desktop, and then select Properties.


  2. From there, click the Advanced System Settings link on the left-hand side.


  3. When you see the System Properties dialog, click the Settings button in the User Profiles section.


  4. In the User Profiles dialog box, select the profile of your affected user account and click on Delete.


  5. Click OK to confirm. Now you’ve successfully deleted a user profile. Your problem should be fixed by now.