Friday, February 19, 2010

Hide shared folders with Windows XP Pro's Net command line tool

When you want to limit who can access your shared folders in Windows XP Pro, you can use the Net command line tool to hide your computer, and subsequently your shared folders, from other network users. Greg Shultz shows how to create a hidden share.

By sharing a folder in Windows XP Pro, 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.

No comments:

Post a Comment