Windows 10: Removal of OneDrive folder from PC

Discus and support Removal of OneDrive folder from PC in Windows 10 Network and Sharing to solve the problem; Since I no longer needed OneDrive on one of my Windows PCs I "uninstalled" OneDrive. I would now like to delete the OneDrive user folder from the C:... Discussion in 'Windows 10 Network and Sharing' started by NorthvilleDaveS, Apr 21, 2021.

  1. Removal of OneDrive folder from PC


    Since I no longer needed OneDrive on one of my Windows PCs I "uninstalled" OneDrive.


    I would now like to delete the OneDrive user folder from the C: drive on that PC - it's contents appear to be corrupted so it is impossible to just delete the folder.


    Is there any way to delete this folder without having to reinstall OneDrive to this PC?


    Any help here will be greatly appreciated.


    Dave

    :)
     
    NorthvilleDaveS, Apr 21, 2021
    #1
  2. MCK
    mck Win User

    Unable to remove onedrive folder

    Did that but still getting the error msg "The action can't be completed because the folder or a file in it is open in another program." when trying to rename the OneDrive folder. Thanks.

    - - - Updated - - -

    Was finally able to delete the OneDrive folder.

    After doing all of the previous suggestions, I was never able to rename the OneDrive folder and kept getting the error message: "The action can't be completed because the folder or a file in it is open in another program."

    I decided to just go ahead and try to delete the OneDrive folder without the safety precaution of renaming it first. Here's what happened:

    1. I did a shift+delete to delete the OneDrive folder without putting it into Win10's recycle bin.
    2. Surprisingly the contents of the OneDrive folder started to be deleted. It took a long time and displayed a progress bar because it was 85GB in size.
    3. Toward the end of the deletion process, it said it could not delete a file because it was open in Macrium Reflect. I did not use Macrium during this boot up so Macrium was running in the background due to some auto start on boot. It gave the choice to skip the file so I clicked that and the deletion procedure completed.
    4. But the OneDrive folder was still present.
    5. I tried to delete it again and got the same message about Macrium.
    6. However, when I checked the size of the OneDrive folder, the 85GB was gone and it was only some kilo bytes in size.
    7. I went into Task Manager and did an End Task for the 3 Macrium processes that were running.
    8. Now I was able to delete the OneDrive folder.
    So it appears that "maybe" the reason I could not rename the OneDrive folder "because a file was open in another program" was because of the auto start Macrium Reflect processes. Too bad that Microsoft programmers could not see fit to say which program it was during the rename process, but luckily did say which program it was in the delete process.

    EDIT: I just rechecked and the OneDrive folder is still present. Either it appeared to have been deleted or I missed seeing it after step-8 above. But I'll just leave it since it only contains 1.46 MB of data. Though I'll need to check it later to see if it increases in size.

    Thanks to the folks who helped and hope this info helps others,
     
  3. TarAn_D Win User
    Move the OneDrive Folder

    Move the OneDrive Folder in Windows 10

    When you set up OneDrive to sync with your computer, a folder C:\Users\XXXX\OneDrive will be created to store the contents. XXXX denotes your username. To move this folder to another location follow these simple steps:

    1. Unlink OneDrive from your PC:

    • Go to the taskbar notification area
    • Right-click on the OneDrive icon
    • Select settings
    • Click: Unlink this PC
    2. Delete the C:\Users\XXXX\OneDrive folder

    3. Create a new folder (target folder) for OneDrive contents, e.g. D:\OneDrive

    4. Create Directory Junction for the new folder

    • In the search area of the taskbar type CMD and press Ctrl+Shift+Enter
    • In the command window type
    mklink /J C:\Users\XXXX\OneDrive D:\OneDrive

    adjusting it to your specific username and selection of the target folder

    5. Link again OneDrive to your PC using the OneDrive icon in the taskbar notification area
     
    TarAn_D, Apr 21, 2021
    #3
  4. Freezer Win User

    Removal of OneDrive folder from PC

    Windows 10 - OneDrive

    Anyone know how to remove "OneDrive - For Business" from the Explorer navigation panel? I've tried just about every registry modification, and windows policy for "Onedrive" but they only seem to work for the consumer product, not for onedrive for business.

    The onedrive product alone is so damn annoying and continues to load itself upon startup, even when it's explicitly remove from startup. It continues to automatically load and unload itself from within the startup folder... while I'm actively watching it load itself into the startup folder.
     
    Freezer, Apr 21, 2021
    #4
Thema:

Removal of OneDrive folder from PC

Loading...
  1. Removal of OneDrive folder from PC - Similar Threads - Removal OneDrive folder

  2. How to remove Documents folder from OneDrive when OneDrive is full?

    in Windows 10 Network and Sharing
    How to remove Documents folder from OneDrive when OneDrive is full?: I recently got a new laptop and when I was setting it up, I chose the option to backup Documents and a couple of other folders to OneDrive. I assumed that this would merely copy the files to the cloud, but apparently it actually replaces the local Documents folder entirely....
  3. How to remove Documents folder from OneDrive when OneDrive is full?

    in Windows 10 Gaming
    How to remove Documents folder from OneDrive when OneDrive is full?: I recently got a new laptop and when I was setting it up, I chose the option to backup Documents and a couple of other folders to OneDrive. I assumed that this would merely copy the files to the cloud, but apparently it actually replaces the local Documents folder entirely....
  4. How to remove Documents folder from OneDrive when OneDrive is full?

    in Windows 10 Software and Apps
    How to remove Documents folder from OneDrive when OneDrive is full?: I recently got a new laptop and when I was setting it up, I chose the option to backup Documents and a couple of other folders to OneDrive. I assumed that this would merely copy the files to the cloud, but apparently it actually replaces the local Documents folder entirely....
  5. Accidently removed onedrive folder from file explorer

    in Windows 10 Gaming
    Accidently removed onedrive folder from file explorer: I removed it by the programs and features in control panel accidently. Is there a way to put it back? https://answers.microsoft.com/en-us/windows/forum/all/accidently-removed-onedrive-folder-from-file/88add16d-2742-427a-83c5-39404e77408b
  6. Accidently removed onedrive folder from file explorer

    in Windows 10 Software and Apps
    Accidently removed onedrive folder from file explorer: I removed it by the programs and features in control panel accidently. Is there a way to put it back? https://answers.microsoft.com/en-us/windows/forum/all/accidently-removed-onedrive-folder-from-file/88add16d-2742-427a-83c5-39404e77408b
  7. Remove OneDrive Folder

    in Windows 10 Support
    Remove OneDrive Folder: Hi can I ask a little advice please I have just reformatted my computer and installed the latest version of windows as a clean install it is Version 20H2 build 19042.746 All was ok but I then noticed when I looked at the folder Users then at my name there was a folder called...
  8. Remove folders from OneDrive

    in Windows 10 Support
    Remove folders from OneDrive: Windows 10 - Latest version. I am aware that I can remove folders from OneDrive by removing them from the on-line view. However I read in various places that deleting a folder from OneDrive deletes it from my computer. This seems such an extraordinary thing to do I think I...
  9. Remove OneDrive Folders from Libraries?

    in Windows 10 Customization
    Remove OneDrive Folders from Libraries?: Alright guys, I actually do use OneDrive, and I am not trying to remove the app entirely. However, it seems like if I remove the OneDrive folder from my libraries (music, pictures, documents), next boot they show right back up. This is incredibly annoying as I actually...
  10. Add or Remove Shared Folders from OneDrive

    in Windows 10 Tutorials
    Add or Remove Shared Folders from OneDrive: How to: Add or Remove Shared Folders from OneDrive How to Add or Remove Shared Folders from Your OneDrive [img] Information You can easily save your files to OneDrive and get to them from any device, like your Windows 10 PC, Windows 10 tablet, or Windows 10 Mobile...