I am attempting to uninstall Microsoft Office 2010 x86 then install Office 2013 x64.

To uninstall Office x86, I am using OffScrub10.vbs which was extracted from a Microsoft FixIt outlined here - http://goo.gl/3JD0og

I am calling the VBScript to uninstall, then the Office setup.exe in a batch file here:

 @echo off

pushd %~dp0

start /wait "" cscript offscrub10.vbs All /force 

start setup.exe 

This all works fine ran directly on the PC.

When it is put in a zip file with the Office 2013 files, and the .bat file is called in the managed install, the install completely skips the VBScript.

Is there a way around this? Is it even possible?

2 Comments   [ + ] Show Comments


  • Do you have to uninstall 2010? You can't just install 2013 over top of it?
    • The Office 2013 64 bit setup will not uninstall or install over the Office 2010 installation because the bitness is different. eg. x64 vs x86
  • This content is currently hidden from public view.
    Reason: Removed by member request
    For more information, visit our FAQ's.
  • This content is currently hidden from public view.
    Reason: Member has been banned from the site
    For more information, visit our FAQ's.
  • Were you ever able to get it to work? I'm trying to do the same thing even using jagadeish's link I can't find a way to add switches.
    • There were only a handful of computers that we needed to use this on, so we just ran the batch file by hand from an external hard drive.
      Though, I believe this may be possible with the 6.0 version of the k1000 now having VB script support.
Please log in to comment



Try with this

Start /wait Cscript.exe //B // NoLogo "%~dp0OffScrub10.vbs" All /Force

Answered 11/22/2013 by: jagadeish
Red Belt

  • No this still does not work.
    Does the K1000 have a problem with calling VBScripts?
    • http://www.itninja.com/blog/view/kace-running-vbs-script-in-scripting
Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja