Windows 10: Unable to Delete a Folder Solved

  1.    02 May 2018 #1

    Unable to Delete a Folder

    After clean installing 1803 I found that OneDrive was giving errors in Event Viewer so I decided to follow a guide which recommended uninstalling and reinstalling it. During install I decided to move the folder from c: to d:.

    Unfortunately this has left all the files behind even though most of them were stored in the cloud. I have followed this tutorial and also tried command prompt in advanced boot but nothing allows me to delete it.

    According to security I do have ownership.
      My ComputersSystem Spec

  2.    02 May 2018 #2

    I don't think you can completely uninstall it as it's integrated in just about everything much less move it....with out having some serious complications.

    I don't use all. Simply because MS givith and takith away gigs of space (long story). So I just disable/turn it off after every upgrade or clean install I do.
      My ComputerSystem Spec

  3.    02 May 2018 #3

    I do use OneDrive and having relocated it's folder, you'd think that you'd be able to delete the old one!
      My ComputersSystem Spec

  4.    02 May 2018 #4

    swarfega said: View Post
    I do use OneDrive and having relocated it's folder, you'd think that you'd be able to delete the old one!
    Give it a try with CCleaner (in tools), but you have 2 locations now... Run cmd lines so that it won't show up in Start nor in Explorer.
    Explorer and Start menu. In the guess account, keys must be delete manually.
    REG Delete "HKEY_CLASSES_ROOT\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f
    REG Delete "HKEY_CLASSES_ROOT\Wow6432Node\CLSID\{018D5C66-4533-4307-9B53-224DE2ED1FE6}" /f
    Other method:
    taskkill /f /im OneDrive.exe
    %SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall
    Revo Uninstaller Pro is probably the best option. Forced uninstall and browse the location in <<Full path to program file or folder>>. The only working area left would be changing its location. It is not possible to delete Onedrive nor any other MS apps.

    They all have a cmd line to re-install them, they're just in a dormant state.
    Last edited by MikeMecanic; 02 May 2018 at 22:47.
      My ComputerSystem Spec

  5.    03 May 2018 #5

    Thank you. Will give it a try after work.
      My ComputersSystem Spec

  6.    03 May 2018 #6

    I tried various things including your suggestion which didnt work.

    What did work however was this:

    1. open elevated command prompt
    2. type rd /s /q \path\to\folder

    and this removes them. You may have to enable the hidden administrator account which you can do following this guide.

    Now to reinstall OneDrive!
      My ComputersSystem Spec


Related Threads
Solved Unable to delete folder - vsmwrke in AntiVirus, Firewalls and System Security
There is a program running in the background and I'm sure it's a virus. It's probably left over and it's putting up one hell of a fight. I thought I had it all solved, I was wrong. Double clicking the folder it's hiding in gives me an error,...
I have a folder that I can not delete. When I try, I get an error message saying the file is no longer at this location and to verify it's location and try again. So how do I verify it's location? I was able to transfer the files from the...
Hi all, I have encountered a problem on my laptop there is a folder with this error and i dont know how to delete this? It is a folder on my dropbox, I have tried various methods such as unlocker software but still no luck please advise
I have folder which said it deleted, but had zero size....I trid adding some sub folders in the home it may trigger a proper deletion, these sub folders are now behaving in the same way....I loaded up a live Linux cd, it refused to...
Unable to delete a folder on an external USB HDD. Tried with take ownership. Tried Takedown, and some options on Owner of Files and Folders - Change in Windows 10 - Windows 10 Forums I booted from USB (WinPE/Paragon) and accessed command...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 20:40.
Find Us