A simple script to completely remove Microsoft Outlook and OneDrive from Windows.
- Removes both Classic and New Outlook
- Removes OneDrive completely
- Cleans up all shortcuts and registry entries
- Removes taskbar pins and Task View button
- Requires no user interaction
- Runs silently with admin privileges
- Download both files:
uninstall_outlook_and_onedrive.ps1run.bat
- Keep both files in the same folder
- Run
run.batby double-clicking - Allow admin privileges when prompted
- Terminates Outlook and OneDrive processes
- Uninstalls Outlook and OneDrive applications
- Removes all related folders and files
- Cleans up Start Menu and Desktop shortcuts
- Removes taskbar pins
- Disables Task View button
- Cleans registry entries
- Restarts Windows Explorer
- Windows 10/11
- Administrator privileges
This script will completely remove Outlook and OneDrive. Make sure to backup any important data before running.