Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/itsnileshhere/onedrive-removal
PowerShell script to remove OneDrive from Windows 10/11
https://github.com/itsnileshhere/onedrive-removal
onedrive powershell script windows-10 windows-11
Last synced: 28 days ago
JSON representation
PowerShell script to remove OneDrive from Windows 10/11
- Host: GitHub
- URL: https://github.com/itsnileshhere/onedrive-removal
- Owner: itsNileshHere
- Created: 2024-09-10T10:13:17.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-09-16T14:39:43.000Z (about 2 months ago)
- Last Synced: 2024-10-11T14:02:03.812Z (28 days ago)
- Topics: onedrive, powershell, script, windows-10, windows-11
- Language: PowerShell
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# OneDrive Removal Script
A PowerShell script to completely remove OneDrive from Windows, including all associated files, folders, registry entries, and scheduled tasks.
## Prerequisites
- This script requires **administrator privileges** to run properly.
- Ensure **PowerShell 5.1** or higher is installed on your system.## Usage
1. **Run PowerShell as Administrator**:
- Press `Win + X` and choose `Windows PowerShell (Admin)`.2. **Execute the following commands**:
```{powershell}
Set-ExecutionPolicy Bypass -Scope Process -Force
iwr -useb https://itsnileshhere.github.io/Onedrive-Removal/onedriveRemovalScript.ps1 | iex
```## Important Details
**The script will**:
* Terminate OneDrive process.
* Uninstall OneDrive from system.
* Copy files from OneDrive to user profile folder.
* Remove OneDrive leftovers.
* Revert user folders back to their default locations.## Credits
- [winutil](https://github.com/ChrisTitusTech/winutil)
- [Windows 11 Forum](https://www.elevenforum.com/t/how-to-completely-remove-onedrive.12084/)