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