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. Azaruddin Syed Win User

    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. ThofikhAhamad Win User
    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. Dennis Mop Win User

    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 access the internet via Google homepage

    in Windows 10 Network and Sharing
    Unable to access the internet via Google homepage: I have been unable to access any person or company online for 3 days following yet another update from Windows! Is there anything I can do to put this right? I need to shop on line being partially disabled and these constant updates always upset my PC. I don't use a smart...
  3. Rename folder

    in Windows 10 Customization
    Rename folder: Hi It's not possible Rename. When you change the name, all five folders change to the same. Best regards, Peter[ATTACH][ATTACH] https://answers.microsoft.com/en-us/windows/forum/windows_10-other_settings/rename-folder/5ae40fa8-392b-4a94-ace7-fc1d5aa6c2ab
  4. Restoring File History after renaming "File History" folder

    in Windows 10 Backup and Restore
    Restoring File History after renaming "File History" folder: New here and first time posting here so I apologize if Im in the wrong section. So I made a file back up onto a 2TB My Passport external hard drive using Windows 10 File History backup. I later renamed the folder to something other than the standard "FileHistory" windows...
  5. Cant rename files/folders

    in Windows 10 Support
    Cant rename files/folders: Hi everyone, i've installed W10 x64 today.. In the file explorer I can't rename any file or folder.. F2 not work, right click/rename don't work, and single left click over the name file/folder don't work.. The only that works is right click, properties, and change the name...
  6. Unable to Access Files Unless New Folder Created

    in Windows 10 Support
    Unable to Access Files Unless New Folder Created: Hello. I have been having problems with my file access lately. There are times when I create a folder and place files in the folder. After a while, the files become inaccessible. When I try to access the file, the program opening the file states that I don't have the correct...
  7. I can't rename files on the deskttop (File Access Denied)

    in Windows 10 Support
    I can't rename files on the deskttop (File Access Denied): I am the administrator, but whenever i try to rename a file on the desktop it says "File Access Denied" and that i need to provide administrator permission to rename the file. How to fix it? 73371
  8. 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...
  9. After Update , Folder/File Rename issue

    in Windows 10 Support
    After Update , Folder/File Rename issue: Hello, My windows 10 just got an update for v1709, after that, Got an issue , Rename folder/file command is not working in any drive (HDD also USB) , but on desktop/userfolder its working fine. i searched google but got no solutions regarding this, everyone is asking...
  10. Issue with renaming files under picures folder

    in Windows 10 Support
    Issue with renaming files under picures folder: Hi there whilst trying to rename a "new folder" I would start typing and then a few letters into the name it will throw me off the new folder icon and take me back to the top of the page with the "new folder" un touched. Same issue in pictures folder on desktop hard drive....