Map Drive letters for access by Services - TechRepublic
General discussion
March 2, 2001 at 02:10 AM
richard lane

Map Drive letters for access by Services

by richard lane . Updated 25 years, 4 months ago

I have an application that I am trying to set up as a service on NT Server 4.0 SP6. I have created the service, added in the registry entries to get it to run correctly (Application and Working Directory). The application needs to run as System Account, interact with the desktop, but also needs to have access to a network share that has a pre-assigned drive letter (N: in this case). I have already set up the NullSessionShares entry of the other server, which allows the application access to the share when ‘SysAccount’ rather than a named user. When I start the service, the application starts fine, and runs as long as there is a user logged in, but when I log out, or restart the server, the application loses it’s way. Does anyone know of a way that I can get the drive letter allocated prior to the service starting – registry entry for the service, some way of getting net use to run before the login processes?
Any help would be greatly appreciated as this is currently doing my head in!

Thanks

Richard

This discussion is locked

All Comments