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
738 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

Will my email signature work in Office 365?

You've built an email signature using raw HTML code in Office 365, but you can't review how it looks with Transport Rules. So you have to test it over and over again before it can be used. Isn't this a bit of a waste of your time? Wouldn't a WYSIWYG editor make it a lot easier?

Question has a verified solution.

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

Learn about cloud computing and its benefits for small business owners.
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now