massgravel / Microsoft-Activation-Scripts

Open-source Windows and Office activator featuring HWID, Ohook, KMS38, and Online KMS activation methods, along with advanced troubleshooting.

Home Page:https://massgrave.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Pending reboot flags found" while changing the edition

YawanYadav opened this issue · comments

commented

Hi, I am trying to change my windows edition from Home to Professional but when I press 2 and press Enter then it is showing

"Errors"

Pending reboot flags found

Please restrart and try again

Screenshot 2024-04-01 092826

I ran the command irm https://massgrave.dev/get | iex in powershell with administrator but showing the same error again and again. Restrarted the computer multiple times.

I even looked for previous issues in case if anyone had this problem before but found none.

@YawanYadav

Open powershell as admin and enter

Test-Path -Path "$env:windir\WinSxS\pending.xml"
Get-ChildItem "HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending"
Get-Item "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired"

share screenshot

commented

Here it is

Screenshot 2024-04-01 093341

And One more thing, I disabled Windows Auto Update

C:\Windows\WinSxS\pending.xml

Your system has this file, and its causing the error. System automatically removes this file after system restart.
Try to run windows update and install all the updates and restart system a couple of times, it should fix it.
If not, please share that file here.

commented

Just a minute, I am installing update and I will let you know If it passes or fails.

Problem is that it is showing

2024-01 Security Update for Windows 10 Version 22H2 for x64-based Systems (KB5034441)
but installing stuck for few seconds and shows

There were some problems installing updates, but we'll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: (0x80070643)

I am trying to resolve it using some tweaks

Just a minute, I am installing update and I will let you know If it passes or fails.

Problem is that it is showing

2024-01 Security Update for Windows 10 Version 22H2 for x64-based Systems (KB5034441) but installing stuck for few seconds and shows

There were some problems installing updates, but we'll try again later. If you keep seeing this and want to search the web or contact support for information, this may help: (0x80070643)

I am trying to resolve it using some tweaks

windows_update_refresh.zip

Try this script.

commented

It is working. Thank you very much. But I need to ask you something before I change the edition, Will it permanently change the edition to Home to Professional and keep the professional edition even after a reset? Will it also unlock Encryption(Bitlocker)? Are there any downsides in changing edition using your wonderful scripts?

@YawanYadav
Reset won't change it back to Home edition, however if you clean install windows using consumer iso, it will install home because installer picks the motherboard license and auto chooses the edition based on that.
To get the list of edition while installing, you can get business iso from here https://massgrave.dev/genuine-installation-media.html or you can use ei,cfg file trick.

commented

Understood, But Will it have all the professional edition features?

Understood, But Will it have all the professional edition features?

Yes

commented

Thanks again for the all the help and these wonderful scripts