Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want share a hard drive with password so that if anyone wants to access the drive it should prompt for password.

I need configuration steps on the computer where the drive is located and if required the settings on the shared computer. The operating system is Windows XP Professional

share|improve this question

its possible (but not recommended) to share the root of the drive with standard windows file sharing - you'd get the same effect using a folder, unless its impossible to move the files .

I'd suggest creating a new user account for the file share (and use these to access the file) and disallowing anonymous access - you can do this through the advanced sharing button when you set up the share

share|improve this answer

If basic file sharing is turned on, your drive is already shared. Just go to any computer on the same network and enter \\computername\c$. It will prompt for a password, just like you asked. Any account on the machine in the administrator's group will work.

share|improve this answer
this commands are to be typed on command prompt,what would b the computer name,is there any value in place of c – Mohammed May 17 '11 at 4:26
You didn't say so in your original question. Most people use the GUI. You can check the computer name on the server with whoami - which will give computername/account – Journeyman Geek May 17 '11 at 5:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .