Accessing local shared folder when network is disconnected

networkingpermissionsunc

I have an application that usually tried to access files that placed on its own machine.
The way it access the file is UNC form, for example:

\\MyComputerName\MySharedFolder\file.txt

It's all work fine until i disconnect the computer from the network – the shared folder becomes unreachable although it placed locally.

Things i tried:
1. Login with network account and set permissions to everyone for the folder
2. Login with local admin account, and set permission to this user for the folder

that didn't work out…

Oh, this is about windows XP…

Thanks!

Best Answer

It's not a permission problem. You're trying to access the machine through the network stack. When you disconnect from the network, the UNC path (even though it's on the same computer) is not accessible. Why not use a local drive path instead of a UNC path?