Hide Shared Folders Using Net Command

pradeep's Avatar author of Hide Shared Folders Using Net Command
This is an article on Hide Shared Folders Using Net Command in Windows.
Rated 5.00 By 2 users
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.
LMatta's Avatar, Join Date: Jun 2007
Light Poster
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...
pradeep's Avatar, Join Date: Apr 2005
Team Leader
Obviously, a normal command prompt!