migrate permissions

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I don't think there's an easy solution without a 3rd party tool. You could probably use cacls to document the permissions then reimpliment them manually though.
 

mikecel79

Platinum Member
Jan 15, 2002
2,858
1
81
How about doing a backup of the old data and then restoring it to a new server. It won't migrate shares but it will do NTFS permissions.
 

Smilin

Diamond Member
Mar 4, 2002
7,357
0
0
It's actually pretty easy.

the xcopy that's built into w2k has switches that will copy permissions and ownership info. If it's nt 4 you can use robocopy or scopy in the resource kit.

Doing shares can be done with rmtshare that's in the resource kit, but depending on how the source and destination are laid out you can just copy the shares key over from registry to registry. It's located at:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares

If the source and destination are different drives/paths you can just do a search and paste the new path in real quick on all the shares. If it's a whole slew of shares like user drives or something throw together a batch file with rmtshare.exe in it somehow.