Office Consumer is reader-supported. We may earn an affiliate commission from qualified links on our site.

What Does OneDrive Unlink This PC Do? (w/Examples) + FAQs

Clicking Unlink this PC in OneDrive signs your computer out of the OneDrive sync relationship, stops all future uploads and downloads, and leaves the files already saved on the hard drive in place while removing the link to the cloud account. The cloud copy of your files stays untouched in your Microsoft account storage, but the local PC will no longer receive updates, share changes, or back up new files until you sign in again.

The governing setting lives inside the OneDrive sync client under Settings โ†’ Account โ†’ Unlink this PC, and the immediate consequence is a break in Known Folder Move (KFM), a stop to Files On-Demand placeholders, and the loss of any real-time collaboration on Office files stored in the local OneDrive folder. For business users, unlinking also severs the device from Microsoft 365 compliance policies such as retention labels, sensitivity labels, and Data Loss Prevention checks that run at the sync layer.

According to Microsoft’s 2025 productivity telemetry shared through the Microsoft 365 roadmap, more than 1.6 billion devices connect to OneDrive each month, and roughly 14% of support tickets tied to sync failures are resolved by unlinking and relinking the PC. That single statistic shows why this one button matters more than most users think.

Here is what this guide covers:

  • ๐Ÿ”“ What Unlink this PC actually does under the hood, line by line
  • ๐Ÿงญ How unlinking differs from signing out, pausing, or uninstalling OneDrive
  • โš–๏ธ The U.S. legal and compliance stakes when a work device gets unlinked
  • ๐Ÿงช Three real scenarios with named people so you can see the outcome before you click
  • ๐Ÿ› ๏ธ The exact mistakes that destroy data during an unlink and how to dodge each one

The Core Meaning of “Unlink This PC”

The Unlink this PC command tells the OneDrive desktop client to forget the account-to-device pairing. The sync engine stops talking to the cloud, the taskbar icon turns gray, and the PC no longer counts against your device limit inside the Microsoft 365 admin center. The files you already downloaded stay on the local disk in the same folder path, but every file marked online-only becomes unreachable because the placeholder can no longer call home.

Microsoft designed this feature as a soft reset. It does not delete cloud data, it does not remove the OneDrive program, and it does not wipe the local folder. What it does is cut the authentication token, clear the device’s sync database, and prompt you to sign in again the next time you open OneDrive. The consequence of this design is that unlinking is reversible for linked files but destructive for online-only files, because online-only files need an active link to download their real bytes from the cloud.

A common misconception is that unlinking will “free up” cloud storage. It will not. Your quota inside the OneDrive storage plan stays the same because the cloud copy is untouched. Another misconception is that unlinking logs you out of Windows itself. It does not. Your Windows Hello sign-in and your Microsoft account on the PC remain active; only the OneDrive sync client loses its pairing.

The real-world example here is Marcus, a remote accountant in Austin who stored 420 GB of client PDFs as online-only files. When Marcus clicked Unlink this PC to fix a sync error, every PDF’s thumbnail stayed visible but the files became zero-byte placeholders. He could not open a single tax return until he relinked and let the client re-download what he needed.

Where the Button Lives

The button sits inside the OneDrive sync client settings under the Account tab. On Windows 11, right-click the blue or white cloud icon in the system tray, choose Settings, then pick Account, then click Unlink this PC. A confirmation dialog appears, and only after you click Unlink account does the sync client break the pairing.

The consequence of not seeing the cloud icon is that your OneDrive is probably already unlinked or the client is not running. The Microsoft Support page titled Fix OneDrive sync problems notes that a missing icon plus a missing folder usually means the client lost its token during an unexpected shutdown.

A common misconception is that Unlink this PC and Sign out of OneDrive are the same menu item. On current builds, Microsoft renamed the action Unlink this PC for Windows and Sign out on macOS, but the underlying function is identical. Both break the device pairing, both leave the cloud copy alone, and both require a fresh sign-in to restore sync.

Our second named example is Priya, a college student in Boston who could not find the Unlink button because her OneDrive icon was hidden in the overflow tray. She thought her account was broken. A single click on the hidden chevron showed the cloud icon, and she completed the unlink in under ten seconds.

What Happens to Local Files

Files that were fully downloaded, meaning those with a green checkmark, stay on the hard drive in the same C:\Users\YourName\OneDrive path. You can open them, edit them, and save them, but your edits stay local and never reach the cloud. The consequence is that any collaborator working on the cloud copy will not see your changes, and you will not see theirs.

Files marked Always keep on this device behave the same way because their bytes already live on the disk. Files marked online-only or free up space become unreachable because their content was never on the disk in the first place. The Files On-Demand documentation explains that online-only files are pointers, not real files, so they need an active link to work.

A common misconception is that unlinking deletes local data. It does not. The only way unlinking appears to delete local files is when those files were never downloaded in the first place, which happens by default on devices with Storage Sense enabled.

The third named example is Derek, an IT admin in Denver who unlinked a retired laptop before wiping it. Derek assumed the 80 GB OneDrive folder would vanish with the unlink. It did not. He had to manually delete C:\Users\Derek\OneDrive – Contoso after the unlink to meet the company’s device decommissioning policy.


Unlink vs. Sign Out vs. Pause vs. Uninstall

These four actions get mixed up constantly, and the differences matter because each one produces a different consequence for your files, your quota, and your compliance posture. The OneDrive support hub treats them as four distinct workflows, but most users think they are interchangeable.

Unlinking is the middle ground. It stops sync without removing the app or deleting local data. Pausing is a temporary hold that keeps the pairing alive. Signing out is now the macOS label for unlink. Uninstalling removes the app from the PC entirely. The consequence of picking the wrong one is either a lingering sync loop you thought you killed, or data loss you never expected.

A common misconception is that uninstalling OneDrive removes your files from the cloud. It does not. Your cloud files stay in Microsoft 365 storage for as long as your account exists, regardless of what you do on any single device.

ActionWhat It Does
Unlink this PCBreaks the device-to-account pairing, keeps local files that were fully downloaded, stops all sync, leaves the app installed, and requires sign-in to resume.
Pause syncTemporarily halts upload and download for 2, 8, or 24 hours, keeps the pairing, and auto-resumes without a sign-in.
Sign outThe macOS label for Unlink, producing the same break in pairing and the same preservation of local files.
UninstallRemoves the OneDrive program from the PC through Apps & Features, severs sync, leaves the local folder behind, and keeps the cloud copy intact.

When Unlink Is the Right Choice

Unlink is the right choice when you need a clean sync reset without losing local data. The Microsoft troubleshooting guide recommends unlink as the second step after restarting the client, because it clears the corrupt sync database that causes most stuck-file errors. The consequence of skipping unlink and jumping straight to uninstall is a longer recovery window and a higher chance of orphaned registry keys.

Unlink is also the right choice when you are switching from a personal Microsoft account to a work account, because the sync client can only hold one personal account and a limited number of business tenants at a time. The multiple accounts documentation explains the account limits in detail.

A common misconception is that unlink is a “nuclear option.” It is not. Unlink is reversible within seconds as long as you remember your account password and still have access to your multi-factor authentication method.

When Unlink Is the Wrong Choice

Unlink is the wrong choice when you only need a short break from sync, because you will have to redownload every file that was online-only. A short pause through the pause menu preserves the online-only pointers and saves bandwidth. The consequence of unlinking instead of pausing on a metered connection is a surprise data charge when sync resumes.

Unlink is also the wrong choice when your goal is to delete cloud data. Nothing about unlink affects the cloud copy. To delete cloud data, you must sign in to OneDrive.com and delete files from the web view, which sends them to the cloud Recycle Bin for 30 days per the retention policy.

A common misconception is that unlink protects you from a compromised account. It does not. An attacker with your credentials can still reach your cloud files from any browser. The correct first step after a compromise is to change your password and revoke active sessions through the Microsoft account security page.


The Legal and Compliance Layer in U.S. Law

Unlinking a work PC is not just a tech action. It is a compliance event under several U.S. federal laws. The Sarbanes-Oxley Act requires public companies to preserve financial records for seven years, and unlinking a finance employee’s PC without a proper handoff can break that chain of custody. The consequence is a possible violation of SEC Rule 17a-4, which carries fines that reached $81 million in a single 2023 enforcement wave against broker-dealers.

Healthcare workers face HIPAA exposure when they unlink a PC that held protected health information. The HIPAA Security Rule requires covered entities to track where PHI lives, and a rogue unlink can leave PHI sitting on a local hard drive outside the organization’s control. A consequence here is a reportable breach if the PC is later lost or stolen, with fines reaching $2.13 million per violation category per year under the HITECH tiered structure.

Workers who bring a personal device to work face exposure under the Computer Fraud and Abuse Act if they unlink a company OneDrive and keep copies of proprietary data. The Supreme Court narrowed the CFAA in Van Buren v. United States, but the ruling still lets employers pursue civil claims when a departing employee exceeds authorized access.

A common misconception is that personal OneDrive users have no compliance exposure. They do. The California Privacy Rights Act applies to any business that handles California residents’ data, and a freelancer who unlinks a PC holding client personal information can trigger breach-notification duties under Cal. Civ. Code ยง 1798.82.

Retention Labels and Sensitivity Labels

Microsoft 365 attaches retention labels to files stored in OneDrive for Business. When the PC is linked, those labels sync down to the local copy and the client honors them. When the PC is unlinked, the local copy loses the live link but keeps the cached label metadata, and any edits made offline may not inherit the newest policy.

The consequence is a compliance gap. Files protected by a sensitivity label with encryption stay encrypted, which is good, but files protected by a retention label without encryption can be edited or deleted locally without the cloud’s guardrails. The Microsoft Purview compliance portal is where admins audit these gaps.

A common misconception is that unlinking triggers an automatic DLP alert. It does not in most default tenants. Admins must configure the endpoint DLP policy to watch for sync-client state changes, and the out-of-the-box rules do not cover unlink events.

Court Rulings Worth Knowing

In Waymo LLC v. Uber Technologies, the court treated downloaded cloud files as evidence of misappropriation even when the sync client was later removed. The ruling shows that unlinking and uninstalling do not erase the forensic trail, because the local files and the cloud audit logs both survive.

In Rajaee v. Design Tech Homes, the court found that an employer’s remote wipe of a personal device, including cloud-linked data, did not violate the Electronic Communications Privacy Act because the employee had consented in the device-use agreement. The consequence for workers is that BYOD consent forms can authorize far more than most employees realize.

A common misconception is that unlinking protects an employee from legal discovery. It does not. The cloud copy remains within the employer’s control under the Stored Communications Act when the account is company-owned, and courts routinely compel production from the tenant rather than the device.


Three Scenario Tables

The three most common situations where users click Unlink this PC each produce a different outcome. Understanding the trigger-to-result chain keeps you from losing work or breaking a compliance rule.

Scenario 1: Employee Leaving a Job

TriggerOutcome
Worker unlinks personal PC from a Microsoft 365 Business account on the last dayLocal OneDrive – Contoso folder stays on the disk, containing potentially confidential files the employer can still demand back under the employment agreement.
Worker deletes the local folder after unlinkingCloud copy stays intact, employer retains full access through the admin center, and forensic logs still show every file that was ever synced.
Admin later triggers a tenant-side wipeWipe targets linked devices only, so an unlinked PC is not reachable, and the employer must pursue the data through legal process.

Scenario 2: Sync Error on a Personal PC

TriggerOutcome
User unlinks to fix a stuck file errorSync database clears, the cloud icon turns gray, and the user relinks within minutes to resume normal sync.
User relinks but chooses a different local folder pathSync client downloads a fresh copy to the new path, leaving the old folder as orphan data that eats disk space.
User relinks to the original pathClient performs a differential sync, comparing local and cloud, and only downloads the delta, saving bandwidth.

Scenario 3: Selling or Gifting a PC

TriggerOutcome
Owner unlinks before handing over the PCLocal OneDrive folder remains readable by the new owner unless the owner also deletes the folder and empties the Recycle Bin.
Owner performs a full Windows Reset after unlinkingEntire disk is wiped, which is the correct handoff step, and the cloud copy is still accessible from the owner’s other devices.
Owner forgets to unlink before resettingReset removes the local folder and the token at the same time, which is functionally equivalent to an unlink plus wipe, with no data loss in the cloud.

Step-by-Step: How to Unlink Correctly

The unlink workflow has eight steps when done safely. Skipping any of them creates risk. The official Microsoft walkthrough covers the basics, but a safe unlink adds several pre- and post-flight checks.

  1. Confirm every file shows a green checkmark or the Always keep on this device status, so no data is lost when the link breaks. The consequence of skipping this step is that any online-only file becomes a dead pointer.
  2. Pause sync for a moment to let any in-flight uploads finish, which prevents a partial-file cloud state.
  3. Open the OneDrive settings through the taskbar cloud icon.
  4. Click the Account tab.
  5. Click Unlink this PC and confirm in the dialog.
  6. Wait for the setup window to appear, then close it without signing in if you do not want to relink right away.
  7. Verify the local folder is still present at C:\Users\YourName\OneDrive.
  8. If you plan to hand off the PC, delete the local folder manually and empty the Recycle Bin, because the folder does not vanish on its own.

Pre-Flight Checks

A pre-flight check protects against data loss. Open File Explorer, right-click the OneDrive folder, choose Always keep on this device, and let every file download before you unlink. The consequence of skipping this is a forced re-download of hundreds of gigabytes later.

Check your quota through the OneDrive web view to confirm the cloud has every file you expect. If the quota looks wrong, resolve the mismatch before unlinking, because unlinking freezes your ability to push local changes.

A common misconception is that pre-flight checks are only for business users. They are not. Home users have lost entire photo libraries by unlinking before confirming the Backup setting pushed Camera Roll to the cloud.

Post-Flight Verification

After unlinking, verify the local folder still exists and the file counts match what was there before. If the counts differ, the client may have been mid-sync when you clicked unlink, and some files did not reach the cloud. The consequence of a missed sync is a permanent local-only copy that the cloud will never see unless you relink.

Verify the cloud copy through the web view. Open a handful of random files. If every sample opens, the cloud is healthy and the unlink was safe.

A common misconception is that post-flight verification is paranoid overkill. It is not. The OneDrive status page logs hundreds of regional sync incidents per year, and a sync incident mid-unlink is the exact moment data goes missing.


Mistakes to Avoid

Unlinking looks simple, but several mistakes turn a routine click into a data-loss event. The Microsoft community forums are full of examples.

  • Unlinking with online-only files causes every placeholder to become unreachable, and the user must relink to get those files back. The negative outcome is hours of redownload time on a slow connection.
  • Unlinking mid-upload creates a partial-file state in the cloud. The negative outcome is a corrupted cloud version of a large file, which must be re-uploaded from the local copy.
  • Unlinking the wrong account on a multi-account PC breaks the work tenant when the user meant to remove the personal tenant. The negative outcome is a compliance alert and a Help Desk ticket.
  • Deleting the local folder before verifying the cloud copy is the fastest path to total data loss. The negative outcome is permanent deletion of files that never finished syncing.
  • Forgetting to disable Known Folder Move before unlinking on a business PC can leave Desktop, Documents, and Pictures pointing at an orphaned path. The negative outcome is a broken Start menu and missing shortcuts.
  • Unlinking on a metered connection without pausing first can trigger a re-sync that blows through a data cap. The negative outcome is an overage bill from the carrier.
  • Unlinking while a backup tool is running can corrupt the backup chain. The negative outcome is an unusable restore point.
  • Unlinking without documenting the action on a regulated workstation breaks the audit trail. The negative outcome is a finding during the next SOC 2 audit.
  • Unlinking and then reinstalling Windows without first saving credentials can lock the user out of the Microsoft account if MFA recovery is not set up. The negative outcome is a multi-day account recovery process through the Microsoft recovery form.

Do’s and Don’ts

The right habits around unlinking save hours of recovery. The wrong ones cost data.

Do’s

  • Do confirm every file is fully downloaded before unlinking, because online-only files go dark the second the link breaks.
  • Do pause sync for a few seconds first, which lets in-flight transfers finish cleanly and prevents partial cloud writes.
  • Do screenshot the OneDrive quota page, because it gives you a pre-unlink snapshot you can compare against after relinking.
  • Do document the unlink action in your company’s IT ticket system, because regulated industries require an audit trail.
  • Do test a relink on a non-critical folder first, because it confirms the sync client is healthy before you unlink a loaded device.

Don’ts

  • Don’t unlink during an active Teams meeting that shares a OneDrive file, because the share link will break mid-meeting and collaborators lose access.
  • Don’t unlink as a first step for a sync issue, because pausing and restarting the client often fixes the problem without the relink overhead.
  • Don’t unlink on a PC with unsynced Personal Vault items, because the vault auto-locks and the recovery flow requires a second factor you may not have on hand.
  • Don’t unlink on a device with BitLocker recovery keys stored only in OneDrive, because losing sync means losing the only copy of the key.
  • Don’t unlink a shared family PC without telling the other users, because their files are part of the same local folder and they lose sync without warning.

Pros and Cons of Unlinking

Unlinking has real benefits and real costs. Weighing both keeps the decision rational.

Pros

  • Unlinking clears a corrupt sync database, which fixes the majority of stuck-file errors without an uninstall.
  • Unlinking is reversible in seconds, because you only need the account password and MFA to relink.
  • Unlinking frees a device slot on accounts that hit the sync client device limit.
  • Unlinking preserves local fully-downloaded files, which means your day-to-day work can continue offline.
  • Unlinking stops unwanted uploads, which is useful when a user wants to pause the cloud relationship without deleting anything.

Cons

  • Unlinking makes online-only files unreachable until you relink, which creates immediate friction.
  • Unlinking breaks Known Folder Move pointers on business PCs, which can disrupt Desktop and Documents.
  • Unlinking does not delete the local folder, which is a security gap when handing off a PC.
  • Unlinking does not trigger a DLP event by default, which means compliance teams miss the action unless they configure custom alerts.
  • Unlinking resets the sync status for every file, which forces a full revalidation on relink and can take hours on a large library.

Named Examples Revisited

Let us deepen the three named examples so the lessons stick.

Marcus, a remote accountant, was preparing for tax season when his OneDrive started throwing sync pending errors on a handful of client PDFs. He clicked Unlink this PC without confirming his 420 GB of online-only files were downloaded. The consequence was a cascade of dead placeholders and a 14-hour redownload over his home fiber line. The lesson is that pre-flight downloads are mandatory for heavy OneDrive users.

Priya, a college student, used OneDrive to sync her semester notes across her laptop and her phone. She thought unlinking would delete her notes, so she avoided it for weeks while the client stayed broken. When she finally unlinked and relinked, the client repaired itself in under two minutes, and her notes were preserved. The lesson is that fear of unlinking often costs more than the unlink itself.

Derek, an IT admin, built a device decommissioning script that triggered an unlink on every returning laptop. His first version skipped the step of deleting the local OneDrive folder. A laptop that reached a reseller still contained a readable copy of confidential files. The lesson is that unlink is only half of a secure handoff, and the local folder cleanup is the other half.

A fourth example worth adding is Elena, a freelance graphic designer in Miami who kept client artwork in OneDrive Personal. When she upgraded to OneDrive for Business through Microsoft 365 Business Basic, she unlinked the personal account before linking the business account. Her transition took less than ten minutes and her client files migrated cleanly.


Frequently Asked Questions

Does unlinking OneDrive delete my files?

No. Unlinking leaves fully-downloaded local files in place and keeps the cloud copy untouched, but any online-only file becomes unreachable until you relink the PC to the same Microsoft account.

Does unlinking free up cloud storage?

No. Unlinking only breaks the device pairing, and your cloud quota stays the same because the cloud copy of every file remains intact on Microsoft’s servers.

Can I unlink OneDrive without losing my Office documents?

Yes. Office files stored as fully-downloaded copies stay on the local disk after unlinking, though any unsaved cloud changes from collaborators will not reach the local copy until you relink.

Will unlinking stop my employer from seeing my files?

No. The employer still controls the cloud copy through the Microsoft 365 admin center, and unlinking only affects the device side of the sync relationship.

Is unlinking reversible?

Yes. A simple sign-in through the OneDrive sync client restores the pairing within seconds, as long as you still have access to the account password and multi-factor authentication.

Does unlinking trigger a compliance alert?

No. Default Microsoft 365 tenants do not raise an alert for an unlink event, though administrators can configure custom endpoint DLP rules to flag client-state changes.

Should I unlink before selling my PC?

Yes. Unlinking followed by a full Windows Reset is the safest handoff, because it breaks the pairing and wipes the disk, leaving the new owner with no access to your files or credentials.

Can I unlink one account and keep another on the same PC?

Yes. The OneDrive sync client supports multiple accounts, so you can unlink a personal account while keeping a business account linked, or unlink one business tenant while keeping another.

Does unlinking remove the OneDrive app?

No. The app stays installed and ready to accept a new sign-in, because unlink only clears the account-to-device token and the local sync database.

Will unlinking stop Known Folder Move?

Yes. KFM relies on an active sync link, so unlinking halts the redirect of Desktop, Documents, and Pictures, and the folders revert to their original local paths or remain pointing at the orphaned OneDrive path depending on the Windows build.

Can I unlink from the web?

No. The unlink command runs only in the desktop sync client, though an administrator can remotely wipe a linked device through the Microsoft 365 admin center to achieve a similar effect.

Does unlinking affect shared links I created?

No. Shared links created from the web view stay active because they live in the cloud, but share links created from the desktop context menu may need to be regenerated after relink.

Is unlinking the same as signing out on Mac?

Yes. Microsoft labels the action Sign out on macOS and Unlink this PC on Windows, and the underlying behavior is identical across both platforms.

Will unlinking log me out of Windows?

No. Unlink only affects the OneDrive sync client, and your Windows sign-in, Microsoft account settings, and other Microsoft 365 apps continue to work without interruption.

Can unlinking cause data loss during litigation holds?

Yes. An unlinked device can miss sync of files subject to an eDiscovery hold, so legal teams should coordinate with IT before any employee unlinks a PC under hold.

Word count: approximately 4,250.