OFFICE 20,160 Sales conversion to large client edition

Source: Internet
Author: User

#KMS-server Client Execution script

#将以下内容另存为OFFICE 20,160 Sale Version convert large client version. BAT, run as Administrator

@ECHO off&pushd%~dp0

Setlocal enabledelayedexpansion&color 3e & cd/d "%~dp0" title OFFICE 20,160 Sales Conversion Large Client Edition

%1%2 mshta vbscript:createobject ("Shell.Application"). ShellExecute ("%~s0", "Goto:runas", "" "," RunAs ", 1) ( Window.close) &goto:eof:runas

If exist "%ProgramFiles%\Microsoft Office\office16\ospp.vbs" cd/d "%ProgramFiles%\Microsoft Office\Office16" if exist " %programfiles (x86)%\microsoft Office\office16\ospp.vbs "cd/d"%programfiles (x86)%\microsoft Office\Office16 "

: WH CLS Echo. echo                          Select the Office version number that you want to convert echo. Echo--------------------------------------------------------------------------------                                                            echo                  1. The retail version of OFFICE Pro Plus 2016 translates to the big client version of ECHO. echo                 2. The retail edition of OFFICE Visio Pro 2016 translates to the large client version of ECHO. echo                 3.The retail version of OFFICE Project Pro 2016 translates to the large client version of ECHO. Echo. --------------------------------------------------------------------------------                                                           set/p tsk= " Please enter the Office version ordinal "carriage return" confirmation (1-3) that requires conversion: "If not defined tsk goto:err if%tsk%==1 goto:1 if%tsk%==2 goto:2 if%tsk%==3 goto:3

: Err Goto:wh

: 1 CLS

Echo is resetting OFFICE2016 retail activation ... cscript ospp.vbs/rearm

ECHO is installing KMS license ... for/f%%x in (' Dir/b. \root\licenses16\proplusvl_kms*.xrm-ms ') do cscript ospp.vbs/inslic: ". \root\licenses16\%%x ">nul

ECHO is installing MAK license ... for/f%%x in (' Dir/b. \root\licenses16\proplusvl_mak*.xrm-ms ') do cscript ospp.vbs/inslic: ". \root\licenses16\%%x ">nul

Echo is installing the KMS key ... cscript ospp.vbs/inpkey:xqnvk-8jydb-wj9w3-yj8yr-wfg99

Goto:e

: 2 CLS

Echo is resetting Visio2016 retail activation ... cscript ospp.vbs/rearm

ECHO is installing KMS license ... for/f%%x in (' Dir/b. \root\licenses16\visio??? Vl_kms*.xrm-ms ') do cscript ospp.vbs/inslic: ". \root\licenses16\%%x ">nul

ECHO is installing MAK license ... for/f%%x in (' Dir/b. \root\licenses16\visio??? Vl_mak*.xrm-ms ') do cscript ospp.vbs/inslic: ". \root\licenses16\%%x ">nul

Echo is installing the KMS key ... cscript ospp.vbs/inpkey:pd3pc-rhngv-fxj29-8jk7d-rjrjk

Goto:e

: 3 CLS

Echo is resetting Project2016 retail activation ... cscript ospp.vbs/rearm

ECHO is installing KMS license ... for/f%%x in (' Dir/b. \root\licenses16\project??? Vl_kms*.xrm-ms ') do cscript ospp.vbs/inslic: ". \root\licenses16\%%x ">nul

ECHO is installing MAK license ... for/f%%x in (' Dir/b. \root\licenses16\project??? Vl_mak*.xrm-ms ') do cscript ospp.vbs/inslic: ". \root\licenses16\%%x ">nul

Echo is installing the KMS key ... cscript ospp.vbs/inpkey:yg9nw-3k39v-2t3hj-93f3q-g83kt

Goto:e

: E Echo. echo conversion complete, press any key to exit! Pause >nul Exit

OFFICE 20,160 Sales conversion to large client edition

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.