restore Enterprise LTSC key after MAS activation to keep RDP server
MAS HWID activation switches the edition from Enterprise LTSC to IoT Enterprise LTSC (which lacks the RDP server listener). Re-apply the Enterprise LTSC product key after activation to restore RDP capability. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
be2fd209e4
commit
dd5aeafae9
1 changed files with 3 additions and 0 deletions
|
|
@ -83,6 +83,9 @@ 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" (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue