Skip to main content

Remove OneDrive

Overview

About this category

This category contains privacy scripts for Windows.

These changes use Windows system commands to update your settings.

Microsoft OneDrive (formerly SkyDrive) is a file hosting service operated by Microsoft 1. First launched in August 2007, it enables registered users to share and synchronize their files 1.

Data stored on OneDrive is subject to monitoring by Microsoft 2. There's been reports of Microsoft accessing and altering your personal files when syncing on OneDrive 3 4.

Uninstalling OneDrive is recommended by Microsoft to optimize Windows VDIs 5.

Caution: Mixed Risk Levels

Be careful running these scripts. This category includes scripts with high impact:

  • 🟡 Some recommended scripts only if you understand its implications. Some non-critical or features may no longer function correctly after running this this category.
  • 🟢 Some safely recommended scripts. Safe-to use for any user.
Implementation Details
  • Language: batch

  • Scripts Count: 11 scripts

  • Required Privileges: Administrator rights

  • Compatibility: Windows only

  • Reversibility: All changes can be reverted

Apply now

These scripts are written using Batch (batchfile) scripting language.

Choose one of two ways to apply:

  1. Automatically via privacy.sexy: The easiest and safest option.
  2. Manually by downloading: Requires downloading a file.

Alternative 1. Apply with Privacy.sexy

privacy.sexy is free and open-source application that lets securely apply this action easily.

Open privacy.sexy

It allows selectively choose parts of this action to conduct. You can fully restore this action (revert back to the original behavior) using the application. Additionally, you can apply only the recommended scripts, instead of applying all of the scripts.

privacy.sexy instructions
  1. Open or download the desktop application
  2. Search for the category name: Remove OneDrive.
  3. Check the category by clicking on the checkbox of the category.
  4. Click on Run button at the bottom of the page.

Alternative 2. Download

You can choose to apply only scripts with less impact or also those with higher impact:

Standard

Recommended for all users. It helps to improve privacy without affecting stability.

Scroll

Strict

Recommended if you understand its implications. It may cause some non-critical features to no longer function correctly.

Scroll

Consider restarting your computer for all changes to take affect.

Reversible

This action is completely reversible, you can restore your changes to the initial/default state. The restore/revert methods provided here can help you fix issues.

If something goes wrong, use the Revert script provided above.

Standard

This script includes only Standard recommendation level.

Safe for General Use

Standard scripts in this category is recommended for all users. They help to improve privacy without affecting stability.

Download only standard scripts by clicking on the button:

Download script

Restore these changes if you decide to revert them by downloading the restore script:

Download restore script

Strict

This script includes Standard and Strict recommendation levels.

Use with Caution

This script is only recommended if you understand their implications of every single change. Some non-critical or features may no longer function correctly after running this script.

Download Strict scripts:

Download script

Restore these changes if you decide to revert them by downloading the restore script:

Download restore script

Explore further

This category includes total of 11 scripts but no subcategories.

Explore its 11 scripts:

Remove OneDrive through official installer

This script will call official Microsoft uninstaller that will uninstall the application but residual files will be left. You won't lose data by uninstalling OneDrive from computer because they will be stored in cloud. Running OneDrive client setup package ("OneDriveSetup.exe") with the "/uninstall" command line switch uninstalls OneDrive. On Windows 10, the setup package is found on different folders ("System32" or "SysWOW64") based on the CPU architecture. On Windows 11, the setup package is a...

Remove OneDrive user data and synced folders

This script deletes the OneDrive directory and all stored data from your profile. OneDrive usually saves your data in the "%USERPROFILE%\\OneDrive" directory, also known as the OneDrive folder or OneDrive root directory. By default, OneDrive stores user data in folder called OneDrive. For multiple accounts, files may be in OneDrive - Personal or OneDrive - CompanyName folders. OneDrive can synchronize default Windows folders like Documents, Pictures, Music, and Desktop. These fo...

Remove OneDrive installation files and cache

This script removes OneDrive installation directories, application data, temporary files, and cache. Identified by the community and confirmed through testing, these folders include: "C:\\OneDriveTemp": A location for temporary cache files. • "C:\\ProgramData\\Microsoft OneDrive": Stores data used in setting up OneDrive. • "C:\\Users\\\\AppData\\Local\\Microsoft\\OneDrive": OneDrive installation directory. | Directory | Windows 11 (since 22H2) | Windows 10 (since 22H2) | | --------- |:---------...

Remove OneDrive shortcuts

This script ensures the removal of all OneDrive shortcuts from your system, even after uninstallation or cleanup. Erasing these shortcuts improves the security and privacy of your computer system, lessening the potential access points for unwanted entities. Moreover, the removal of unused shortcuts results in a more organized and efficient system, enhancing your user experience by preventing any confusion from dead shortcuts. Shortcuts that link to OneDrive are stored in various locations, such ...

Disable OneDrive usage

This script prevents: Keeping OneDrive files in sync with the cloud. • Users from automatically uploading photos and videos from the camera roll folder. • Users from accessing OneDrive from the OneDrive app and file picker. • Windows Store apps from accessing OneDrive using the WinRT API. • OneDrive from appearing in the navigation pane in File Explorer. Setting "DisableFileSyncNGSC" group policy prevents OneDrive from working on both Windows 10 and 11. Windows 8 uses older "DisableFileSync" key...

Disable automatic OneDrive installation

This script prevents OneDrive from automatically reinstalling itself. OneDrive, Microsoft's cloud storage service, can automatically reinstall itself after being uninstalled on older Windows 10 versions. This is done through a startup entry that runs "OneDriveSetup.exe", which silently installs OneDrive when a user logs in. The script enhances privacy by stopping OneDrive from reinstalling without user consent. This prevents unwanted data collection and synchronization. It also boosts system per...

Disable OneDrive scheduled tasks

This script disables the scheduled tasks associated with Microsoft OneDrive that typically run maintenance activities such as auto-updates and data collection. Disabling these tasks impacts OneDrive's automatic background update process. By default, Windows 10 (since 22H2) and Windows 11 (since 22H2) include the following tasks: "OneDrive Standalone Update Task" • "OneDrive Reporting Task" These tasks are enabled by default and lack official documentation from Microsoft. They can be identified b...

Explore Categories

This action belongs to Remove bloatware category. This category configures Windows using 215 scripts. These scripts are organized in 35 categories. The category includes 1 subscripts and 9 subcategories that include more scripts and categories. Read more on category page ▶

Support

This website relies on your support.

Support now

Your donation helps keep the project alive and improves its content ❤️.

Share this page: