Home >Common Problem >5 ways to teach you to disable OneDrive on Windows 11!
OneDrive is a cloud storage product from Microsoft that comes bundled with Windows 11 by default. Like Microsoft Edge, bundling OneDrive has been heavily criticized by users as many are looking for ways to remove it from their PCs. If you're in the same boat and want to delete OneDrive, here's everything you need to know.
Disabling OneDrive has its pros and cons. Here's what happens when OneDrive is disabled on your system.
Yes, you can officially remove OneDrive from Windows 11 using the uninstall option (see Option 5 below). However, this will leave remnants of OneDrive on your PC so that it can be easily restored.
If you wish to delete OneDrive permanently, you must choose a more powerful solution, such as using .bat script, CMD command, third-party uninstaller, etc. to delete it. You'll find tutorials for all of these methods in option 5 below.
Here are all the ways to disable OneDrive on Windows 11. Depending on your preference, follow any of the sections below to temporarily or permanently disable OneDrive on your system.
FYI, out of the following five options, options 1 to 4 are about disabling OneDrive on PC and option 5 is about uninstalling it.
If you wish to temporarily disable OneDrive sync, you can pause it first. This will pause all OneDrive activities and services running in the background. This is the recommended method if you want to get rid of OneDrive temporarily.
You will be able to choose the period of time during which OneDrive will be disabled on your device. Once completed, OneDrive will automatically start syncing on your device again.
Use the tutorial below to help you through the process.
Click the OneDrive icon in the taskbar.
Select the settings in the upper right corner of .
Now, click to pause synchronization.
#Click the drop-down arrow and select one of the following options based on your preference.
You will now be at Pause OneDrive sync on your device for the selected period of time.
This option is for users who want to remove their OneDrive account from a specific PC while retaining local files. Your OneDrive account will be unlinked from your current PC, and your files will no longer sync to the cloud.
Only the OneDrive files will be deleted from your local storage, while other files will remain. Use the tutorial below to help you through the process.
Click the OneDrive icon in the taskbar.
Click the icon in the upper right corner.
Select Settings.
A small window will appear and by default the "Account" tab will be selected. Click under the same button to unlink this PC.
Click Unlink Account to confirm your choice.
You can also prevent OneDrive from opening at startup to prevent it from starting automatically. This way, you can use the app only when your system needs it, without having to keep it running in the background.
This is the recommended solution if you use OneDrive occasionally and want to turn it off when not in use. Please follow the steps below to help you through the process.
Click the OneDrive cloud icon in the taskbar.
Click the icon in the upper right corner.
Select Settings from the drop-down menu.
#Click and switch to the Settings tab.
Uncheck all checkboxes under General.
Click OK.
If you want to temporarily quit OneDrive, you can also hide it from your system. While this won't delete or disable OneDrive sync, it will remove the OneDrive list from File Explorer.
This is an ideal solution for users who want to keep their online files hidden from prying eyes while still being able to access them when needed. OneDrive will continue to work in the background as expected. Use the following steps to help you through the process.
Open File Explorer and right-click OneDrive.
Select the attribute.
Select the hide box under properties .
#This will hide OneDrive from File Explorer. Click OK after completion. Select to apply changes to this folder only.
Click OK.
Click the OneDirve icon in the taskbar and select the icon.
Click to close OneDrive.
# Confirm your choice by clicking on the same.
OneDrive will now exit and hide from your taskbar. We recommend you to temporarily disable it on your PC by following the tutorial above to prevent it from starting at startup.
If you are looking for a more permanent solution, then we recommend you to completely remove OneDrive from your system. If you want to keep some settings files and background services to make it easier to set up for other users, you can delete OneDrive using the Settings app.
However, if you wish to delete OneDrive permanently, we recommend you to use one of the other solutions mentioned below. Please follow the relevant sections below to help you through the process.
Press Windows i
Keyboard and select Apps & Features.
Click Installed Apps.
Find Microsoft OneDrive in the list and click the icon next to it.
Select Uninstall.
Click Uninstall again to confirm your choice.
Follow the on-screen instructions to complete the process and OneDrive should now be removed from your system.
Command Prompt can help you delete Microsoft OneDrive more permanently. Please follow the steps below to help you through the process.
Press Windows R
and enter the following. PressCtrl Shift Enter
keyboard when finished.
Confirm the UAC prompt and type the following commands one by one and press the Enter key on your keyboard to execute them.
%Systemroot%\SysWOW64\OneDriveSetup.exe /uninstall
%Systemroot%\System32\OneDriveSetup.exe /uninstall
Use the following command to close the command prompt.
exit
That’s it! You will now remove OneDrive from your PC.
Press Windows R
, enter the following, and then press Enter
.
gpedit.msc
Use the left sidebar to navigate to the following path.
Computer Configuration > Administrative Templates > Windows Components > OneDrive
Double-click the on the right to prevent the use of OneDrive for file storage value.
Select Enable.
Now click OK.
Restart your PC for good measure and OneDrive should now be disabled on your system.
Press the Windows R
keyboard and enter the following. Press the Ctrl Shift Enter
keyboard.
powershell
#Now type the following commands one by one and press the Enter key on your keyboard after each command.
taskkill /f /im OneDrive.exe<br>
Microsoft OneDrive.
Now clickat the top to uninstall.
#Clickin the lower right corner of the screen to continue.
Leave the default options as is and clickContinue again.
Finally, clickBEGIN UNINSTALLATION.
After the process is completed, clickto close.
#Once prompted to find leftovers, clickYes.
You will now see the registry keys and entries associated with OneDrive. Confirmed files will be selected by default. You will need to check the ones that are not selected yet and manually select the ones related to OneDrive. ClickDelete Selection when finished.
We recommend that you create a registry backup with a single click. #Once the process is complete, OneDrive should now be removed from your system. We recommend that you restart your system for the changes to take effect. Method 6: Use a .bat scriptYou can also create and use a .bat script to uninstall OneDrive from your system. Follow the steps below to help you get started. PressWindows R, type the following, and then press
Enter.
Notepad
@echo off
cls
set x86="%SYSTEMROOT%\System32\OneDriveSetup.exe"
set x64="%SYSTEMROOT%\SysWOW64\OneDriveSetup.exe"
echo Closing OneDrive process.
echo.
taskkill /f /im OneDrive.exe > NUL 2>&1
ping 127.0.0.1 -n 5 > NUL 2>&1
echo Uninstalling OneDrive.
echo.
if exist %x64% (
%x64% /uninstall
) else (
%x86% /uninstall
)
ping 127.0.0.1 -n 5 > NUL 2>&1
echo Removing OneDrive leftovers.
echo.
rd "%USERPROFILE%\OneDrive" /Q /S > NUL 2>&1
rd "C:\OneDriveTemp" /Q /S > NUL 2>&1
rd "%LOCALAPPDATA%\Microsoft\OneDrive" /Q /S > NUL 2>&1
rd "%PROGRAMDATA%\Microsoft OneDrive" /Q /S > NUL 2>&1
echo Removeing OneDrive from the Explorer Side Panel.
echo.
REG DELETE "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
REG DELETE "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f > NUL 2>&1
pause
按下Ctrl Shift S
键盘。单击底部的下拉菜单,然后选择所有文件。
根据需要输入文件的名称,后跟 .bat扩展名。确保选择不带空格或特殊字符的名称。
为您的.bat 文件选择一个位置, 然后单击 保存。
.bat文件现在将被创建并保存在选定的位置。 导航到相同的位置,双击并运行.bat文件。
OneDrive 现在将从您的系统中删除。
以下是有关禁用 OneDrive 的一些常见问题,这些问题应该可以帮助您快速了解最新信息。
由于其庞大的用户群,Windows 系统吸引了全球黑客的大量关注。作为微软首选的云存储服务,OneDrive 也不得不忍受其公平的滥用份额。然而,尽管无数次成为目标,OneDrive 并没有被利用,迫使黑客空手而归。
OneDrive 通过与硬盘驱动器上的 BitLocker 同步来加密所有数据和文档。在传输过程中,Microsoft Cloud 负责处理加密,这本身就非常密封。
此外,Microsoft 的 OneDrive 按文件加密您的数据。因此,如果任何密钥被泄露,黑客将只能访问该特定文件,而不是该文件夹或驱动器中的所有文件。总而言之,Microsoft OneDrive 尽可能安全,为临时用户和专业人士提供足够的保护。
不会,卸载 OneDrive 时,您存储在云端或本地的数据不会受到影响。虽然通过 OneDrive 临时下载到本地存储的文件在卸载应用程序时会被删除。
OneDrive 会自动启动并在后台运行,直到您禁用它,这可能会对资源不足的 PC 产生影响。因此,禁用 OneDrive 可能是减少一些 RAM 和 CPU 使用率的好选择。
Microsoft OneDrive 会定期检查新文件以进行同步,这通常不会对您的 PC 造成任何问题。但是,如果它开始处理太多文件,您的计算机很可能会变慢。在这种情况下,您可以停止 OneDrive 的同步过程并重新获得一些信心。
The above is the detailed content of 5 ways to teach you to disable OneDrive on Windows 11!. For more information, please follow other related articles on the PHP Chinese website!