Subj : Re: Windows XP Service Access to Network Mapped Drives problem To : borland.public.cpp.borlandcpp From : "Vish" Date : Tue Jul 29 2003 04:06 pm "Bob Gonder" wrote in message news:bq1bivst6v5uoje7352drsfnqj6ooei7kd@4ax.com... > Vish wrote: > > >Then I tried to access the network drive using UNC > >(\\machine_name\share\file) and it successfully found the file at the target > >machine in the service. But another problem came up was that this service > >doesn't interact with the desktop (means you don't see the service icon in > >the system tray), since you specified a specific account. I am not sure how > >to solve this. > > I don't see how you can expect to have an anonimous service to a > secure system. > Either the secure system needs a public logon that your service knows > about, or it needs to be open (shared). Or the service need to be a > part of the user's logon script (closing when the user logs off, and > perhaps not duplicating when another user logs on). > I am running this service only after logging onto the local machine (manual). At that time actually the network drives are mapped and alive. That doesn't mean that the serivice will see this mapped drive. My requirement is I want the service to access the network drive or UNC when it runs as a service (it doesn't matter to me whether it runs as LocalAccount or specific account). But the problem with the specific account (using service properties) is that I don't see the service icon on the desktop systray, but I see the shared drive using UNC. Any more clues or ideas appreciated. Thanks .