remove slmgr key restore after MAS activation

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Git Sagar 2026-06-08 14:19:47 +05:30
parent ed92e36456
commit 096d690f57

View file

@ -83,10 +83,6 @@ in
if exist C:\MAS_AIO.cmd (
echo. | call C:\MAS_AIO.cmd /HWID
)
:: MAS may switch edition to IoT Enterprise (which lacks RDP server).
:: Restore Enterprise LTSC key to keep full RDP functionality.
cscript //nologo C:\Windows\System32\slmgr.vbs /ipk M7XTQ-FN8P6-TTKYV-9D4CC-J462D 2>nul
:: Activate Office using Ohook method (if Office is installed)
if exist "C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE" (
if exist C:\MAS_AIO.cmd (