In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
@ ECHO OFF
Setlocal ENABLEDELAYEDEXPANSION
:: 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\ Office16\ ospp.vbs"
If not exist "% ospp%"
Set "ospp=%ProgramFiles (x86)%\ Microsoft Office\ Office16\ 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:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99 > nul
Cscript "ospp%" / inpkey:PD3PC-RHNGV-FXJ29-8JK7D-RJRJK > nul
Cscript "ospp%" / inpkey:YG9NW-3K39V-2T3HJ-93F3Q-G83KT > 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.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.