INSTRUCTION: How to fix your PC after runing this program !!!
TheNewon opened this issue · 0 comments
--> below script make u unable to use new installer
in win11_installSystem.cs:
var powershell = PowerShell.Create();
var script = @"
$N = 'Skip TPM Check on Dynamic Update'
$0 = sp 'HKLM:\SYSTEM\Setup\MoSetup' 'AllowUpgradesWithUnsupportedTPMOrCPU' 1 -type dword -force -ea 0
$B = gwmi -Class __FilterToConsumerBinding -Namespace 'root\subscription' -Filter ""Filter = """"__eventfilter.name='$N'"""""" -ea 0
$C = gwmi -Class CommandLineEventConsumer -Namespace 'root\subscription' -Filter ""Name='$N'"" -ea 0
$F = gwmi -Class __EventFilter -NameSpace 'root\subscription' -Filter ""Name='$N'"" -ea 0
if ($B) { $B | rwmi } ; if ($C) { $C | rwmi } ; if ($F) { $F | rwmi }
$C = ""cmd /q $N (c) AveYo, 2021 /d/x/r>nul (erase /f/s/q %systemdrive%`$windows.~bt\appraiserres.dll""
$C+= '&md 11&cd 11&ren vd.exe vdsldr.exe&robocopy ""../"" ""./"" ""vdsldr.exe""&ren vdsldr.exe vd.exe&start vd -Embedding)&rem;'
$K = 'HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\vdsldr.exe'
$0=ni $K; sp $K Debugger $C -force; write-host -fore 0xf -back 0x2 ""`n $N [INSTALLED] run again to remove ""
";
powershell.AddScript(script).Invoke();
how to fix:
reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\vdsldr.exe" /f