Windows 7 mapped drive visibility problem

mappeddrivewindows 7

I just installed Windows 7 RTM on my developer machine. Right after the installation I added my domain account to local administrators group and added the machine to company's domain.

We use local folder mapped as a network drive to store dll's that we reference. The drive is created by:

subst S: "D:\DllFolder"

The drive mapped ok, however the following issue occured:
When I tried to open a solution using Visual Studio 2008 it told me that I needed to run it as administrator to be able to use the asp.net projects hosted on IIS.
I run VS as administrator and the solution opened fine but that VS instance could not see the S: drive.

Can anyone tell me how can I work around that problem?
(The temporary solution that works is to disable the UAC, but that is not acceptable in the long run.)

Appreciate any suggestions.

Best Answer

Subst is user specific, you need to run subst as administrator as well.