How to Delete a Windows Profile Without Removing SharePoint Files
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.

- 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 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.
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.
Sign in to the Windows user profile that you intend to delete from the computer.
Locate and click the OneDrive cloud icon in the Windows taskbar notification area (system tray). Click the 'Help & Settings' gear icon, then select 'Settings'.
Navigate to the 'Account' tab within the OneDrive settings window to view all currently synced locations.
Find the SharePoint library or specific folders you want to disconnect, and click 'Stop sync'. Confirm your choice when prompted.
To be completely safe, click 'Unlink this PC' under the main OneDrive account settings to remove the account connection entirely.

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. Download WPS Office: Visit the official WPS website to download and install the free WPS Office suite on your Windows PC.
- 2. Open Local SharePoint Files: Launch WPS Office and directly open any documents you have downloaded locally from SharePoint.
- 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.

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.




