256 character limit ?

Posted on 2008-02-04
Medium Priority
1 Endorsement
Last Modified: 2012-08-13
I have a number files/folders on my server that have exceeded the 256 character limit, making them inaccessible "access denied". So the question is, how can I manage the files? options i've tried are below...all of which have failed. I have done this (once before), but cannot rember how.

1. Reset permissions
2. Retake ownership of folder
3. Rename folders closer to the root
4. Copy folder to a location closer to root.
Question by:mahjohn
  • 2
LVL 14

Accepted Solution

top_rung earned 1500 total points
ID: 20816081
I haven't run into this, but found it interesting.   I came across this article that uses ROBOCOPY and  particularly SETINACL - it might be some help...


"4) Resolve any "Access Denied" messages with setinacl:
"ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory"
"ERROR 5 (0x00000005) Copying File"

To add Administrators to the permissions (no need to take ownership):

subinacl.exe /noverbose /subdirectories "\\server\share\directory\*.*" /grant=Administrators=F

To add Administrators to the permissions and take ownership for directories with a broken owner:

subinacl.exe /noverbose /subdirectories "\\server\share\directory" /grant=Administrators=F /setowner=Administrators

LVL 14

Expert Comment

ID: 20816100
sorry, meant to say SUBINACL.. not set.

Expert Comment

ID: 20816340
Just an idea... map a network drive to a folder, deep into the path, but not to the limit, so you can access your files and change the problem with shorter paths.

Author Comment

ID: 20816414
Tried a "deep root map", ie...mapping to a lower level in the tree. Nope..did not work. I am trying subinacl, and robocopy method. subinacl will reset the permissions, but will not go down to the ones that are inaccessible. Trying to use robocpy and a gui interface http://www.sh-soft.com/front_content.php?idcat=36 but am still getting errors.

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I guess it is not common knowledge to most Wintel engineers/administrators: If you have an SNMP-based monitoring system in your environment (and it's common to have SNMP or Syslog) it's reasonably easy to enable monitoring of the Windows Event logs,…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…
The video will let you know the exact process to import OST/PST files to the cloud based Office 365 mailboxes. Using Kernel Import PST to Office 365 tool, one can quickly import numerous OST/PST files to Office 365. Besides this, the tool also comes…
Suggested Courses

599 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question