Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

KMS_Office_2010_Plus-Visio-Project Activation script

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

@ ECHO OFF

Setlocal ENABLEDELAYEDEXPANSION

Title KMS Office series [Comlan]

:: mode con: cols=65 lines=25

Color 0A

:: batch process to obtain administrator rights

:--

1 mshta _ vbscript:createobject ("shell.application") .shellexecute (""% ~ 0 "", ":", "runas", 1) (window.close) & & exit / b

Pushd "CD%"

CD / D "% ~ dp0"

:--

Set BatPath=%~dp0

Set BatPath=%BatPath:~0,-1%

For / f "tokens=6 delims= [].% G in ('ver') do set win=%%G

Rem judges 32 + + 64 bits

Set "ospp=%ProgramFiles%\ Microsoft Office\ Office14\ ospp.vbs"

If not exist "% ospp%"

Set "ospp=%ProgramFiles (x86)%\ Microsoft Office\ Office14\ ospp.vbs"

)

:--

: set variable =

Set ip=172.19.34.146

: start KMS server = =

: 172.19.32.146

If errorlevel% EQU 0 (

Echo connection to KMS server:% ip% successful!

Echo.

) else (goto: 172.19.34.146)

: start activation =

ECHO.Office is activating...

:: uninstall the installed product key The following number is the last five digits of the key.

:: cscript ospp.vbs / unpkey:xxxxx

:: Office Professional Plus Key

:: Visio Professional Key

:: Project Professional Key

Cscript "ospp%" / inpkey:VYBBJ-TRJPB-QFQRF-QFT4D-H3GVB > nul

Cscript "ospp%" / inpkey:7MCW8-VRQVK-G677T-PDJCM-Q8TCP > nul

Cscript "ospp%" / inpkey:YGX6F-PGV49-PGW3J-9BTGG-VHKC6 > nul

Cscript "ospp%" / sethst:%ip% > nul

Cscript "% ospp%" / act

Pause

: dstatus

Cls

Echo Office Activation status...

Cscript "% ospp%" / dstatus

Pause

Goto: Exit

: Exit

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report