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
745 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 83

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
NTFS Permissions 6 49
Office365 DirSync setup questions 4 33
Why would someone make a DC a member of the administrator's group 6 41
Unable to add new user to AD 2 24
A procedure for exporting installed hotfix details of remote computers using powershell
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…

831 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