remove slmgr key restore after MAS activation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ed92e36456
commit
096d690f57
1 changed files with 0 additions and 4 deletions
|
|
@ -83,10 +83,6 @@ in
|
||||||
if exist C:\MAS_AIO.cmd (
|
if exist C:\MAS_AIO.cmd (
|
||||||
echo. | call C:\MAS_AIO.cmd /HWID
|
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)
|
:: Activate Office using Ohook method (if Office is installed)
|
||||||
if exist "C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE" (
|
if exist "C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE" (
|
||||||
if exist C:\MAS_AIO.cmd (
|
if exist C:\MAS_AIO.cmd (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue