Click here to get back home

Windows 2003 services don't have access to mapped drives

 HomeNewsGroups | Search | About
 microsoft.public.windows.server.security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Windows 2003 services don't have access to mapped drives mogorr 07-17-2007
Posted by mogorr on July 17, 2007, 8:45 pm
Please log in for more thread options
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?


Posted by Roger Abell [MVP] on July 18, 2007, 6:46 am
Please log in for more thread options
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/

>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?
>



Posted by Al Dunbar on July 18, 2007, 11:52 pm
Please log in for more thread options
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

> 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/
>
>>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?
>>
>
>



Similar ThreadsPosted
Windows service denied access to mapped drive May 4, 2007, 7:06 am
Services in windows 2003 July 2, 2006, 8:26 am
Windows 2003 pass-through authentication and services September 12, 2005, 9:33 pm
Windows Server 2003 - Services Permissions Issue August 29, 2005, 1:28 pm
Windows Server 2003 Ent. Certificate Services Webenroll October 18, 2005, 12:48 pm
Windows 2003 Problem with Group Policy for Services Startup and Permissions April 27, 2006, 7:27 am
software access in windows 2003 October 7, 2005, 8:57 am
FTP Access On A Windows 2003 Server November 8, 2005, 4:26 am
Enable COM+ Access for Windows 2003 November 27, 2006, 11:12 pm
Re: Windows 2003: Folder Access Denied October 25, 2005, 10:13 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap