Windows 10: How do I mass delete symbolic links or directory junctions in a folder without deleting the...

Discus and support How do I mass delete symbolic links or directory junctions in a folder without deleting the... in Windows 10 Software and Apps to solve the problem; How do I mass delete symbolic links in a folder without deleting the folder itself, or any other file or folder?How do I mass delete symbolic links or... Discussion in 'Windows 10 Software and Apps' started by adwissler, Aug 1, 2022.

  1. adwissler Win User

    How do I mass delete symbolic links or directory junctions in a folder without deleting the...


    How do I mass delete symbolic links in a folder without deleting the folder itself, or any other file or folder?How do I mass delete symbolic links or directory junctions in a folder without deleting the folder itself, or any other file or folder?

    :)
     
    adwissler, Aug 1, 2022
    #1

  2. Can't delete folders/files within a symbolic link or junction mklink

    Thanks again. I just tried this - assuming a performed all steps correctly:

    How do I mass delete symbolic links or directory junctions in a folder without deleting the... [​IMG]


    How do I mass delete symbolic links or directory junctions in a folder without deleting the... [​IMG]


    I then created the new symlink and got the same results when trying to delete a folder:

    How do I mass delete symbolic links or directory junctions in a folder without deleting the... [​IMG]
     
    bteamstephen, Aug 1, 2022
    #2
  3. MaloK Win User
    Can't delete folders/files within a symbolic link or junction mklink

    Thank you,

    You need to restore original security across the whole drive.

    First Step: Delete all Junction points, Run chkdsc F: /f

    Sec Step: Give complete Ownership of the drive to SYSTEM.

    Trird Step: Then reproduce exactly the following for the root of the drive.


    How do I mass delete symbolic links or directory junctions in a folder without deleting the... [​IMG]


    Apply and replace everything recursively.

    Try to create a new junction and test it.
     
    MaloK, Aug 1, 2022
    #3
  4. How do I mass delete symbolic links or directory junctions in a folder without deleting the...

    Can't delete folders/files within a symbolic link or junction mklink

    Here are results from this step:

    How do I mass delete symbolic links or directory junctions in a folder without deleting the... [​IMG]

    Local Groups: Administrators, Users
    Results from this step:

    How do I mass delete symbolic links or directory junctions in a folder without deleting the... [​IMG]

    I don't know what the different notes mean - (I) (OI) (CI) (F) etc

    Results from the laptop working correctly. For this I created a symlink to my Documents D:\ hard drive

    How do I mass delete symbolic links or directory junctions in a folder without deleting the... [​IMG]

    I had previously taken ownership with my user name "SMILLER" but I added "Authenticated Users" and "Administrators" to the list here:
    How do I mass delete symbolic links or directory junctions in a folder without deleting the... [​IMG]


    I also performed this step on the symlink folder F:\Movies that I created where my user name is the Owner and I added Administrators and Authenticated Users, also with no luck.
    I also tried this step with no luck. After all of these suggestions I am still getting this error when I try to delete a folder through the symlink:

    How do I mass delete symbolic links or directory junctions in a folder without deleting the... [​IMG]

    It still says I need permission from SMILLLER
    Thanks for all the suggestions. I would love to get your thoughts on the results above before resorting to a refresh or repair install of Windows. Both of those processes remove installed apps, yes?

    - - - Updated - - -

    I appreciate your response, as sometimes I may not see the clear answer right in front of my nose.

    When I click Continue, it still doesn't allow me to delete and says that I need permission from SMILLER, which is my user name:

    How do I mass delete symbolic links or directory junctions in a folder without deleting the... [​IMG]
    Interestingly, If I go inside the folder and delete the media file itself, it hangs for about 15 seconds and then it deletes. But then I go up one folder level and I still can't delete the containing folder.
     
    bteamstephen, Aug 1, 2022
    #4
Thema:

How do I mass delete symbolic links or directory junctions in a folder without deleting the...

Loading...
  1. How do I mass delete symbolic links or directory junctions in a folder without deleting the... - Similar Threads - mass delete symbolic

  2. Reusing a deleted symbolic link

    in Windows 10 Network and Sharing
    Reusing a deleted symbolic link: Hello, my name is Detlev. I'm having problems with symbolic links.I had already linked the directory "C:\Users\%Username%\AppData\Roaming\..." on my computer to the symbolic directory "C:\apps\" using mklink. Now I wanted to add another one to the symbolic link Insert path...
  3. Reusing a deleted symbolic link

    in Windows 10 Gaming
    Reusing a deleted symbolic link: Hello, my name is Detlev. I'm having problems with symbolic links.I had already linked the directory "C:\Users\%Username%\AppData\Roaming\..." on my computer to the symbolic directory "C:\apps\" using mklink. Now I wanted to add another one to the symbolic link Insert path...
  4. Reusing a deleted symbolic link

    in Windows 10 Software and Apps
    Reusing a deleted symbolic link: Hello, my name is Detlev. I'm having problems with symbolic links.I had already linked the directory "C:\Users\%Username%\AppData\Roaming\..." on my computer to the symbolic directory "C:\apps\" using mklink. Now I wanted to add another one to the symbolic link Insert path...
  5. How do I mass delete symbolic links or directory junctions in a folder without deleting the...

    in Windows 10 Gaming
    How do I mass delete symbolic links or directory junctions in a folder without deleting the...: How do I mass delete symbolic links in a folder without deleting the folder itself, or any other file or folder?How do I mass delete symbolic links or directory junctions in a folder without deleting the folder itself, or any other file or folder?...
  6. Symbolic link deletion

    in Windows 10 Updates and Activation
    Symbolic link deletion: Hello,I am having an issue. When I have tried to remove symlink using commands del, mkdir, unlink etc, they not helped to unlink. Either access is denied or file is not ok. I can't create and create a new symlink....
  7. KB4512508 deletes user made junctions and symbolic links

    in Windows 10 Installation and Upgrade
    KB4512508 deletes user made junctions and symbolic links: My system was normal today when I booted it up. but after KB4512508 installed it self, before even rebooting the system, all my symbolic links and junctions got deleted. the did not get broken, they got deleted. the endpoint for the junction no longer exist. and the desktop...
  8. Hard link directory junctions in User folder

    in User Accounts and Family Safety
    Hard link directory junctions in User folder: So, I am looking for an easy way to redirect Documents, Downloads, Music and Pictures in the user folder to a data drive. I don't want anything permanent that is going to interfere with the Creator's update coming up. Does anyone know if there any ill affects to deleting the...
  9. junction point/symbolic link query : multiple DOCUMENTS folders

    in Windows 10 Support
    junction point/symbolic link query : multiple DOCUMENTS folders: hi my documents folder is on e: as c: is a ssd with limited space. somehow i managed to end up with three 'documents' folders in explorer [actually dopus] of which two contain a few folders and the third one many folders, the latter is my real documents folder. the os will...
  10. Symbolic link (Junction/s), how-to mklink? Please help with Junction?

    in Windows 10 Support
    Symbolic link (Junction/s), how-to mklink? Please help with Junction?: Hi all, having been a member at Seven then Ten forums for a fair while I'm hoping to find a straight answer here..? Apologies in advance if this is too verbose. Windows 10 system booting from (UEFI) NVME with 2xSSDs + 2 MHDDs for storage... An application (Xperia...