256 character limit ?

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.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sorry, meant to say SUBINACL.. not set.
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.
mahjohnAuthor Commented:
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.