Discussion Locked

Printing acls

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I want to move hard drives from one NT 4 server into one with newer hardware and W2k server. How do I create a printout of all the shares and permissions on the existing server so I can recreate them on the new server? Or is there a better way of doing it?

3 replies

by natecasp

This answer depends on if you setup share level permissions or file/dir level NTFS permissions.

If the permissions are NTFS and the share level permissions are all set to everyone.(recommended) Then all you need to do is run:

net share >c:\share.txt

to capture the current share configuration to a file, move the drives and recreate the shares.

If the permissions are share level and not NTFS you will need to run the same command to get a list of the current share configuration howeverthen you will need to record each of the share level permissions for each of the shares manually.

To my knowledge there is nothing in Windows NT that will allow you to display the share level permissions on a command line interface.

Besides ifI were to go through the effort of setting all these shares up again I would not use share level passwords and instead us NTFS file permissions. They are much more robust and can do you can do more with them. On any NTFS partition it is recommended to use file level instead of share level permissions. Share level permissions should only be used with FAT partitions.

This discussion is closed to new replies.