/build/static/layout/Breadcrumb_cap_w.png

Script does not run correctly

I have a script that will remove office 365 and install office 2019 as a batch file. I'm running it as a local admin to PC. It removes office 365 but blows up on office 2019. 

I have another script similar that removes office 2016 and install office 365 and that works. 

output log:

Running as SYSTEM Microsoft (R) Windows Script Host Version 5.812 Copyright (C) Microsoft Corporation. All rights reserved. Creating process returned non-zero: C:\ProgramData\Quest\KACE\kbots_cache\packages\kbots\1530\c:\windows\system32\cscript.exe office365removal.vbs /ByPass 1 /Q /NoCancel: (0) The operation completed successfully. Error Code: 0 Status Code: 8Debug.logRunning kbot: runkbot 1530 1660768255
KBotScript::LogScriptInfo - Start id=1530 name=KD_remove office365 install 2019 version=1660768255 type=policy execute disconnected=false logged_off=true execute events KBotScript::LogScriptInfo - Finish KBotScript::LogScriptInfo - Start id=1530 name=KD_remove office365 install 2019 version=1660768255 type=policy execute disconnected=false logged_off=true execute events KBotScript::LogScriptInfo - Finish KBotScriptManager::CleanupDependencies - clean up dependencies in kbot directory C:\ProgramData\Quest\KACE\kbots_cache\\packages\kbots\1530\ CleanupDependencies: file kace2277.bat is part of the dependency list, keep the file CleanupDependencies: file office365removal.vbs is part of the dependency list, keep the file CleanupDependencies: file Office365shortcuts.ps1 is part of the dependency list, keep the file CleanupDependencies: file officeshort.vbs is part of the dependency list, keep the file runkbot ----- launching [path='C:\ProgramData\Quest\KACE\kbots_cache\packages\kbots\1530' program='c:\windows\system32\cscript.exe' parms='office365removal.vbs /ByPass 1 /Q /NoCancel' wait='true'] -----

0 Comments   [ + ] Show comments

Answers (0)

Be the first to answer this question

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ