Windows 10: Delete all file and folders in OneDrive

Discus and support Delete all file and folders in OneDrive in Windows 10 Network and Sharing to solve the problem; I have made several changes to the devices on my network and my OneDrive is now in a confused mess.I would like to remove all files and folders and... Discussion in 'Windows 10 Network and Sharing' started by DavidJohnChapple, Sep 29, 2021.

  1. Delete all file and folders in OneDrive


    I have made several changes to the devices on my network and my OneDrive is now in a confused mess.I would like to remove all files and folders and remove all syncing, effectively restoring OneDrive to the as installed condition.How can I do this?

    :)
     
    DavidJohnChapple, Sep 29, 2021
    #1

  2. Trouble deleting a folder

    Thanks for the suggestion but it says "delete folder failed for E:\....." for each folder I try.

    *Confused Delete all file and folders in OneDrive :confused:

    Will I be forever stuck with these unnecessary folders? *Oh Well Delete all file and folders in OneDrive :eek:hwell:
     
    oli_ramsay, Sep 29, 2021
    #2
  3. Nikhar_K Win User
    Error while deleting file/folders

    Hi,



    Thank you for writing to Microsoft Community Forums.



    Please reply with the following details to help you with the appropriate troubleshooting steps:



    • Which files/folders are you trying to delete?
    • What is the exact error message you receive?
    • Are you trying to delete the files from OneDrive or your computer?


    If you are facing issues in deleting files from OneDrive, you can refer the steps mentioned in the article

    Delete files or folders in OneDrive
    .



    You can also get in touch with the OneDrive support team they will look into this for you and help you accordingly. Follow the below steps to contact the OneDrive support team.



    Sign in to OneDrive.com from any browser, click the ‘?’ help icon on the top banner of the page and select
    Email OneDrive support. Submit your question and follow the prompts to request support.



    Regards,

    Nikhar Khare

    Microsoft Community - Moderator
     
    Nikhar_K, Sep 29, 2021
    #3
  4. MCK
    mck Win User

    Delete all file and folders in OneDrive

    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,
     
Thema:

Delete all file and folders in OneDrive

Loading...
  1. Delete all file and folders in OneDrive - Similar Threads - Delete file folders

  2. Turning off OneDrive backup for a folder deletes all files!

    in Windows 10 Gaming
    Turning off OneDrive backup for a folder deletes all files!: I turned off syncing to OneDrive for my desktop, and Windows deleted all the files on the desktop, leaving them only on OneDrive. This is not how this should work! If anything it should do the opposite. How about not randomly unexpectedly deleting peoples' files, Microsoft?...
  3. Turning off OneDrive backup for a folder deletes all files!

    in Windows 10 Software and Apps
    Turning off OneDrive backup for a folder deletes all files!: I turned off syncing to OneDrive for my desktop, and Windows deleted all the files on the desktop, leaving them only on OneDrive. This is not how this should work! If anything it should do the opposite. How about not randomly unexpectedly deleting peoples' files, Microsoft?...
  4. OneDrive deleted all my files.

    in Windows 10 Network and Sharing
    OneDrive deleted all my files.: So.. i am about to reinstall windows, and i wanted to backup some files from my PC to the cloud, so i figured i'd give Onedrive a go. They use it at work, it works well it seems, should be fine i think. I download it, setup a microsoft account for the first time ever and then...
  5. OneDrive deleted all my files.

    in Windows 10 Gaming
    OneDrive deleted all my files.: So.. i am about to reinstall windows, and i wanted to backup some files from my PC to the cloud, so i figured i'd give Onedrive a go. They use it at work, it works well it seems, should be fine i think. I download it, setup a microsoft account for the first time ever and then...
  6. OneDrive deleted all my files.

    in Windows 10 Software and Apps
    OneDrive deleted all my files.: So.. i am about to reinstall windows, and i wanted to backup some files from my PC to the cloud, so i figured i'd give Onedrive a go. They use it at work, it works well it seems, should be fine i think. I download it, setup a microsoft account for the first time ever and then...
  7. Accidentally deleted the Onedrive folder and all files gets deleted.

    in Windows 10 Network and Sharing
    Accidentally deleted the Onedrive folder and all files gets deleted.: users files gets deleted. It happens on his personal laptop. User logs in to onedrive using his work account/ email and started to sync desktop, documents & pictures. while syncing, user tries to cancel it by going to onedrive settings and choosing to stop the sync and unlink...
  8. ALL FILES AND FOLDERS DELETED

    in Windows 10 Network and Sharing
    ALL FILES AND FOLDERS DELETED: All my files and folders have been deleted on my PC and whenever I save a document, it gets deleted when I switch off the PC. Please help. https://answers.microsoft.com/en-us/windows/forum/all/all-files-and-folders-deleted/c18ae88f-af6d-4b28-a521-0f1168f0f6de"
  9. Onedrive folder/file deletion

    in Windows 10 Software and Apps
    Onedrive folder/file deletion: Had this issue before today's cum update and still there. Local folders created within the default folders (Docs, Pictures, etc) can't be deleted and files within can't be either. If files is in a default folder vs a personally created sub-folder, they behave normally and I...
  10. Onedrive deleted all my files

    in Windows 10 Software and Apps
    Onedrive deleted all my files: Why onedrive deleted all my files? I had 20 mp3 on my hard disk after i restarted my pc onedrive deleted all of them and put in trash bin. Any help? 13073