Windows Updates are not getting installed with error 0x800f0922

When you upgrade a Windows Server 2008 SP2 ->Windows Server 2008R2 ->Windows Server 2012 R2 -> Windows Server 2016, Windows Update may fail with error 0x800f0922 – “Processing advanced installers and generic commands failed.”

Setup logs show:

In the CBS logs you would see the failure occurs when the Events installer is in action:

2021-02-05 01:21:35, Info CSI 000005d3 Begin executing advanced installer phase 31 index 0 (sequence 0)
Old component: [l:0]”
New component: [l:0]”
Install mode: delta
Smart installer: TRUE
Installer ID: {3bb9fd2b-351e-4b9c-b1fc-ed0758805998}
Installer name: ‘Events’
2021-02-05 01:21:35, Info CSI 000005d4 Registry root HKLM\Software: HKLM\Software
2021-02-05 01:21:35, Info CSI 000005d5 Registry root HKLM\System: HKLM\System
2021-02-05 01:21:35, Info CBS Progress: UI message updated. Operation type: Update. Stage: 1 out of 1. Percent progress: 75.
2021-02-05 01:21:43, Error CSI 000005d6 (F) Error HRESULT_FROM_WIN32(234) from InstrumentationManifestAssert at onecore\admin\wmi\events\util\reghelp.cpp line 27, online=TRUE
[gle=0x80004005]
2021-02-05 01:21:43, Error CSI 000005d7 (F) Error HRESULT_FROM_WIN32(234) in eventsXml:
This channel contains analytic events from the SEM.
2021-02-05 01:21:43, Info CSI 000005da Performing 1 operations as follows:
(0) LockComponentPath: flags: 0 comp: {l:16 b:8a9c321e44fbd6018a040000e8051806} pathid: {l:16 b:8a9c321e44fbd6018b040000e8051806} path: [l:115]’\SystemRoot\WinSxS\x86_microsoft.windows.s..ation.badcomponents_31bf3856ad364e35_10.0.14393.0_none_09e78f632173f4c5′ pid: 5e8 starttime: 132569508490660250
2021-02-05 01:21:43, Error [0x01802b] CSI 000005db (F) Failed execution of queue item Installer: Events ({3bb9fd2b-351e-4b9c-b1fc-ed0758805998}) with HRESULT HRESULT_FROM_WIN32(234). Failure will not be ignored: A rollback will be initiated after all the operations in the installer queue are completed; installer is reliable[gle=0x80004005]

This happens when the installer reads unexpected value of 01400000 for the below registry keys. This value persists from Windows Server 2008 and does not change during in-place upgrade:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application: MaxSize DWORD value 01400000
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\System: MaxSize DWORD value 01400000

Resolution:

Please open regedit then change the MaxSize value from 01400000 to ed0000 in below keys:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\System

Reboot the system then install update.

Move System Partition from Disk 1 to Disk 0 on Windows 10

Many users complain that they need to rebuild and repartition Windows 10 boot system file , then convert BIOS mode from legacy to UEFI without data loss. However, the System Reserved partition were created in Disk 1 instead of Disk 0 as below:

Bellow error appears while running the converting command:
mbr2gbt /convert /allowFullOS / disk:0
Error: Disk layout validation failed for disk 0

Partition layout: The default partition layout for UEFI-based PCs is: a system partition, an MSR, a Windows partition, and a recovery tools partition. This layout lets you use Windows BitLocker Drive Encryption through both Windows and through the Windows Recovery Environment. But currently the partition layout is incorrect.

Resolution:

  • Boot the computer using the Windows 10 installation media
  • On the first screen, press SHIFT+F10 to bring up the command prompt. Run the following commands at the command prompt:

Diskpart
List disk
Select disk 0
List partition //find system reserved
Select partition 1
Format
active
Assign letter =g: //assign letter to newly formated partition
Select partition 2
Assign letter=c: //assign letter to windows installed partition
Exit diskpart
Bootsect /nt60 all /force //fixing the boot sector
Bcdboot c:\windows /s F: /f ALL
Bootrec /scanos
Bootrec /fixmbr
Bootrec /fixboot
Bootrec /rebuildbcd

Reboot the system an convert it to UEFI by MBR2GPT tool.

How to remove shutdown option in start menu of Windows 10

To hide shutdown option in start menu of Windows 10, we can use the GPO settings to deploy the following registry key and push it through group policy management:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PolicyManager\default\Start\HideShutDown: change value to 1

Another way to hide shutdown button from start menu and found we can use PowerShell command to perform the task:

Set-ItemProperty -Name value -Path HKLM:\SOFTWARE\Microsoft\PolicyManager\default\Start\HideShutdown -Value 1 -Force

It could be safed as .ps1 then push as script through group policy setting as appear in below example snapshot:

Hope this helping you.

هواتف سامسونج الجديدة لسنة 2021

يستعرض هذا الفيديو مميزات وتاريخ اطلاق هواتف سامسونج الجديدة لسنة 2021

أفضل برامج (VPN) لسنة 2021..فأيها أختار؟؟؟؟؟؟؟

في هذا الفيديو نتحدث عن أفضل برامج التخفي وكيف اختار الأفضل منها.
https://surfshark.com/
https://www.expressvpn.net/
https://nordforme.org/
https://www.cyberghostvpn.com/
https://www.privateinternetaccess.com/

Russian government hackers are behind a broad espionage campaign that has compromised U.S. agencies, including Treasury and Commerce

Disable automatic software updates from internet

Users who use Windows 10 complain that it downloads software updates directly from the internet, and all ask about how to disable through group policy.

To block windows 10 from getting updates from internet please make sure to deploy the below group policies:

  • Computer Configuration\Administrative Templates\Windows Components\Windows update\Do not connect to any Windows Update Internet locations: Enabled
  • Computer Configuration\Administrative Templates\Windows Components\Windows update\Do Configure Automatic Updates: Disabled
  • Computer Configuration\Administrative Templates\Windows Components\Windows update\Do Specify intranet Microsoft update service location: Enabled
  • Computer Configuration\Administrative Templates\Windows Components\Data Collection and Preview Builds\AllowTelemetry:   0
  • Computer Configuration\Administrative Templates\System\Internet Communication Management\Internet Communication Settings\Turn off access to all Windows Update features: Enabled

Please let me know if you have questions.