Hello-
I am trying to create a script that will uninstall Office 2010 on a W7 Pro workstation with the VBS scrubber file via SCCM 2012 R2 package. I use a standard package/program with a bat file. The package runs only when a user is logged in and runs with admin rights. This is my bat file:
@echo off
taskkill /F /IM "Excel.exe"
taskkill /F /IM "Winword.exe"
taskkill /F /IM "Outlook.exe"
taskkill /F /IM "MSPUB.exe"
taskkill /F /IM "Onenote.exe"
taskkill /F /IM "POWERPNT.EXE"
taskkill /F /IM "Visio.EXE"
cscript OffScrub10.vbs All /Q /NoCancel /BYPASS 1
This script works fine executed locally on to the workstation but if I run it via SCCM package (with admin rights) this is what the bat file returns:
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.
Microsoft Customer Support Services - Office 2010 Removal Utility
Version: 1.36_fixit
64 bit OS: True
Start removal: 10/10/2014 5:05:44 PM
Insufficient registry access permissions - exiting
Remove temporary registry entries
Any ideas? TIA