opkcampaign.blogg.se

How to uninstall microsoft office 2010 on windows 10
How to uninstall microsoft office 2010 on windows 10











Write-Host "Finished installing Office 2013 on $comp at $time. Office 2013 application Not found." | Out-File $logfile Hello, I'm trying to uninstall Office 2010 via command line using the following command with the eventual aim of putting this into a batch script which will check to see if a machine has office 2010 installed and if it does then remove it and install office 2016: wmic product where 'name like 'Microsoft Office Professional Plus 2010'' call.

"$Time : Cannot copy application shortcuts to desktop. HKEYLOCALMACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Office en-us HKEYCURRENTUSER\Software\Microsoft\Office Then Delete the Office key.Note: In the subkey in the third bullet item, Microsoft Office - en-us represents the actual program name.

$OfficeApps = "\\$com\c$\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Office 2013"Ĭopy-item "$OfficeApps\Excel 2013.lnk" "\\$com\c$\users\Public\Desktop"Ĭopy-item "$OfficeApps\Word 2013.lnk" "\\$com\c$\users\Public\Desktop"Ĭopy-item "$OfficeApps\Powerpoint 2013.lnk" "\\$com\c$\users\Public\Desktop"Ĭopy-item "$OfficeApps\Outlook 2013.lnk" "\\$com\c$\users\Public\Desktop" #Copy Office Application shortcuts to Desktop #Copy Uninstall Files for 2010 \ Install Files for 2013

how to uninstall microsoft office 2010 on windows 10

I couldn't get the registry key to uninstall 2010 for the life of me, so I've come up with a script that copies both Office 20 install files, then configured OCT to run a silent uninstall of 2010 and install 2013.Īlthough the following script does in fact remove 2010, then install 2013, it hangs even after the install is complete.

how to uninstall microsoft office 2010 on windows 10

Well, I had a lot of time to dedicated to this, so I learned a lot and figured out how to deal with this beast.













How to uninstall microsoft office 2010 on windows 10