To overwrite all stages and restart the whole script use -RunAgain. After every stage a registry value will be written to HKLM:\Software\OEM\101\M365\Install\CurrentStage (Note: Be sure to set your conditions for the appropriate architecture in the Conditions. To make sure that the program will only do the necessary parts a stage mechanism is builtin. xml ) ELSE ( echo 'Office 2010 Not Found' ) Again, make the needed changes to adapt this command to which edition of Office you are uninstalling and removing the (x86) from both places depending on your architecture in question. \msoffice-removal-tool.ps1 -InstallOffice365 -SuppressReboot -Force Stage mechanism Microsoft Office should be completely removed. Once the process is completed, go ahead and restart your system. You should have an option to select Microsoft Office products to remove Microsoft Office using the tool. Non-interactive - No user interaction required Open the Microsoft Support and Recovery Assistant and follow the instructions as prompted. Will skip the stage mechanism - whole script will run again Will use the official Office365 setup instead of SaRA No reboot will be executed after script is done The script will try to install the newest Office365 build after removal You can choose between 2 methods of uninstalling:ĭefault method will use the Microsoft Support and Recovery Assistant (SaRA) for uninstalling.īy using -UseSetupRemoval the Office365 setup method will be used. If you wish it tries to install the newest Office365 build as well. This script downloads the current Office uninstaller from Microsoft and tries to remove all Office installations on this computer.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |