AveYo / MediaCreationTool.bat

Universal MCT wrapper script for all Windows 10/11 versions from 1507 to 21H2!
MIT License
8.99k stars 3k forks source link

Skip_TPM_Check_on_Dynamic_Update.cmd script doesn't work from build 22543 onwards #111

Closed ripkaby closed 2 years ago

ripkaby commented 2 years ago

The script used to work on older builds, but since 22543, windows installer still prompts lack of tpm every time there is a build update. Tried uninstalling and reinstalling the script. Had to resort to using [Quick_11_iso_esd_wim_TPM_toggle.bat] to update.

AveYo commented 2 years ago

works fine here. maybe it's an issue with your antivirus blocking it?

Nirob3x commented 2 years ago

@ripkaby just turn off your windows defender or any other antivirus, it will work. and @AveYo Thanks for the script.

ripkaby commented 2 years ago

Just tested with upgrading to 22567.1 again still with no luck. Antivirus (disabled) was disabled, script was rerun and still was greeted with "The PC must support TPM 2.0" message. Is there anything I should attach here? Thanks!

AveYo commented 2 years ago

The script definitely still works with 22567, I have a dozen of confirmations, including my own.

You can provide C:\$WINDOWS.~BT\Sources\Panther logs (zip / attach / share them)

ripkaby commented 2 years ago

Panther.zip

Thanks very much. Just tried again and still didn't work.

AveYo commented 2 years ago

No trace of bypass script running.
Report to the dumbers at Bitdefender as a false-positive with the script url
The bypass is all registry-based, under: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SetupHost.exe
No idea if you can whitelist that yourself

ripkaby commented 2 years ago

Can't even find this key in regedit lol... Is there any way I can manually add the key? Still figuring out if I can whitelist a registry

ripkaby commented 2 years ago

Just tried again with defender off, bitdefender uninstalled and rerun the script multiple times after fresh reboot and still with no luck... Thanks for the huge work tho Am going to wait for a few more days before resorting to just upgrading via complete iso Panther.zip

"HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SetupHost.exe" still does not exist Attempted creating one (but idk what dword to add), and after running the script to install bypass, the key disappeared.

AveYo commented 2 years ago

Same. Bitdefender is not even uninstalled in this instance. Did you restart your machine? (might also want to disable Fast Startup).

I can't really help with your configuration blocking the script.

ripkaby commented 2 years ago

So, interesting update Made sure Bitdefender is uninstalled (which already is), fresh reboot, defender disabled, rerun the script twice. Still had the error.

Then I run the script again to uninstall it. (Green installed prompt and pressed a key to uninstall) Performed windows update again, still with defender disabled and not yet restarted. This time, Windows Server Setup error prompted me that it could not determine the version of windows I'm running, but after closing the window. it just went on and install the update to next build anyway.

So... Problem solved? Script somehow work under half uninstalled environment... Thanks @AveYo very much, I can finally easily upgrade to next build again! Will attach panther logs later

AveYo commented 2 years ago

Guess so. I would re-run the script.
Just remember, Green Prompt = bypass installed. Magenta = bypass uninstalled. You want green obviously

ripkaby commented 2 years ago

Quick update: BSOD during upgrade, had to re do everything. The script is reported to be uninstalled (Magenta). Proceeded to download update again and succeeded. Guess somehow for my PC, the installation message is inverted?... Happy to say it now works like how it used to. Will attach panther logs later (if no BSOD happens again lol ;-;)

ripkaby commented 2 years ago

Everything worked after several bsods. No logs available, windows deleted them

AveYo commented 2 years ago

I haven't seen a BSOD in what is now more than 100 installs, most on separate devices.
It screams bad drivers (be it device drivers, or kernel drivers like for example those used by antivirus software). Great you managed to brute-force it ;)