Drive mapping for multiple users

G

Guest

Hi

We are an ASP.Net development dept that until recently used Win2k dev PCs,
and have now moved to XP (yes a bit behind the times, but we are a goverment
office).

A quick history before the problem: In our production servers the apps write
log files to a G: drive, however our dev PCs don't have a physical G: drive.
Under Win2k we simulated the G: drive to avoid reconfiguring the log file
path when an app was moved from dev to production. We did this by creating a
folder on our C: drive (e.g. "C:\GDrive"), sharing it, then mapping the G:
drive to it (i.e. \\mycomputername\GDrive\).

Unfortunately this doesn't work with XP. I read somewhere that the above
only worked through sheer luck, because there was a "loophole" in Win2k that
allowed a user (e.g. the ASPNET user that the app runs under) to access
mapped drives that other users (i.e. the currently logged in user) had
created on that PC.

Does anyone know of another way to get this working? The issue does appear
to be one of not "seeing" the G: drive at all ("path not found"), rather than
access/security (access denied). I've tried adding just about every user
(ASPNet, IUSR_machinename, Everyone, etc) to the drive and the share, and
giving them full control, without it making a difference.
(And we can't have a physical G: drive as our PCs all follow the
(restrictive) corporate image).


Thanks in advance

Andy
 
G

Guest

Never mind folks, I've found a way around this. I've found that mapped drives
created by the SYSTEM account are accessible to all users, including system
accounts such as ASPNET. I did this by opening a command prompt via the "at"
scheduled task executable (which runs tasks under the System account) then
mapping a drive using "net use".

BTW I found the KB article explaining the original issue if anyone is
interested: http://support.microsoft.com/kb/180362

Thanks anyway
Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top