Skip to content

Instantly share code, notes, and snippets.

@khiemdoan
Last active February 17, 2023 03:39
Show Gist options
  • Save khiemdoan/64f42a9a06fb0bf41429fbee2aa62578 to your computer and use it in GitHub Desktop.
Save khiemdoan/64f42a9a06fb0bf41429fbee2aa62578 to your computer and use it in GitHub Desktop.
Active M$ products

Active Windows 11

Active Windows 11 Pro

# Open Powershell/Command Prompt as administrator
slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
slmgr /skms kms8.msguides.com
slmgr /ato

Active Office Standard 2021

Convert to Office 2021 VL

cd /d %ProgramFiles%\Microsoft Office\Office16
for /f %i in ('dir /b ..\root\Licenses16\Standard2021VL_*.xrm-ms') do cscript ospp.vbs /inslic:"..\root\Licenses16\%i"
start winword
exit

Active 180 days:

cd /d %ProgramFiles%\Microsoft Office\Office16
cscript ospp.vbs /inpkey:KDX7X-BNVR8-TXXGX-4Q7Y8-78VT3
cscript ospp.vbs /sethst:kms.digiboy.ir
cscript ospp.vbs /act
cscript ospp.vbs /remhst

Visual Studio 2021

Professional

TD244-P4NB7-YQ6XK-Y8MMM-YWV2J

2021 Enterprise

VHF9H-NXBBB-638P6-6JHCY-88JWH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment