Removal guide Adware

OneDrive.exe on Windows: How to Stop Syncing Without Losing Your Files

OneDrive.exe is Microsoft’s Windows sync app, and the cloud symbol beside a file can mean there is no complete copy on your computer yet.

Before you stop syncing or remove OneDrive, confirm where your current files are stored, especially if you use it to back up Desktop or Documents.

A cloud and folder labeled OneDrive.exe

Overview

OneDrive.exe runs the sync app, not the cloud account

The genuine executable transfers changes between your PC and OneDrive, while the files that already reached Microsoft remain available when you sign in online.

You can pause or stop the app on this computer without closing the account, but new local changes will not reach your other devices while sync is off.

File Explorer can show files that have not downloaded

OneDrive’s Files On-Demand feature can list online files in Explorer without storing their full contents locally, even when the file name and size are visible.

  • Blue cloud: The file is online-only, so having its name in File Explorer does not mean you can open it later without a connection.
  • Outlined green check: A copy is available on this PC now, but Windows can reclaim that space later if Storage Sense is set to do so.
  • Solid green circle: The item is marked to stay on this device, so it remains available offline after the download has completed successfully.

The right setting depends on why you want it to stop

Pause syncing for a short interruption, change the startup setting if you want to open OneDrive yourself, or unlink if you no longer want this PC syncing.

If disk space is the only issue, Free up space changes a downloaded file to online-only, while deleting the file can remove it from both locations.

Where Microsoft OneDrive.exe Belongs on Windows

Microsoft documents OneDrive.exe as its sync application and describes different installation locations depending on whether it was installed for each user or for the whole PC.

A per-user installation can use %LOCALAPPDATA%\Microsoft\OneDrive, while a computer-wide installation can reside under Program Files or Program Files (x86), depending on the Windows setup.

We verified a genuine copy under C:\Program Files\Microsoft OneDrive with the original filename OneDrive.exe and a valid Microsoft Corporation signature on the file.

That finding identifies one installed build rather than a required version or a guarantee about another copy with the same name somewhere on your computer.

The setup program Microsoft calls OneDriveSetup.exe is separate from the live sync process, and the folder containing the program is separate from the folder containing your files.

Seeing OneDrive in Task Manager during a large upload can be normal; the file path, signer, and observed activity are more useful than its name alone.

How to Check OneDrive.exe and Control Sync Without Losing Files

Step 1: Identify the running file and the account it is using

Press Ctrl + Shift + Esc, select Details in Task Manager, and find the OneDrive.exe row without opening any other copy of the program.

Choose Open file location from the row’s right-click menu, then confirm the folder before opening the selected file’s Properties in File Explorer.

Look at the Digital Signatures tab if it is available, choose the signer, and open Details to see whether Windows validates the signature.

The listed company name on the file’s metadata is not the same as a validated signature, so check the signature rather than just reading the product name.

Near the clock, select the OneDrive cloud, checking the arrow for hidden icons if necessary, and open Help & Settings > Settings > Account.

Identify the personal or work account that corresponds to the folder you intend to change, since a different account may have its own icon and files.

A red cross can mean a file did not sync, and circular arrows indicate activity, so open the cloud menu and read what it reports.

Record the affected filename and error before changing startup options, because those settings will not fix a rejected upload or a full cloud account.

Step 2: Verify your newest files online and preserve anything missing

Use a trusted browser to open OneDrive on the web, then sign in with the same Microsoft or work account you identified on your PC.

For a work or school account, select View Online in that cloud icon’s panel if available, so you start in the correct organization’s storage.

Open the same folder and check your newest important files, then open a few to confirm their contents rather than assuming matching names mean matching versions.

If an updated local file is absent or older online, treat the upload as unfinished and make a separate copy of the latest local version.

Choose a backup folder that is not itself inside OneDrive or another sync folder, and confirm its actual path before selecting it as the destination.

Use Copy and Paste, not Cut, because moving items out of a synced folder can also remove the cloud copy once the change syncs.

For online-only files you want to keep offline, right-click them in Explorer and select Always keep on this device while sync and access still work.

Wait for the solid green mark, then copy needed files outside OneDrive and open representative copies directly from the destination to verify the transfer.

If there is no room to download a folder, use the website to download the needed files to an approved drive with enough free space.

For work or school documents, follow the organization’s backup rules and do not move anything to a personal device or account without permission.

Step 3: Choose between pausing sync and changing startup

For a temporary break, select the relevant OneDrive cloud near the clock, open the settings gear, and choose Pause syncing for 2, 8, or 24 hours.

Check that the cloud shows a paused symbol, then remember that transfers restart automatically when the interval ends unless you make a further change.

To restart sooner, select the paused cloud and use Resume syncing or the paused notice in the activity panel, depending on the controls shown.

If you use personal and work OneDrive, see which account resumed before relying on an upload or assuming the other account stopped as well.

To stop it opening next time you sign in, use Settings > Apps > Startup and turn the verified Microsoft OneDrive entry off if listed.

You can also find the entry under Startup apps in Windows 11 Task Manager or Startup in Windows 10, then select Disable for that entry.

Startup settings do not close this session, so open the cloud menu and choose Pause syncing > Quit OneDrive to stop the current app as well.

When you need to sync again, search for OneDrive in Start, open the Microsoft app, and check its activity panel and the latest file online.

Step 4: Free local space or keep the files you need offline

For a file that has synced and opens online, right-click the item inside the correct OneDrive folder and choose Free up space, not Delete.

Check that it changes to the blue cloud state and remains visible on the website, which confirms the distinction between removing a download and deleting data.

If the Windows 11 menu hides older commands, select Show more options or look in the OneDrive submenu for the action on that file.

For files you need away from the internet, choose Always keep on this device only for the items you have space to download and use.

Marking a large folder can include its contents, so start with the actual documents you need rather than downloading a shared library in its entirety.

Before you leave a working connection, open important documents from Explorer once they show as downloaded, instead of relying on an icon during an unfinished transfer.

Free up space saves local disk space, not space in your cloud account, so it will not resolve a Microsoft storage quota message.

Step 5: Check Desktop and Documents before changing folder backup

In the OneDrive gear menu, go to Settings > Sync and backup > Manage backup to see whether it is handling your important Windows folders.

Check each folder independently because having a normal-looking Desktop or Documents view does not tell you whether it opens directly inside the synced OneDrive folder.

Before turning a folder off, confirm finished uploads online and open the separate copies that you made of current or local-only files in that folder.

When you turn backup off, Microsoft’s current Windows options can include keeping files only in OneDrive or keeping them only on this PC.

The first choice removes the computer copies and the second removes the OneDrive copies, so do not select either one until you understand which copy you need.

If you need both copies, cancel until you have a separate, readable copy outside the sync folder and a clear plan for what stays online.

If a warning says cloud-only items could not be moved, download them while access is working and check the copies before you continue with the change.

Only proceed after checking online access and preserving local work, because an unsent change is not protected by a cloud copy that predates it.

Open the correct OneDrive cloud, select Help & Settings > Settings > Account, and choose Unlink this PC for the account you want to disconnect.

Confirm with Unlink account after checking that you selected the right email or organization and can still access that account through the website.

Microsoft’s account removal instructions say downloaded files remain in the local folder, while items that were only online must be opened through the website after unlinking.

If all you wanted was to end sync for that account, keep the app installed, especially if another Windows user or OneDrive account still depends on it.

To uninstall the app on a personal PC, find Microsoft OneDrive in Settings > Apps > Installed apps or Windows 10’s Apps & features.

Choose Uninstall for that app if Windows offers it, and leave the program and sync folders alone rather than forcing removal where the option is missing.

Check that your saved copies still open and your cloud files remain accessible after making the change, particularly if you previously relied on placeholders.

If you later need the app again and it is not installed, get it from Microsoft’s download page rather than looking for a standalone OneDrive.exe.

To reconnect, open OneDrive from Start, sign in with the same account, and only choose Use this folder if you recognize the previously synced location.

Before reconnecting, preserve changes made since unlinking, because edits in the old folder can sync again when you link it to the same account.

Step 7: Check the appropriate Recycle Bin after an accidental deletion

Stop moving or deleting files while you investigate, because a change made inside a synced folder can be sent to OneDrive and then to other devices.

In the correct OneDrive account on the web, choose Recycle bin, select the missing item, and select Restore if the item is still listed.

For previously downloaded files, also check Windows’ Recycle Bin and right-click the item to Restore it if present, since online-only items won’t appear there.

Microsoft lists up to 30 days for personal files and normally 93 days for work or school, which can vary with administrator settings.

If someone else owned the file, ask that person to check their account, and use your organization’s support channel for a shared work library.

The recycle bin cannot guarantee recovery after permanent deletion, so check any separate backup promptly if the item is missing from both places.

What to Do With Your OneDrive.exe Findings

  1. If the file is Microsoft’s signed sync app and works normally, keep it and use the smallest setting change that addresses the interruption.
  2. If OneDrive only uses too much local space, change selected synced files to online-only and keep independent copies of anything you need away from the internet.
  3. If you are leaving the service on this PC, confirm your data locations and preserve recent work before unlinking the account or uninstalling the app.
  4. If a managed computer shows a policy warning, contact the organization instead of removing software or copying work files to storage it has not approved.

Scan with Malwarebytes if a separate untrusted copy ran or was flagged

Use the Malwarebytes scan guide on your personal PC if you ran a questionable download pretending to be OneDrive or a security alert identifies an unexpected copy.

Record where that copy was found and what the alert says, but do not treat a paused cloud or unfamiliar file status as evidence of malware.

Scan Windows with Malwarebytes if you suspect malware

On a personal PC, open Malwarebytes if it is already installed, or use the Windows download below and check that Windows identifies Malwarebytes Inc as the publisher.

When the verified setup opens, choose Install and select Personal if asked, leaving optional browser add-ons or paid offers unchecked if shown.

Malwarebytes Setup window with the Install button highlighted

Choose Open Malwarebytes when setup finishes, then use the free option if offered and skip optional email or browser prompts when you do not need them.

On the free plan, open the Scanner tile’s three-dot menu, choose Advanced Scan > Custom Scan, and select the Windows system drive before starting.

Choose Start Custom Scan to begin, or use the dashboard’s Scan shortcut if the edition you already have includes Threat Scan.

Malwarebytes dashboard with the Scan button on the Scanner tile highlighted

When the scan finishes, check the full file paths in the results, then select confirmed threats and choose Quarantine if they have not already been isolated.

Malwarebytes results listing a test item, with the Quarantine button highlighted

Save the report, restart Windows if prompted, then open Detection History > Quarantined items to see which detections Malwarebytes isolated.

If the same detection returns or other signs of compromise continue, seek help with the saved report instead of assuming that another scan will settle it.

The custom scan does not require a purchase, and Malwarebytes Premium is a separate option for people who want ongoing protection.

Frequently Asked Questions

Is OneDrive.exe a virus?

Microsoft’s genuine OneDrive.exe is a normal Windows sync app, but an unrelated download with the same name does not inherit Microsoft’s signature or your trust.

Will uninstalling OneDrive delete my cloud files?

Uninstalling the app does not delete files already stored online, but it does not upload changes that were still waiting on your computer either.

Is Free up space the same as deleting a file?

Free up space makes the item online-only, while Delete in a synced folder can remove the file from OneDrive and other connected computers.

Why does a file still show in Explorer when it is not downloaded?

OneDrive displays the name and information for an online-only file as a placeholder, and it downloads the contents when you open it with an internet connection.

Does stopping OneDrive startup affect my work on this PC?

You can still open genuinely local files, but OneDrive will not keep changes in sync until you open the app again and syncing resumes.

What if my file is missing online but looks correct on this PC?

Copy the readable local version somewhere outside OneDrive before troubleshooting, then check the account and recent sync errors before editing or unlinking that folder.

The Bottom Line

Keep the signed OneDrive.exe if you use sync, and choose pause or Free up space when you are only changing timing or disk use.

Before unlinking or removing OneDrive, confirm your latest files online and open your independent backups, instead of assuming every file listed in Explorer is stored locally.

After the cleanup

Finish the cleanup. Keep protection on.

Follow the removal steps above, then consider ongoing protection against malicious software and unwanted advertising.

Malwarebytes

Scam & malware protection

Go beyond a one-time scan.

Malwarebytes can detect and remove malware and unwanted programs. Premium Security adds real-time protection against new threats.

  • Scam Guard for suspicious messages
  • Real-time malware protection with Premium

Join the discussion

0 comments

Share your experience or ask a question about this article.

Discussion

Start the conversation

Have a question or something useful to share? Add the first comment.

Written by

Stelian

Stelian is a malware and virus removal expert with more than 15 years of experience. Stelian leads malware analysis and removal at MalwareTips, writes the step-by-step removal guides and helps readers recognize and avoid online scams.

61,188 articlesWriting since 2011
More from Stelian →

MalwareTips community · since 2010

Stuck on a step? 75,000+ members can help you for free.

Post your question on the forum and our volunteer malware removal experts will walk you through it, step by step.

75K+members
999K+forum messages
100K+forum topics
16+years online

Previous

Nvxdsync.exe: Verify the NVIDIA File and Diagnose Windows Display Errors

Next

Opera.exe on Windows: Check High CPU, Unwanted Startup and Browser Safety