Solved

Automated process or script to list all server shares, the NTFS and security permissions on Windows Server 2003

Posted on 2010-09-09
3
751 Views
Last Modified: 2012-06-21
I am replacing a file server and think there should be a way to retrieve a list of all the server shares, NTFS and security permissions that are setup on the old server.  I will use this list to create the new shares on the new server.  The old server is Windows Server 2003 Standard SP2 and the new server will be Windows Server 2008 Standard R2.  
0
Comment
Question by:ehess
3 Comments
 
LVL 84

Expert Comment

by:oBdA
ID: 33642136
My favorite tool for this is the free DumpSec (http://www.systemtools.com/somarsoft/index.html)
Set the Permissions Report Options to not show the owner, and to "Show directories (not files) whose permissions differ ..." to create the most concise report possible for file permissions. You can create all sorts of other reports as well, including shares.
Then there are the free tools from Sysinternals:
- AccessChk (http://technet.microsoft.com/en-us/sysinternals/bb664922.aspx)
- AccessEnum (http://technet.microsoft.com/en-us/sysinternals/bb897332.aspx)
- ShareEnum (http://technet.microsoft.com/en-us/sysinternals/bb897442.aspx)
Then there's the (not free) Security Explorer from ScriptLogic (http://www.scriptlogic.com/products/security-explorer/)
0
 
LVL 22

Expert Comment

by:Joseph Moody
ID: 33642150
As a simple solution, use the Share Folders tab in Computer Management.
0
 
LVL 6

Accepted Solution

by:
TarekIsmail earned 500 total points
ID: 33642245
use powershell to run the below command
 gwmi Win32_Share |Get-Acl |fl

gwmi Win32_Share|FL to get all shared folder in your system
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

829 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