Office full-line activation Scripts-Improved edition

Source: Internet
Author: User

TITLE Office full version System activation
@echo off
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))
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:
cscript ospp.vbs/act
cscript Ospp.vbs/dstatus

Create a new text document copy the above code and save it as a full-line activation script for Office-modified version. cmd

Office full-line activation Scripts-Improved 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: 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.