• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 206
  • Last Modified:

Is there anyway to print out file shares for a network drive?

I need to print out the shares that are on a network drive so that when I replace the server, which is a windows 2008 server, connected to a san. I can then setup the shares again once the new server is backup.
Is there any freeware utility out there to do this or can I do it from windows?
  • 4
  • 2
1 Solution
From the command prompt:

net use
Maybe just as well, go to Computer Management,
in the Shares folder, click Shares, then take s screenshot.
If you mean all shares and all perms, here is a script on that:
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

vmichAuthor Commented:
What is the option to use with net use to display all the share, including the shares in the sub folders?
I'm not sure what you mean? A share is just a share.  Are you meaning, list a share and then list all subfolders of that share?  

You can also do this from powershell
gwmi -class Win32_Share

OK. I think if you are on the local server you'd do the following:
net share

That will list shares and file paths.
Output that to a text file and make a quick and dirty batch file.

ImageStore   E:\ImageStore                  
Accounting    E:\Accounting

Make that be:
dir /s E:\ImageStore >list.txt
dir /s E:\Accounting >>list.txt


This will build a list.txt file that will have all of the subdirectories of those shares.
David Johnson, CD, MVPOwnerCommented:
no points:  net use will only show shares that are being used by a client
net share from a server will list out all of the shares.  Oops was mentioned above
vmichAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now