Windows 10: Can't delete subfolders of junctions in a subst-ed folder

Discus and support Can't delete subfolders of junctions in a subst-ed folder in Windows 10 Support to solve the problem; I have the following scenario: I have a C:\Foo folder which I subst-ed for easier access as X: I have several symlinks and junctions in this Foo folder... Discussion in 'Windows 10 Support' started by poisonborz, Aug 17, 2021.

  1. Can't delete subfolders of junctions in a subst-ed folder


    I have the following scenario: I have a C:\Foo folder which I subst-ed for easier access as X: I have several symlinks and junctions in this Foo folder (both for network locations and local paths). The problem is that apparently I can't delete any folders within these folders when the path is through the subst (so eg. X:\JunctionFolder\Subfolder). I get the the "You'll need to provide administrator permissions to delete this folder" popup (If I click (Admin) continue, it gives another permission error). I get this permission error even if the file explorer is elevated/launched as admin. When I try to make this operation on the un-substed folder - so C:\Foo\JunctionFolder\Subfolder, the deletion occurs without problem. Curiously, I can rename and even move the folder, un-elevated with no issues as well. Why is this happening? Is there any way to have deletion trough a subst-ed folder working? To note: I know about net use as an alternative to subst to create drive from locations: however, this creates a network mount that severly decreases performance of accessing the folder.

    :)
     
    poisonborz, Aug 17, 2021
    #1
  2. Naki Win User

    Bug with subst-ed drive

    I have my Chrome Downloads folder set to a folder on my N: disk/drive - a substed drive, which is really on drive C:. Trying to run latest version of GPU-Z fails - it never show any window, nor an error message.
    System has (had) GPU-Z version of one version before latest.

    OS: Windows 10 64-bit, Pro, latest Insider Preview build.

    Expected: Work fine from a subst-ed drive, or show some kind of error.
     
  3. Trouble deleting a folder

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

    *Confused Can't delete subfolders of junctions in a subst-ed folder :confused:

    Will I be forever stuck with these unnecessary folders? *Oh Well Can't delete subfolders of junctions in a subst-ed folder :eek:hwell:
     
    oli_ramsay, Aug 17, 2021
    #3
  4. Can't delete subfolders of junctions in a subst-ed folder

    Subst Problem

    I have rebooted. The drive is accessible.

    The larger problem is Quick Access.

    I have several subst'd entries on Quick Access. They are folders which contain many subfolders.

    When I unpin an entry on Quick Access, others appear in the subst subfolders.

    There doesn't seem to be a way to mass remove Quick Access entries.

    Is there an XML file for Quick Access I can edit?

    I'm looking at possibly several 100 folders.
     
    RonNewYork, Aug 17, 2021
    #4
Thema:

Can't delete subfolders of junctions in a subst-ed folder

Loading...
  1. Can't delete subfolders of junctions in a subst-ed folder - Similar Threads - Can't delete subfolders

  2. Folders and Subfolders

    in Windows 10 Support
    Folders and Subfolders: Using windows explorer to organize photos by year and then subfolders for activities during that year I want to be able to see all folders and subfolders on the main windows explorer screen without having to click on the year folder to see what that year contains. Is that...
  3. Can't delete folder

    in Windows 10 Ask Insider
    Can't delete folder: Whenever I try to delete this folder, the progress bar completes without any prompt but the folder is still there with it's subfolder. I tried to go into folder, but it seems after some time the path repeats itself again, i.e the path looks like /src/out/build/x64-Debug...
  4. Can't Delete Folders

    in Windows 10 Network and Sharing
    Can't Delete Folders: I ran a batch file named aa.bat and it goes like this: @Echo off :a mkdir Desktop copy aa.bat Desktop/aa.bat cd Desktop goto :a PAUSE The loop goes on until I get the maximum filename error. Now I can't delete the folders. Can anyone help? Thanks!...
  5. Can't delete a folder

    in Windows 10 Support
    Can't delete a folder: About 2 weeks ago I deleted the contents of a fold on my PC then deleted the folder. My next reboot the folder came back ( the empty folder with the name I named it when created ) I've deleted it about 10 times and after each reboot it comes back. very strange, anyone know...
  6. Can't delete folder

    in Windows 10 Network and Sharing
    Can't delete folder: Hi, so I'm simply trying to delete a game folder from my computer but every time I try it says I need permission from "DESKTOP" something and I have no idea what its talking about. I've already set myself as owner of everything on the drive and given myself every permission I...
  7. I can't delete Windows.old folder - a subfolder doesn't exist

    in Windows 10 Support
    I can't delete Windows.old folder - a subfolder doesn't exist: After the second wave of October Update, I can't delete the Windows.old because a sub-sub-sub-sub folder (hereinafter the X-folder). The X-folder I can't rename it, delete it or force delete through powershell (with admin right ofc). [img] PS: I rename the Windows.old...
  8. Can't Delete Windows.old folder or subfolders.

    in Windows 10 Performance & Maintenance
    Can't Delete Windows.old folder or subfolders.: After doing an In-place Reinstall of WIndows 10 X64 to fix update problems. I ran the Clean Windows Files Program to Delete all 'Old' Windows Folders & files. All seemed to go well until I looked at C:\ dribve and see that Windows.old still exists. I've tried everything to...
  9. Can't delete folder

    in Windows 10 Support
    Can't delete folder: When I right click on a folder I see "open" but I don't see any "take ownership" menu. Don Cole 60651
  10. Unable to delete a subfolder, no problem with its subfolders

    in Windows 10 Support
    Unable to delete a subfolder, no problem with its subfolders: Curious thing... When deleting a X:\subfolder I am getting a recyle bin error:"The folder contains items whose names are too long for the Recycle Bin." The longest path in all the sub-subfolders is 247. When I select that file (longest path), deleting is no problem.When...