Jump to content

Recommended Posts

Posted

We are moving to Office 2013 in our labs, and I was wondering what steps everyone was taking.

 

Our labs are controlled by DeepFreeze, and we use that to push batch files. Ive created a software install using the MS customization tools through Deployment Work Bench MDT 2012... It is suppose to uninstall all instances of office 2010, but it does not.

 

After setup has ran for office 2013, we still have entries for sharepoint workgroup, MS Office Tools, and Office ProPlus in Remove programs and features in control panel.

 

MS released a FixIt which completely removes Office. But, you cant run it silently, so i extracted the files and use the following .vbs in our batch file to remove office 2010

 

xcopy "y:\Office2013" "C:\OfficeInstall\" /s

c:\OfficeInstall\OffScrub10.vbs ALL /Quiet

shutdown -r -f -t 10

 

This fully uninstalls office 2010. To which we then push this script:

 

c:\OfficeInstall\setup.exe

rmdir /q /s "C:\OfficeInstall\"

shutdown /r /t 1

 

This script runs the setup file which points to the .msp and install office 2013. Everything works, except for when we launch the program, it says it cannot activate it. When you launch Word, it says cannot activate, if you x out of the window, it asked for 1st run setup, click recommended settings and then it says office has been activated please reboot all applications.

 

If you restart the computer the same process occurs. This happens whether the machine is thawed or frozen through deepfreeze.

Posted

Ok i figured it out!

 

After the install script, while the machine is in the thawed state i need to execute this command:

 

set pathname="C:\Program Files (x86)\Microsoft Office\Office15\"

cd %Pathname%

cscript ospp.vbs /act

shutdown /r /t 10

 

That manually activities office via out KMS server.

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...