Windows 10: Unable to rename files and folders accessed via a junction

Discus and support Unable to rename files and folders accessed via a junction in Windows 10 Support to solve the problem; I am using an NTFS junction "C:\foobar" to access a folder that actually resides in "C:\Users\myid\Documents\foobar". Trying to sketch this:... Discussion in 'Windows 10 Support' started by mmo, Jul 10, 2018.

  1. MMO
    mmo Win User

    Unable to rename files and folders accessed via a junction


    I am using an NTFS junction "C:\foobar" to access a folder that actually resides in "C:\Users\myid\Documents\foobar".

    Trying to sketch this:
    C:\foobar------------------------------+
    |
    V
    C:\Users\myid\Documents\foobar\.....loooong paths here....

    The reason for using such a junction is that the folder foobar contains a huge subtree of files (an eclipse workspace including the infamous .metadata directory) that tends to contain filenames and paths that are exceeding the old 255 character path length.
    The file system doesn't have any issues with such long paths that but many tools do. Using the shorter path variant I have evaded all path-length related issues so far.

    But yesterday I ran into a very strange issue:

    For some reason I cannot rename folders and files anymore that I access using the shorter variant while I have absolutely no issue, renaming or otherwise manipulating the same directories and files when specifying the long variant, i.e.
    issuing:
    ren C:\Users\myid\Documents\foobar\xyz.abc xxx.abc
    works perfectly OK, while
    ren C:\foobar\xyz.abc xxx.abc
    invariably yields a "The file is too large for the destination file system" error, regardless of whether I try to rename a folder or a file.

    The odd thing is: this has worked before! For years! The error appeared yesterday and I have absolutely no clue what could have changed on my system to cause this.

    For some odd reason file operations suddenly behave differently when accessing via the junction or when access using the full name.

    I have verified that security settings/file permissions are the same via both paths ("Full access" for my user-id with all permissions ticked except "Special permissions"). I have rebooted the system, I ran chkdsk, etc.

    Any ideas?

    :)
     

  2. Unable to create a new folder or rename a folder

    Hi Edver,

    Thank you for posting in Microsoft community.

    Sorry for the inconvenience caused to you. I'll certainly help you with this.

    I would like to let you know that you may not be able to rename or add a new folder from Quick access. It will allow you to open the folders that are frequently used, recently viewed files or the files/folders that are added to
    Quick access.

    If you are unable to create or rename files/folders in other folders as well, then I would suggest you to run a SFC scan.

    System File checker (SFC) scan is done to check if there are any corrupted system files that could be causing this issue. Kindly follow the below given steps:

    • Press Windows key + X, select
      Command prompt (Admin)
      to bring up elevated Command prompt.
    • In Command prompt type sfc /scannow and press enter.
    • Restart the computer.

    Hope this will help you. Keep us posted with the status of the issue to assist you further.

    Thank you.
     
    Azaruddin Syed, Jul 10, 2018
    #2
  3. files and folders "renaming music folder to audio"

    Hello,

    Thank you for posting the query on Microsoft Community. I am glad to assist you on this.

    • Are you facing any issues in renaming folder?
    • When you say, "music folder does not apply anymore as a primary designation" what exactly are you referring to?
    Follow the steps below to rename folder:

    • Right click on a folder which you want to rename.
    • Select Rename and enter new name for it.
    Hope this helps. Kindly get back to us with the above details to assist you further.

    Thank You.
     
    ThofikhAhamad, Jul 10, 2018
    #3
  4. Unable to rename files and folders accessed via a junction

    Can't rename folder.

    Hi Howard,

    It is possible that the difficulty renaming your folder is due to access/account limitation or a recent change was made on your computer. For better assistance, please answer the following questions:

    • Are you getting an error message when trying to rename the folder?
    • What troubleshooting steps have you tried?
    • Can you send us a screenshot of the "Public" folders?

    We will be waiting for your response.
     
    Dennis Mop, Jul 10, 2018
    #4
Thema:

Unable to rename files and folders accessed via a junction

Loading...
  1. Unable to rename files and folders accessed via a junction - Similar Threads - Unable rename files

  2. Unable to rename folder or file in a long path folder updated

    in Windows 10 Network and Sharing
    Unable to rename folder or file in a long path folder updated: ***update 15 APR 2023 the issue is: Unable to rename folder or file in a long path folderOriginal post: LONG PATH ISSUE in Windows 10 File ExplorerHi,I'm sorry to write this.Half of the world suffers from it for many years:LONG PATH DOES NOT WORK IN Windows 10 File...
  3. Unable to Rename the Documents Folder

    in Windows 10 Gaming
    Unable to Rename the Documents Folder: Hello - For a long time I have added the size of some folders to the name, such as Documents 300GB so I can keep track of the locations of the largest folders. But when I tried to update the name of the Documents folder, I R clicked on the folder but was unable to find a...
  4. Unable to Rename the Documents Folder

    in Windows 10 Network and Sharing
    Unable to Rename the Documents Folder: Hello - For a long time I have added the size of some folders to the name, such as Documents 300GB so I can keep track of the locations of the largest folders. But when I tried to update the name of the Documents folder, I R clicked on the folder but was unable to find a...
  5. Unable to Rename the Documents Folder

    in Windows 10 Software and Apps
    Unable to Rename the Documents Folder: Hello - For a long time I have added the size of some folders to the name, such as Documents 300GB so I can keep track of the locations of the largest folders. But when I tried to update the name of the Documents folder, I R clicked on the folder but was unable to find a...
  6. unable to make a folder in file explorer and rename it

    in Windows 10 Gaming
    unable to make a folder in file explorer and rename it: I am unable to make a new folder in file explorer and then rename it. This happened in Windows 10 and is still happening after I installed Windows 11. I make a new folder and it shows up normally as 'New Folder" . When I try to rename it, it jumps to some other existing...
  7. unable to make a folder in file explorer and rename it

    in Windows 10 Software and Apps
    unable to make a folder in file explorer and rename it: I am unable to make a new folder in file explorer and then rename it. This happened in Windows 10 and is still happening after I installed Windows 11. I make a new folder and it shows up normally as 'New Folder" . When I try to rename it, it jumps to some other existing...
  8. Unable to rename folders.

    in Windows 10 Network and Sharing
    Unable to rename folders.: Since an update, am now unable to rename folder, getting an error message saying it "can't find specified file" "Make sure you specify the correct path and file name". Have no idea why this has happened and have looked at several methods, however and dubious about downloading...
  9. Unable to rename a folder to COM

    in Windows 10 Customization
    Unable to rename a folder to COM: Hi friends Unable to rename a folder to "COM" Error "The specified device name is invalid" this picture of error https://3sotbar.com/wp-content/uploads/2019/06/Capture.jpg...
  10. Unable to rename files and folders

    in Windows 10 Support
    Unable to rename files and folders: I have a w10 Pro 64 bit PC and for whatever reason today this machine has decided it wont let me rename files or folders. I built this PC a few months back and it has been operating flawlessly, except now this. When I go to rename a file or folder I get "if you change a file...