Re: Windows service denied access to mapped drive
- From: berni <berni.newsletter@xxxxxxxxx>
- Date: 7 May 2007 05:30:32 -0700
On 4 May, 21:00, "Joe Richards [MVP]" <humorexpr...@xxxxxxxxxxx>
wrote:
There have been more and more changes in this area. Plain and simple,
you can no longer use mapped drives across sessions. Even if you have
user1 logged in and do a runas as user1 that new session won't have
access to the drive letters of the interactive session.
Microsoft has been telling people forever (like mid-90's at least) to
not use mapped drives with services.
This is just one article about this...
http://support.microsoft.com/kb/180362/EN-US/
Basically services should all use UNCs.
--
Joe Richards Microsoft MVPWindowsServer Directory Services
Author of O'Reilly Active Directory Third Editionwww.joeware.net
---O'Reilly Active Directory Third Edition now available---
http://www.joeware.net/win/ad3e.htm
berni wrote:
Hi
I have awindowsservicethat monitors files onwindowsand unix
servers. ReflectionsNFSis installed and the UNIX paths are mapped
to drives. On my developer machine (XP) theserviceruns as expected
and can see the mapped unix drives.
After installing theserviceonWindows2003 server SP1, theservice
can no longer see the mapped drives, the error message returned is:
Could not find a part of the path "M:\". When trying the full path \
\ServerIPAddress\directory access is also denied.
On the server, the mapped drives are visible in Explorer and all files
can be seen.
Hoping someone can shed some light on this issue. Any ideas??
Thanks
Berni- Hide quoted text -
- Show quoted text -
Hi Joe
thanks for your post.
Have done some more reading (and testing) and agree it can't be
resolved with logged-in user and service runas user combo as services
are run in their own sessions. Would be helpful if service behaviour
was the same for both XP and Server environments - as the service on
XP can see the mapped drives.
Will now investigate why the service cannot see UNC paths for the NFS
network.
Thanks
Berni
.
- Follow-Ups:
- Re: Windows service denied access to mapped drive
- From: Joe Richards [MVP]
- Re: Windows service denied access to mapped drive
- References:
- Windows service denied access to mapped drive
- From: berni
- Re: Windows service denied access to mapped drive
- From: Joe Richards [MVP]
- Windows service denied access to mapped drive
- Prev by Date: Re: 2 accounts point to 1 profile in W2K3
- Next by Date: Group Policy
- Previous by thread: Re: Windows service denied access to mapped drive
- Next by thread: Re: Windows service denied access to mapped drive
- Index(es):
Relevant Pages
|
|