SharePoint Document Issues

How to Delete a Windows Profile Without Removing SharePoint Files

Rana GarciaRana Garcia Nov 2, 2026 869 views

Question details

The user needs to know how to safely remove an old Windows user profile and its associated OneDrive folder without triggering a cloud deletion of synchronized SharePoint files or affecting another user's connection.

How to Delete a Windows Profile Without Removing SharePoint Files
Product
SharePoint and OneDrive
Device & OS
Windows
Scenario
Cleaning up a shared Windows PC by deleting an old user account that previously synced SharePoint libraries via the OneDrive client.
Observed behavior
The user wants to guarantee that deleting local synced files from the old profile will not synchronize those deletions back to the shared SharePoint online library.
Before you start

Before making any changes to user accounts, log into the old Windows profile to verify its current OneDrive synchronization status and ensure you have administrative privileges on the PC.

Solution 1Recommended

Unlink OneDrive and Stop Synchronization

Disconnect the local OneDrive folder from the SharePoint cloud to prevent accidental file deletion before removing the Windows profile.

Each Windows profile maintains its own separate OneDrive synchronization location and credentials. By actively stopping the synchronization and unlinking the account on the old profile, you sever the connection. This ensures that any subsequent local file deletions—including the deletion of the entire Windows profile—will not be mirrored to your online SharePoint library.

1
Log into the old profile

Sign in to the Windows user profile that you intend to delete from the computer.

2
Open OneDrive settings

Locate and click the OneDrive cloud icon in the Windows taskbar notification area (system tray). Click the 'Help & Settings' gear icon, then select 'Settings'.

3
Access the Account tab

Navigate to the 'Account' tab within the OneDrive settings window to view all currently synced locations.

4
Stop synchronization

Find the SharePoint library or specific folders you want to disconnect, and click 'Stop sync'. Confirm your choice when prompted.

5
Unlink the PC

To be completely safe, click 'Unlink this PC' under the main OneDrive account settings to remove the account connection entirely.

Unlink OneDrive and Stop Synchronization
Safe Deletion Confirmed: Once the account is unlinked and there is no active synchronization, removing the local files or the entire Windows profile will not delete your cloud SharePoint files.
Free Microsoft Office alternative

Seamlessly Manage and Edit Office Documents with WPS Office

While resolving Windows and SharePoint synchronization configurations, consider using WPS Office for your daily document workflows. It provides a lightweight, highly compatible, and user-friendly environment for editing local and cloud documents without the complexity of heavy background synchronization clients.

  1. 1. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite on your Windows PC.
  2. 2. Open Local SharePoint Files: Launch WPS Office and directly open any documents you have downloaded locally from SharePoint.
  3. 3. Edit and Save Safely: Edit your documents with full Microsoft Office format compatibility and save them locally or back them up to WPS Cloud.
Fully compatible with Microsoft Word, Excel, and PowerPoint file formats.Operates independently of Windows profile synchronization for safer local file management.Lightweight installation that uses minimal system resources.Built-in WPS Cloud storage for easy, reliable document backup.
microsoft office alternative - wps office

Frequently Asked Questions

Will deleting a local OneDrive folder delete files for everyone else?

If the OneDrive account is actively syncing, deleting local files will synchronize that deletion to the cloud, affecting everyone who uses those files. You must unlink the account or stop sync before deleting the local folder.

How do I check if my SharePoint files are currently syncing on Windows?

Click the OneDrive cloud icon in your taskbar, go to Settings, and check the Account tab. Any actively syncing SharePoint libraries or OneDrive folders will be listed there with their current status.

Can another user's profile on the same PC access my synced SharePoint files?

No, each Windows profile has its own separate OneDrive synchronization location, folders, and credentials. However, to prevent accidental cloud deletions if your profile is removed by an administrator, you should properly unlink your account first.