Activate Office (2013)


i want activate office 2013 on remote computers. (kms & gp not possible)

ideally want send powershell script run activate locally.

the thing don't want key that's in script visible in plain text. ie don't want them open script & see key & use somewhere else.

all i've found @ moment this: (which fine if mask key somehow)

activate office:

cd "<c:\program files (x86)\microsoft office\office15>"
 
cscript ospp.vbs /inpkey:"xxxx-xxxx-xxxx-xxxx-xxxx"
cscript ospp.vbs /act
cscript ospp.vbs /dstatus   

if care simple obfuscation, can use base64 string , convert within script.

there absolutely nothing stopping curious of doing same thing manually though.




Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Windows 2016 RDS event 1306 Connection Broker Client failed to redirect the user... Error: NULL