logo
search
OneDrive File Issues

How to Factory Reset a Laptop and Fix Wrong Microsoft Account Sync

Steve KSteve K Sep 29, 2026 870 views

Question details

The user needs to permanently erase their laptop and configure it as a new device with the correct Microsoft account to prevent old files from an incorrect account from reappearing.

How to Factory Reset a Laptop and Start Over with the Correct Microsoft Account
Product
Windows, Microsoft OneDrive
Device & OS
Windows
Scenario
Resetting a laptop and configuring it as a new device with a different Microsoft account.
Observed behavior
Files from another laptop keep returning after a factory reset because the computer is still synchronizing with the wrong Microsoft or OneDrive account.
Before you start

Ensure you have backed up any essential files you want to keep to an external hard drive and verify that you have the login credentials for the correct Microsoft account you intend to use.

Solution 1Recommended

Unlink OneDrive and Change the Windows Account

The quickest way to stop files from the wrong account from syncing is to unlink OneDrive and create a new local user profile, avoiding a time-consuming factory reset.

If you only want to stop files from a previous account from reappearing, a full system reset may not be necessary. Unlinking the OneDrive account stops the synchronization immediately, allowing you to safely delete local files without them returning.

1
Open OneDrive settings

Click the OneDrive cloud icon located in your Windows system tray, select the Help & Settings gear icon, and click on 'Settings'.

2
Unlink the PC

Navigate to the 'Account' tab within the OneDrive settings window and click on 'Unlink this PC'. Confirm the prompt to stop the syncing process.

3
Delete unwanted files

Open File Explorer and manually delete the local files and folders that were previously downloaded by the incorrect OneDrive account.

4
Switch user accounts

Go to Windows Settings > Accounts > Family & other users. Add the correct Microsoft account as a new user with administrative privileges, log into it, and then remove the incorrect account profile from the computer.

Unlink OneDrive and Change the Windows Account
Tip: Unlinking OneDrive does not delete your files from the cloud; it only severs the connection to your computer, keeping the online files safe.
Free Microsoft Office alternative

Switch to WPS Office for a Hassle-Free Document Experience

After resetting your laptop and setting up your new Microsoft account, you will need a reliable office suite. WPS Office is a free, lightweight, and highly compatible alternative to Microsoft Office that lets you manage documents easily without dealing with forced cloud syncing issues.

  1. 1. Download the installer: Visit the official WPS Office website and download the free installation package for Windows.
  2. 2. Install WPS Office: Run the downloaded installer and follow the quick on-screen prompts to set up the software on your newly reset laptop.
  3. 3. Open and edit files: Launch WPS Office to instantly open, edit, and save your existing Microsoft Office documents without any formatting loss.
100% compatible with Microsoft Office formats including Word, Excel, and PowerPoint.Lightweight installation that will not bloat your newly reset laptop.Work offline effortlessly without forced OneDrive synchronization.Familiar user interface ensuring a seamless transition and quick setup.
microsoft office alternative - wps office

Frequently Asked Questions

Why do deleted OneDrive files keep coming back after I delete them?

If your OneDrive account is still linked and actively syncing to your PC, it will automatically download files from the cloud back to your local drive to keep both locations identical. You must unlink the account from the PC before deleting local files.

Can I change my primary Microsoft account without resetting my PC?

Yes. You can add a new user account through Windows Settings > Accounts > Family & other users, grant it administrator privileges, sign into the new account, and then safely delete the old user profile.

How do I stop OneDrive from syncing during the Windows setup?

When setting up Windows after a factory reset, carefully read the prompts during the Out-of-Box Experience (OOBE). Look for the option that says 'Only save files to this PC' or decline the offer to 'Back up your files with OneDrive'.