I have a Windows 2008 server with various software packages installed on it.

I want to know what network shares my server is sharing (and I want to know that from within the server, not by trying to access the shares from another computer).

Does anyone know how to do that?


5 Answers 5


Start -> Run -> compmgmt.msc -> OK.

Computer Management (Local) -> System Tools -> Shared Folders -> Shares.

This will show you all the current shares on the system as well as allow you to control them, change permissions, modify access, etc.

enter image description here

UPDATE: PowerShell offers another way to quickly get all SMB shares on localhost for Windows 7/Server 2012 and later hosts:

PS D:\> get-smbshare

Name   ScopeName Path       Description
----   --------- ----       -----------
ADMIN$ *         C:\WINDOWS Remote Admin
C$     *         C:\        Default share
D$     *         D:\        Default share
E$     *         E:\        Default share
IPC$   *                    Remote IPC
  • Also shows opened shared by which users.
    – surfasb
    Jul 11, 2011 at 18:02
  • On Windows Server, it seems to be under Roles | File Services | Share and Storage Management (verified on 2008R2 only)
    – erict
    Oct 30, 2015 at 16:30

From a command prompt, enter the command:

net share

This will show all shares on the system, including hidden.


From the Command Prompt you can type:

net view \\servername /all

This should show you all shares on that server even if they are hidden shares.

  • Hey dude, THANK YOU!! I was desperately searching for a mechanism for getting list of connected machines and the shares they exported. I wish I found this little comment a week ago. Feb 13 at 11:55

A bit simpler than the accepted answer is direct call to the Shared Folders console: Start > Run > fsmgmt.msc

Screenshot of the Shared Folders console


start > run


will do the trick


  • 2
    Actually, that does not do the trick. Hidden shares (ADMIN$ C$ IPC$ print$, etc.) are not shown.
    – KCotreau
    Jul 11, 2011 at 15:57
  • true comment updated answer to reflect this
    – squareborg
    Jul 11, 2011 at 16:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.