logo
search
OneDrive File Issues

How to Stop OneDrive from Automatically Signing In on a PC

Kushani NimanthikaKushani Nimanthika Sep 28, 2026 869 views

Question details

The user wants to prevent the Microsoft OneDrive application from automatically logging in and syncing files, particularly to secure a shared computer.

How to Stop OneDrive from Automatically Signing In on a PC
Product
Microsoft OneDrive
Device & OS
Windows PC
Scenario
Using a shared computer where automatic cloud storage access poses a privacy or security risk.
Observed behavior
OneDrive automatically signs in upon computer startup and immediately grants access to synced personal or work files.
Before you start

Ensure that any active file synchronizations are complete before unlinking your account, so you do not lose any recent offline edits.

Solution 1Recommended

Unlink Your PC from OneDrive

Unlinking your PC removes the account connection, effectively stopping OneDrive from signing in automatically on startup.

This is the standard and safest method to prevent unauthorized access to your cloud files on a shared machine. It will not delete any files from your OneDrive cloud storage.

1
Open OneDrive Settings

Click the OneDrive cloud icon in your Windows taskbar notification area, click the 'Help & Settings' gear icon, and select 'Settings' from the menu.

2
Navigate to the Account Tab

In the OneDrive Settings window, click on the 'Account' tab located at the top or side navigation panel.

3
Unlink the PC

Click the 'Unlink this PC' link. A confirmation dialog will appear; click 'Unlink account' to finalize the process.

Unlink Your PC from OneDrive
Account Unlinked: OneDrive will immediately stop syncing and will present a sign-in screen. Simply close this screen, and OneDrive will no longer log in automatically.
Free Microsoft Office alternative

Edit Your Local Documents Seamlessly with WPS Office

If you are unlinking OneDrive to manage local files manually on a shared PC, consider using WPS Office to handle your documents. It provides a comprehensive, lightweight, and free alternative to Microsoft Office without forcing mandatory cloud sign-ins.

Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Lightweight design ensures fast application launch times, even on older shared computers.Allows full offline editing without requiring continuous cloud synchronization.Familiar user interface makes transitioning from Microsoft Office effortless.
microsoft office alternative - wps office

Frequently Asked Questions

Will unlinking my PC delete my OneDrive files?

No. Unlinking your PC only stops the synchronization process and removes the automatic login access from that specific computer. Your files remain completely secure in your Microsoft OneDrive cloud storage.

How do I sign back into OneDrive after unlinking it?

To reconnect, open the OneDrive application from your Start menu. You will be greeted by the initial setup screen where you can enter your Microsoft account credentials to resume syncing.

Why does OneDrive still try to sign in after I unlinked my account?

Sometimes Windows saves your account credentials system-wide. To resolve this, open the Windows 'Credential Manager', navigate to 'Windows Credentials', and remove any saved credentials related to OneDrive or Microsoft Office.