Is there any way to rename a shared folder in Windows Server 2003 without losing the sharing permission?

Is there any way to rename a shared folder in Windows Server 2003 without losing the sharing permission?
Basically when renaming a share folder the NTFS permissions on the Security TAB will remain but the sharing permissions won't, they will disapear once the share folder has been rename because you have to unshare the share folder.

Is there anyway to keep this permissions. I have to rename a huge amount of share folders according to a new name policy and I need to keep the share permissions.

Any ideas?  

llaravaAsked:
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.

Brian PringleSystems Analyst II, SCM, ERPCommented:
No, unfortunately the share names are tied to the folder names.  Once you rename the folder, the share name is no longer valid.  You would have to manually re-assign the share and the permissions.
0
Lee W, MVPTechnology and Business Process AdvisorCommented:
Never tried it... but you could do this...

1.  Stop the server service.
2.  Rename the folder
3.  Open the registry editor and navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares
4.  Change the name and/or path as necessary
5.  Restart the server service.
0

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
Lee W, MVPTechnology and Business Process AdvisorCommented:
Why did you give a C grade with NO FEEDBACK whatsoever?  How can you accept two contradictory answers?
0
Joshua GoldbergSenior Windows Systems EngineerCommented:
I just tried leew's answer on Server 2008. It worked! The only other thing to note is that under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares there is also HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares\Security

Make sure you rename each key to correspond to your new share name

Once you've renamed the keys in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares
and
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares\Security

and changed the parameters of each key in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares
reboot your whole computer, don't just start the server service.
0
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
Active Directory

From novice to tech pro — start learning today.