can't access private shared folders over vpn

Microsoft Windows xp professional w/serv...
October 28, 2010 at 18:58:40
Specs: Windows XP

I have a network of all Windows XP Pro SP3 machines. One machine is setup as a VPN server so users can access files remotely. We use the standard VPN client/server apps that come with Windows XP. Each computer has two shared folders, one public, one private. One folder is called "share" and the other is "user-name-here". The "share" folder (the public one) can be accessed by anyone one the network. The "user-name-here" folder (the private one) can only be accessed with that user's user name and password.

On our LAN, this works perfectly. Everyone can see/write/etc. on \\computername\share and \\computername\user-name-here prompts for user name and password. Access works fine when the right user name and password are entered.

Over VPN, however, things don't work so smoothly. Access to \\computername\share works fine, but access to \\computername\user-name-here results in the following error:

\\computername\user-name-here is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. Access is denied.

Well, I'm the administrator, and I'm stumped. I've spent hours and tried everything I can think. I'll take any advice anyone has to offer. Many thanks!

See More: cant access private shared folders over vpn

Report •

October 31, 2010 at 14:21:05
I did some more research and have fixed my own problem. I figured I should let people know what I did in case anyone out there runs into the same problem.

This solution worked on my home Windows XP Pro SP3 computers that I used to test the VPN connection to the work network.

Once I connected to the VPN, I opened a command window (the thing in XP that looks like an old MS-DOS prompt) by going to Start -> Run -> typing cmd and pressing Enter. In the command window, I entered the following line:

net use z: \\computername\folder-name /USER:computername\user-name *

then pressed Enter. The * causes the program to prompt you for the password. Type it in and press enter. After a few seconds, depending on the speed of your connection, you should get a prompt telling you that the command completed successfully.

If you type in

net use

then press Enter - and the first line returned says "New connections will be remembered" - then you shouldn't have to run that command again. The only issue I ran into was that on reboot/reconnect, accessing the folder for the first time prompted me for the password again, which isn't a big deal. I typed it in, my private files were displayed, and I was quite happy.

In my example command above, you can substitute z: for the drive letter of your choice that you'd like to map the network folder to - so long as that letter isn't already taken.

Also, instead of computername, I was using fully qualified domain names that map directly to the LAN IP address of the computer in question. For example, maps to, which is the actual static IP address of computer name on the network. So my actual command looked something more like:

net use x: \\\folder-name /\user-name *

Hope that helps someone out there!

Report •

October 31, 2010 at 20:52:51
" Everyone can see/write/etc. on \\computername\share and \\computername\user-name-here prompts for user name and password."

Sounds like you have the guest account on the server enabled. I hope there is nothing of business or financial importance on this network.

Report •
Related Solutions

Ask Question