groovykerop.blogg.se

Microsoft office 365 uninstall tool
Microsoft office 365 uninstall tool







microsoft office 365 uninstall tool

Set-RegistryKey -Key "HKCU\Software\Microsoft\Office\$($Office365_ClickToRun_Version_MajorMinor)\Outlook\AutoDiscover" -Name "ZeroConfigExchange" -Value 1 -Type DWord -SID $UserProfile.SID Set-RegistryKey -Key "HKCU\Software\Policies\Microsoft\Office\$($Office365_ClickToRun_Version_MajorMinor)\Outlook\Setup" -Name "SetupOutlookMobileWebPageOpened" -Value 1 -Type DWord -SID $UserProfile.SID

microsoft office 365 uninstall tool

Set-RegistryKey -Key "HKCU\Software\Policies\Microsoft\Office\$($Office365_ClickToRun_Version_MajorMinor)\Registration" -Name "AcceptAllEulas" -Value 1 -Type DWord -SID $UserProfile.SID Set-RegistryKey -Key "HKCU\Software\Policies\Microsoft\Office\$($Office365_ClickToRun_Version_MajorMinor)\Common\General" -Name "OptInDisable" -Value 1 -Type DWord -SID $UserProfile.SID #Set registry values to stop the pesky Eulas, Opt-Ins, and other unwanted pop-ups (This will handle the change for all current users, and any users that login in the future $ModifiedUninstallArguments = $ModifiedUninstallArguments -Join " "Įxecute-Process -Path "$($UninstallBinary)" -Parameters "$($ModifiedUninstallArguments)" -WindowStyle Hidden -ContinueOnError:$True

microsoft office 365 uninstall tool

$ModifiedUninstallArguments = $ModifiedUninstallArguments += "forceappshutdown=True" $ModifiedUninstallArguments = $ModifiedUninstallArguments += "DisplayLevel=False" $ModifiedUninstallArguments = $ModifiedUninstallArguments += "$($Key)=$($Value)" ]$ArgList = ByPass', '-NoProfile', '-File', "$($MyInvocation.M圜ommand.Path)", "-DeploymentType `"Install`"", "-DeployMode `"Interactive`"") If ((Get-AdministrativePrivilege) -eq $False) Return $Principal.IsInRole(::Administrator)









Microsoft office 365 uninstall tool