激活windows和office,我推荐使用以下方法,拒绝使用任何激活工具,推崇绿色无毒无广告的工作学习环境。
拒绝使用Ghost安装系统,推荐MSDN原版系统,步骤多一点,使用放心多一点。
cscript slmgr.vbs -ipk W269N-WFGWX-YVC9B-4J6C9-T83GX
cscript slmgr.vbs -ato
cscript slmgr.vbs -xpr@ECHO OFF
TITLE windows and office
@ECHO OFF
set kmserver="dint.com.cn:9001"
set systempath="%windir%\system32\cscript.exe"
%systempath% slmgr.vbs -skms %kmserver%
%systempath% slmgr.vbs -ato
for /l %%a in (8,1,16) do (
for /f "tokens=*" %%i in ('reg query "HKEY_CURRENT_USER\Software\Microsoft\Office\%%a.0\Word\Options" /v "PROGRAMDIR"') do (if not "%%i"=="" set Ever=%%a))
cls
if exist "%ProgramFiles%\Microsoft Office\Office%Ever%\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office%Ever%"
if exist "%ProgramFiles(x86)%\Microsoft Office\Office%Ever%\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office%Ever%"\
cscript ospp.vbs /sethst:%kmserver%
cscript ospp.vbs /act
cscript ospp.vbs /dstatus
exit
下面以windows10为例,请看图