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. Can't delete folders

    in Windows 10 Software and Apps
    Can't delete folders: I have a video downloading app that I use frequently. I download music videos from You Tube and group several intoa music video or extract the audio and put those together. On three occasions I created separate folders for differentgenre music, downloaded the clips in those...
  3. 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...
  4. Can't delete a folder

    in Windows 10 Network and Sharing
    Can't delete a folder: I tried to delete this folder many times even with the safe mode I search task manager too for a task named nokia...but could not find [ATTACH] [ATTACH] https://answers.microsoft.com/en-us/windows/forum/all/cant-delete-a-folder/79d144cc-6332-452d-a53c-1728d798e48c
  5. Can't delete a folder

    in Windows 10 Network and Sharing
    Can't delete a folder: why there's a folder that I can't delete. every time i deleted it, that folder will appear again at the same place. [ATTACH] https://answers.microsoft.com/en-us/windows/forum/all/cant-delete-a-folder/52743928-ff4b-4ff5-8ad1-0690bc3a1814
  6. Can't delete a folder

    in Windows 10 Network and Sharing
    Can't delete a folder: I have a WD My Book for backup and I was testing it out so I backed everything up. Then I went to restore and selected Program Files and Programs (X86) to restore and sentthemt to my WD My Book Restore folder. It restored perfectly, but now I can't delete it. I tried...
  7. 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...
  8. 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...
  9. 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...
  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...