Re: Windows 2003 services don't have access to mapped drives



Good reference, and I agree. Think of all the times we have complained about
third party applications whose installation instructions mention that the
users need to be local admins! All they have to do is re-code their
applications with security in mind. But it is hard to complain about such
practices when we are loathe to fix our own code ;-)

IMHO, as we migrated from NT through 2K to 2K3, we experienced improvements
in security. When going from a lax approach to a more rigorous one, it seems
likely that things will appear to break. This is often simply because they
rely on assumptions that are no longer correct.


/Al

"Roger Abell [MVP]" <mvpNoSpam@xxxxxxx> wrote in message
news:e1sGujSyHHA.600@xxxxxxxxxxxxxxxxxxxxxxx
You probably are not going to like this, but the best thing you
could, and should, do is to rewrite the app to use UNC access.
http://support.microsoft.com/kb/180362/EN-US/

<mogorr@xxxxxxxxxxx> wrote in message
news:1184719556.017053.74140@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I am working on a W2K3 server and I have an older application that
requires a network drive mapping. I have created a Domain Admin
account and set the service to run as this account. The application,
then tries to access the "L:\" drive but is unable to access it. The
funny thing is that if I use the UNC path, it works just fine.

Unfortunately, I can not use the UNC path without recoding this
application which I really dont want to do.

Also, if I run the application using the LocalService Account logged
into the server as the Domain Admin account, and start the application
(by Start->Run->Programs, etc...) the application can see the L:\
drive and the UNC. Obviously, I cant run this application like this
(what happens if the user account logs off the server?)


I should also mention, all of these options worked in 2000 but not
2003.

Where can I adjust the security to allow a domain account to access a
mapped drive as a service?





.



Relevant Pages

  • Re: Chronic-Pain and Canes
    ... a spammer after you have meet me. ... You are posting through a Google-groups account, ... so if people decide to complain about your posts they will complain to ... both Google and to Telus Communications. ...
    (alt.support.chronic-pain)
  • Re: Chronic-Pain and Canes
    ... You are posting through a Google-groups account, ... so if people decide to complain about your posts they will complain to ... both Google and to Telus Communications. ... The ONLY way to advertise a web site in newsgroups and avoid complaints ...
    (alt.support.chronic-pain)
  • Re: Error accessing MS Access database with Linked Tables on files
    ... of using UNC path. ... How can I check that my app is running under the local anonymous account? ... that I have set (unchecking the "Allow IIS to control passwords" checkbox). ... ¤ I have a ASP.Net application that uses a MS Access database. ...
    (microsoft.public.dotnet.framework.adonet)
  • RE: debugging ASP NET in a remote web server with remote file serv
    ... this is likely a typical remote access problem. ... In IIS virtual dir's Home directory setting panel, when we specify UNC ... That is used to specify an account to ... connect to that UNC path from your local box. ...
    (microsoft.public.vsnet.debugging)
  • Re: Problem using a UNC Path within a COM component in asp.net
    ... If the application is run directly from Visual Studio, the UNC path works.. ... the same code running under IIS fails. ... I think it works using your user account and fails using the webserver ...
    (microsoft.public.dotnet.framework.aspnet)