1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Hide Shared Folders Using Net Command

Discussion in 'Windows' started by pradeep, Jun 12, 2007.

  1. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,646
    Likes Received:
    86
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    By sharing a folder in Windows XP Professional, it usually means that you want network users to be able to find and access the folder in the My Network Places tool. If you want to share a folder with only certain users, you can use the Net command line tool to essentially hide your computer and shared network folders.

    Follow these steps to create the hidden share:


    1. Open a command prompt.
    2. Type this command: net config server /hidden:yes.
    3. Share the folder as you normally would.
    If your computer is already sharing network folders, it may take up to 30 minutes for this command to take effect and hide the computer name.

    Users who have access to the hidden shared folder can get to it by using the UNC name or by mapping the hidden share to a local drive letter. To unhide the computer, type
    net config server /hidden:no

    Note: This applies for Windows XP Professional only.
     
  2. LMatta

    LMatta New Member

    Joined:
    Jun 26, 2007
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    I have a question here...

    You mentioned as the command line prompt so Is it a SDK Command Line Prompt or Is it a Normal Command Prompt ?

    Please Clarify...
     
  3. pradeep

    pradeep Team Leader

    Joined:
    Apr 4, 2005
    Messages:
    1,646
    Likes Received:
    86
    Trophy Points:
    0
    Occupation:
    Programmer
    Location:
    Kolkata, India
    Home Page:
    Obviously, a normal command prompt!
     

Share This Page