Windows 10: Access Denied while deleting WSL files from the Packages folder

Discus and support Access Denied while deleting WSL files from the Packages folder in Windows 10 Network and Sharing to solve the problem; I installed and the uninstalled Ubutnu 18.04 for WSL from the Microsoft store. The uninstall did not remove all the files from my system and they are... Discussion in 'Windows 10 Network and Sharing' started by ThrowingPaint, Oct 3, 2019.

  1. Access Denied while deleting WSL files from the Packages folder


    I installed and the uninstalled Ubutnu 18.04 for WSL from the Microsoft store.

    The uninstall did not remove all the files from my system and they are still there in AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc


    I cannot delete the files manually even as an administrator - see screenshot below.

    Access Denied while deleting WSL files from the Packages folder 58f3c070-c36e-492a-a669-cac978eb098b?upload=true.png

    I'm guessing the files are registered to a Ubuntu user who doesn't exist anymore, any ideas on how I can clear these out??


    ***Original title: Unable to delete WSL Ubuntu Files***

    :)
     
    ThrowingPaint, Oct 3, 2019
    #1

  2. 0 byte folder cannot be deleted Problem

    I have a 0 byte folder and I can't delete it. I'm using win 7 64 bit.
    please help *Cry :cry:

    It says access denied when trying, please login as admin blah blah msgs....

    I've searched the net for hours, Trying unlocker, fileassassin, and all other 'file deleter' programs out there. tried on safe mode, tried the cmd commands, even in cmd it says access denied, tried the closing explorer.exe and doing the command. I tried changing permissions and atrributes and it says you do not have permission to view or edit this objects permission settings. I logged in as the Administrator and still no hope.

    the folder originally contained all my movies but since then i moved(using the move command) all of them someplace else(on another hdd) and I thought it was gone but the folder is still there, 0 bytes. It was shared when i deleted it and still appeared on the shared folders list but inaccessible coz it was already deleted so i 'unshared' the folder from the shared folders list. and so the problem began. the folder is still there and it is undeletable

    One surefire way to do it without deleting my files is copying all other files to another HDD and reformat it and copy it back again but my hdd is currently contains 1 tb out of 1.36 and i dont have any hdds with that free space to use.

    ALSO I CAN'T OPEN THE FOLDER it says

    Location is not available

    'directory' is not accessible.
    Access is Denied.

    i think its more of a windows glitch than a virus problem

    help??? *Frown Access Denied while deleting WSL files from the Packages folder :(
     
    lyndonguitar, Oct 3, 2019
    #2
  3. OnBoard Win User
    Denied access to files

    Yeah, that's "fun". Installed Vista on another HDD and it wouldn't let me delete the old one in the other, just access is denied. Changing the owners wasn't enough tho, had to do that, inherit all the rights from parent folder and then give full rights to my self on that folder *Smile Access Denied while deleting WSL files from the Packages folder :)
     
    OnBoard, Oct 3, 2019
    #3
  4. Polterry Win User

    Access Denied while deleting WSL files from the Packages folder

    Denied Access to delete files


    Thanks for suggestions. I tried AVG Remover but it found nothing; probably because I had already deleted the bulk of the files. I also tried Command and Safe Mode but both gave Denied message. So the question remains how do I get access to delete files? Would changing to MS login at Start help?
     
    Polterry, Oct 3, 2019
    #4
Thema:

Access Denied while deleting WSL files from the Packages folder

Loading...
  1. Access Denied while deleting WSL files from the Packages folder - Similar Threads - Access Denied while

  2. wsl --install: Access is denied

    in Windows 10 Gaming
    wsl --install: Access is denied: I got this errorwsl --install Installing: Windows Subsystem for Linux Access is denied. 0,0%Tried run as administrator - the sameWin10 https://answers.microsoft.com/en-us/windows/forum/all/wsl-install-access-is-denied/eac2553a-3216-4615-996d-e1f993a6576a
  3. wsl --install: Access is denied

    in Windows 10 Software and Apps
    wsl --install: Access is denied: I got this errorwsl --install Installing: Windows Subsystem for Linux Access is denied. 0,0%Tried run as administrator - the sameWin10 https://answers.microsoft.com/en-us/windows/forum/all/wsl-install-access-is-denied/eac2553a-3216-4615-996d-e1f993a6576a
  4. wsl --install: Access is denied

    in Windows 10 Network and Sharing
    wsl --install: Access is denied: I got this errorwsl --install Installing: Windows Subsystem for Linux Access is denied. 0,0%Tried run as administrator - the sameWin10 https://answers.microsoft.com/en-us/windows/forum/all/wsl-install-access-is-denied/eac2553a-3216-4615-996d-e1f993a6576a
  5. Access denied when attempting to delete folder

    in Windows 10 Gaming
    Access denied when attempting to delete folder: I upgraded to Windows 11 from Windows 10, some time ago, and I wanted to delete the Windows.old folder--since I no longer need it.I was stopped by an "access denied" message. And yes, I am in ADMINISTRATOR mode, since I AM the owner of this machine.Really? I'm being denied...
  6. Access denied to delete file from File Explorer, but not from Desktop?

    in Windows 10 Ask Insider
    Access denied to delete file from File Explorer, but not from Desktop?: So i have a folder on Desktop. If i want to delete it directly from Desktop its fine, it works. If i open Desktop in File Explorer, i can't delete the folder because it says Access Denied. What is this? submitted by /u/g0dafk [link] [comments]...
  7. Deny Access To Folder and Files

    in User Accounts and Family Safety
    Deny Access To Folder and Files: Hi, I want to deny total access to the folder, its subfolders and its contents. There are many files in the folder. But only the folder is processed. What is wrong with this command line? icacls "C:\Users\John\Pictures\Folder" /deny "John":(RX,W) /t /c I even tried :...
  8. Deleting files/folders access denied

    in Windows 10 Support
    Deleting files/folders access denied: Ok I have a flash drive connected to my network directly inserted into my router. After much research and toying with the settings I finally got it to show up in Windows File Explorer and it appears under "THIS PC" as one of my drives on the "NETWORK" and when I view...
  9. Access denied to folders and files

    in Windows 10 Support
    Access denied to folders and files: Runnin win 10 since 2 weeks. Trying to copy all files from external HD to new second internal HD. some files copied no problem, other files and folders will either not copy (administrator rights) or are outright "access denied". All are films, no programs. I got full...
  10. Denied Access to delete files

    in Windows 10 Support
    Denied Access to delete files: I am experiencing the infamous Blue Screen irregularly and I suspect from reading posts it is linked to AVG Internet Security product. I bought this but later canceled it and thought I had uninstalled it. However later I found that the uninstallation left a lot, if not all,...