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. Accidentally deleted the folder and all files gets deleted.

    in Windows 10 Network and Sharing
    Accidentally deleted the folder and all files gets deleted.: User deleted that folder and all the files gets deleted desktop, documents & pictures bypassing windows recycle bin.Is there a way to recover the files?...
  3. 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...
  4. I deleted all my files on OneDrive

    in Windows 10 Network and Sharing
    I deleted all my files on OneDrive: I deleted all my files on OneDrive because it was full not knowing it would delete all the files on my computer. Is there any way to get them back? https://answers.microsoft.com/en-us/windows/forum/all/i-deleted-all-my-files-on-onedrive/dc1fd01a-2177-4f1a-b357-7cde57b7dcc1
  5. unlinked onedrive deleted files from folders

    in Windows 10 Network and Sharing
    unlinked onedrive deleted files from folders: i expanded my onedrive to premium , unlinked it to change hard drive and after that all my data deleted from its folders , i got my desktop clear and documents folder lost its 3 gb of data , there are nothing in current folders or in the cloud , they are empty , how that is...
  6. 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"
  7. Onedrive Folders and files not deleting in File Explorer

    in Windows 10 Software and Apps
    Onedrive Folders and files not deleting in File Explorer: The one drive on my PC always showing uploading files around 205 MB in administrator account but it will stuck to uploading around 25 MB and then again starts from around 10 MB and will again go to around 25 or 27 MB and will continue doing this. There are files in the...
  8. 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...
  9. Deleting files in OneDrive

    in Windows 10 Network and Sharing
    Deleting files in OneDrive: I have a lot of files I want to delete, and it is easier to do on the desktop than on the web. I have multiple images that are not local, but I have the icons showing. When I delete them, they download before they will delete which takes an inordinate amount of time. Is there...
  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