We have O365 Business edition (en-us and lv-lv) installed which I need to remove
I have in my SCCM 2012 R2 Package ODT setup.exe file and uninstall.xml
setup.exe /configure uninstall.xml
<Configuration>
<remove ALL="TRUE" />
<Display Level="None" AcceptEULA="TRUE" />
<Logging Name="OfficeRemoval.log" Path="%temp%" />
</Configuration>
I see that package installed successfully but Program and Features show that Office 365 is in place and no log file created.
I see in Windows\temp different log file name and there is some info, which do not give me any useful info.
Start
processing idle queue job
{"ScopeAction": "Start", "ScopeName": "Mso::Telemetry::RuleManager::LoadXmlRules","ScopeInstance": 2, "ScopeParentInstance": 0, "TopActivityInstance": 2}070E8D26-2B4B-41F5-BF93-1132D3762DE9
OTele_ETW_TDC_LoadingRulesStarted {"ETW_EventId": 119, "ETW_Keywords": 4}070E8D26-2B4B-41F5-BF93-1132D3762DE9
::InitLogging {"MachineId": "905dd1e054e5ee45b89324498bb6224b", "SessionID": "1c84a07c-d69e-4257-8c7e-9a0df5990080","GeoID": 140, "Ver": "0.0.0.0", "C2RClientVer": "0.0.0.0", "ContextData": "{'ModulePath':'C:\\WINDOWS\\ccmcache\\a\\setup.exe','CommandLine':'/configure uninstall.xml','Bitness':'32','IntegrityLevel':'0x4000','SecuritySessionId':'0','ExeVer':'16.0.6612.6353','ProcessType':'ODT'}"}::InitLogging {"MachineId": "905dd1e054e5ee45b89324498bb6224b", "SessionID": "1c84a07c-d69e-4257-8c7e-9a0df5990080","GeoID": 140, "Ver": "0.0.0.0", "C2RClientVer": "0.0.0.0", "ContextData": "{'OSVersion':'6.1','SP':'0','ProductType:'0','ProcessorArch':'9','Locale':'1062'}"}Args::ParseArgument: Parsing commandline.Args::Load: Have Admin scenarioArgs::GetNextArgument: Next argument: /configureArgs::GetNextArgument: Next argument: uninstall.xmlArgs::GetConfigFile: config file: uninstall.xmlArgs::Load: product release id: none culture: en-usTrySetUserRegistry::TrySetAttemptGetKey: Setting Attempt Get Key for noneTrySetUserRegistry::TrySetLicenseTokenOrKey {"MachineId": "905dd1e054e5ee45b89324498bb6224b","SessionID": "1c84a07c-d69e-4257-8c7e-9a0df5990080", "GeoID": 140, "Ver": "0.0.0.0", "C2RClientVer": "0.0.0.0", "ContextData": "No key or token found for none"}HandleCommandLineAction::HandleStateAction: Not OOD scenario nor showing ODT help, check for elevation.TryGetElevation::HandleStateAction: Already running from elevated context.HandleCommandLineAction::HandleStateAction: Starting Admin tool scenario.HandleCommandLineAction::HandleStateAction: Start installation with configuration file: uninstall.xmlConfiguration::Load: Using config file: uninstall.xmlConfigFile::ParseAttribute: Value of Level: NoneConfigFile::ParseAttribute: Value of AcceptEULA: TRUEConfigFile::ParseAttribute: Value of Path: %temp%CabManager::DetermineCabName: Type:0, Platform:x86, Version:, Culture: -> v32.cabCabManager::DetermineCabName: Type:0, Platform:x86, Version:, Culture: -> v32.cabCabManager::DetermineCabName: Type:0, Platform:x86, Version:, Culture: -> v32.cabBaseConfigure::TryGetConfiguration: EULA's have been accepted.BootstrapperContext::UpdateSplashScreen: UI has been disabled.AdminConfigure::HandleStateAction: No product changes. Configuring an Update settings scenario.ConfigureUpdatesSettings::HandleStateAction: Installation path is: C:\Program Files\Common Files\Microsoft Shared\ClickToRunConfigureUpdatesSettings::HandleStateAction: Have Office ClickToRun Client.ConfigureUpdatesSettings::HandleStateAction: Updating configuration settings.ConfigureUpdatesSettings::HandleStateAction: Completed settings updates.ExitBootStateMachine::HandleStateAction: Bootstrapper workflow exiting with result: 0x0AdminBootstrapper::Main {"MachineId": "905dd1e054e5ee45b89324498bb6224b", "SessionID":"1c84a07c-d69e-4257-8c7e-9a0df5990080", "GeoID": 140, "Ver": "0.0.0.0", "C2RClientVer": "0.0.0.0", "ContextData": "AdminBootstrapper::Main: Installation came back with 0."}Call to GetPackageVersionToReport failed. {"SH_ErrorCode": -2147467259}MsoGetRemoteHostNetworkStatusWithUrlType failed {"RemoteHost": "https://nexus.officeapps.live.com"}
How to uninstall O365 completely from system?
When I lauch this command from system account locally result is the same.
I also tried other xml version, but I get promt Uninstall or not. It is not silent.
<Configuration><Remove>
<Product ID="O365BusinessRetail" >
<Language ID="en-us" />
<Language ID="lv-lv" />
</Product>
<Display Level="None" AcceptEULA="TRUE"/>
</Remove>
</Configuration>