Is it possible to see all shared folder list in windows?

To view a list of all shared folders

  • Click the Windows button
  • Right-click Computer and choose Manage (requires administrative priveleges)
  • Traverse to Computer Management > System Tools > Shared Folders > Shares

Note: in Windows 8 and 10 the Computer Management is easy accessible through the Windows key + x shortcut, as a part of the Power User Menu

To disable file sharing

  • Click the Windows Logo button.
  • Type file sharing in the search results window, and then touch Enter.
  • Under "File and Printer Sharing", check to be sure that Turn off file and printer sharing is selected.
  • Under "Public Folder Sharing", check to be sure that Turn off public folder sharing is selected.
  • Click Save Changes.

Command Line Way

List All Shares

net share

Stop Sharing a Folder

net share sharename /delete

Stop Sharing All Folders

Write a script, and double-click it!

The following script will stop sharing sharename and Share Name 2. Replace these with your own share names. Save as stopsharing.bat.

@echo off
net share sharename /delete
net share "Share Name 2" /delete
pause

Note how share names with spaces in them must be enclosed by quotes.

Further Information

net share /?

Learn about more features including how to add shares from the command line.