Connect a Windows Vista client to a password-protected Windows XP Shared Folder
I was installing Windows Vista Business version on my Macbook to test-run Vista through Bootcamp. I tried to get it to connect to a password-protected shared folder on another Windows XP desktop. So I followed what I always did in the same situation when I was using a Windows XP desktop:
- Go to Windows Explorer
- Type the path to the shared folder on the server machine (e.g. \\xp\abc) on the address bar
- It should prompt for my username and password to access this password-protected folder.
- Connected and you can browse the files.
net use Z: \\xpmachine \abc2 * /USER:joe /Persistent:YES
Assuming "xpmachine" is the Windows XP computer name, the shared folder is called "abc" and the usename to access this shared folder is "joe".
Press Enter and it will prompt you for the password and after you enter it then you can access the shared folder on "Z:" drive (and you can change it to "V:" or other unused letters).
The "/Persistent:YES" option is used so that next time you log into your Vista desktop, "Z:" will still be mapped to the "abc" shared folder but when you try to access it in Windows Explorer, this time will give you the nice password prompt, just like in Windows XP:
You can read more on the "net use" command by running "net help use" in the command window.