How to disable OneDrive on Windows 11
If you think OneDrive doesn't meet your computing needs, you can disable it. For example, you might prefer a local account and do file management on your own device. Or, you might not have a limited or metered connection.
Luckily, with a few steps, you can disable OneDrive on Windows 11, preventing it from running or wasting network bandwidth.
To prevent OneDrive from running during Windows 11 startup:
- Click the OneDrive icon on the system tray. You may need to click on the overflow arrow to find it.
- Click the gear icon in the upper right corner and select Settings from the menu. c
- Make sure that the Settings is selected in the General section of the menu and that the Automatically start OneDrive when you log in to Windows option is unchecked.
Click - OK. c
After you follow these steps, OneDrive will no longer start automatically when you start your PC.
However, if you don’t want to use the OneDrive menu system, you can follow our instructions on disabling startup apps on Windows 11. Just select the
OneDrive.exe option.
How to disable OneDrive using Group Policy Editor
If you are running Windows Professional, Enterprise, or Education, you can use another The way to disable OneDrive is to use
Local Group Policy Editor.
Note: This option is not available for Windows 11 Home Edition.
To use Group Policy to disable OneDrive on Windows 11:
Press the - Windows key R on your keyboard to bring up "Run” box.
Type - gpedit.msc and click OK or press Enter.
Navigate to the following path: Computer Configuration > Administrative Templates > Windows Components > OneDrive
Copy after login
Double-click the OneDrive folder and then double-click the - Prevent use of OneDrive for file storage policy.
Select the - Disable button, click Apply and OK, and then exit the Group Policy Editor.
Restart Windows 11 to verify that OneDrive is disabled on your PC.
Unlink your OneDrive account
In addition to preventing OneDrive from starting, the best practice is to unlink your computer. Once you unlink a computer, it will no longer synchronize files.
To unlink your OneDrive account on Windows:
Launch - OneDrive on your PC, click on the upper right corner the gear icon and select Settings from the menu. c
Select the "- Account" tab at the top and click the "Unlink this PC " link. c
When the verification message appears, click the "- Unlink Account" button to confirm that you want to unlink the account on your PC. c
After you unlink your account, the - OneDrive icon will appear gray with a line over the cloud icon. Hover over the icon and you'll see that you're not logged in yet.
Going forward, if you want to regain access to your OneDrive account, you will need to log in.
Unlink your account and disable it from launching, which will keep OneDrive away from you and remain inactive. If you want to regain access to it, you'll need to launch it manually and log in again using your Microsoft account credentials.
Uninstall OneDrive on Windows 11
Another way to get rid of OneDrive is to uninstall the app. It can be uninstalled directly using the Settings app.
To uninstall the OneDrive app on Windows 11:
- 按Windows 键,从“开始”菜单中选择“设置”或使用Windows 键 + I键盘快捷方式。
- 当“设置”启动时,单击左侧栏中的“应用程序”和右侧的“已安装的应用程序”选项。
- 在顶部的搜索字段中键入OneDrive ,单击OneDrive 右侧的三点按钮,单击卸载,然后再次单击卸载以进行验证。
使用 PowerShell 或 Windows 终端卸载 OneDrive
如果您更喜欢从命令行工作,则可以使用 Windows 终端或 Windows PowerShell 工具通过运行单个命令来卸载 OneDrive。
使用 PowerShell 或 Windows 终端卸载 OneDrive:
- 打开“开始”菜单。
- 搜索PowerShell或Windows Terminal,然后选择以管理员身份运行 选项。
- 当终端打开时,运行以下命令:
winget uninstall onedrive
Copy after login
- 在执行删除 OneDrive 的过程时,你会看到一个进度条。
- 输入Y同意源协议并点击Enter。
- 最后,您将收到一条消息,表明卸载成功,您可以关闭 PowerShell。
OneDrive 让你挡路
无论您是删除该应用程序还是简单地取消您的 PC 与它的链接,OneDrive 都可以使用上述步骤减少侵入性。但是,如果您以后想要恢复它,最好取消关联您的帐户并稍后登录。如果您希望它的所有迹象都消失,请将其卸载或通过组策略禁用它。
您可能希望在 Windows 11 上禁用 OneDrive 的另一个原因是您更喜欢使用第三方选项,如Apple iCloud、Dropbox或Google Drive。与 OneDrive 一样,这些服务允许您存储和共享文件。
请记住,这些服务不是完整的备份解决方案。为此,您想以每月 5 美元的价格使用优质的基于云的服务,例如Backblaze。或者,如果您更喜欢在本地管理您的数据和备份,您可以使用 Windows 中已经内置的工具。
例如,您可以使用备份和还原实用程序进行完整的系统备份。创建系统备份后,了解如何使用系统映像备份恢复 Windows 11。此外,当您需要重新启动和运行 PC 时,您会希望定期创建一个新的还原点。
The above is the detailed content of How to disable OneDrive on Windows 11. For more information, please follow other related articles on the PHP Chinese website!