Results 1 to 2 of 2
  1. #1
    Uranium Lounger CWBillow's Avatar
    Join Date
    Jul 2002
    Location
    Las Vegas, NV USA
    Posts
    6,371
    Thanks
    78
    Thanked 12 Times in 11 Posts

    locate a share name's assignment

    If I get an error that a share name is already in use, and I do not know where that assignment is, how do I find the folder or drive that the system thinks already has a certain share name?
    -------------------------------------------------
    "Good judgment comes from experience, and experience - well, that comes from poor judgment."

    ~ A(lan) A(lexander) Milne (1882-1956)- "House at Pooh Corner"

  2. #2
    WS Lounge VIP
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    8,191
    Thanks
    48
    Thanked 986 Times in 916 Posts
    Share definitions are saved in the registry, but you can read them from the command line.
    Start > Run > cmd
    net share

    If the share is defined but the shared folder does not exist it will not show on the command line.
    Start > Run > regedit
    Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\lanmanserver\Shares
    Open the "Share" key and read the data you need. WARNING: do not change anything here.

    To remove defined shares that do not show run this command. Replace "ShareName" with the name used in the registry.
    Start > Run > cmd
    net share "ShareName" /delete

    cheers, Paul

  3. The Following User Says Thank You to Paul T For This Useful Post:

    CWBillow (2013-05-15)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •