Default SHARES - Windows 7

jcgriff2

Co-Founder / Admin
BSOD Instructor/Expert
Microsoft MVP (Ret.)
Staff member
Joined
Feb 19, 2012
Posts
21,541
Location
New Jersey Shore
Hi -

Came upon a question earlier about default SHARES, specifically in Windows 7.

This screenshot is from the "shared directories" option in Altap Salamander 3.0 Beta 2 release -

23l0fv4.jpg

Are all 4 listed in screenshot defaults?

I'm looking for a script or app to list the shared sub-dirs/ files -- particularly those under c:\users.

I found a post at TechNet Forums by Elden Christensen of MSFT, but am not familiar enough with the NET SHARE command to know what this one does in particular, i.e., what to modify to list v. actually change share -
We have removed the Share Subdirectories option, as we have changed the way shares work on clusters. It is now totally integrated and gives the same functionality as a stand-alone server. With a simple script you run once you can get the same behavior, here it is:

How to achieve the same behavior of Share Subdirectories:
1. Open cmd.exe and change to the directory where all sub directories are to be shared.
2. Type the following: for /d %d in (*.*) do Net Share %d=G:\%d
a. Note: Be sure to change G:\ to the appropriate drive and path to share.
See this blog for additional information:
http://blogs.msdn.com/clustering/archive/2008/09/03/8923059.aspx

Thanks!!
Elden Christensen
Lead Program Manager
Windows Failover Cluster Group
Microsoft Enterprise Server Products
Post #2 - http://social.technet.microsoft.com.../thread/54bc24e3-1d18-4f23-9cb2-dbd541c56a8f/

Thanks for your help,

John
 
Post #1 was from a Windows 7 x86 system here.

My HP laptop - Windows 7 x64 has no shared folders or files listed in that same screen. I will say that I have "played" with system services & the registry on this system ad nauseum, whereas I have not with the W7 x86 system.

I'll have to check other W7 & W8 systems here out of curiosity.
 
Not sure why your DVD drive is shared, mine isn't. C: is my OS Drive, E: is a permanently attached external

Screenshot - 04_05_2013 , 12_24_24 PM.png
 
Okay, now I see where you are talking about, and right clicking the items, selecting "Stop Sharing" shows a popup telling me the share was created for administrative purposes only, and it will reappear once the service is restarted or the system rebooted.

That said, none of my devices that use removable media (DVD/BR, memory sticks) are listed.

Do you perhaps, have a disk in your DVD drive?
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top