OK, so I have this customer that has a process that requires a lot of disk space. At the moment adding disk space to the array isn't an option. Maybe next quarter it will be, but I'm trying to implement a bandaid. In the meantime, they have space available on a Linux box that we created a share for with Samba.
I can map to the share with net use or via the Windows GUI without any problems. However, the customer has a service that runs at startup that needs to be able to access this space. This service cannot use UNC paths, it must be mapped to a drive letter. If I map the drive as a user, and check reconnect at logon, the drive is only available when I am logged in. I put a NET USE command in the registry under HKLM\Software\Microsoft\Windows\CurrentVersion\Run, and that seems to work a little. Every user who logs in has access to the mapped drive, but it doesn't look like the drive is mapped if nobody is logged in. The service runs on bootup, and so it still can't see the drive and fails.
Does anyone know of a way for the system to have access to the mapped drive without having a user logged on?
I can map to the share with net use or via the Windows GUI without any problems. However, the customer has a service that runs at startup that needs to be able to access this space. This service cannot use UNC paths, it must be mapped to a drive letter. If I map the drive as a user, and check reconnect at logon, the drive is only available when I am logged in. I put a NET USE command in the registry under HKLM\Software\Microsoft\Windows\CurrentVersion\Run, and that seems to work a little. Every user who logs in has access to the mapped drive, but it doesn't look like the drive is mapped if nobody is logged in. The service runs on bootup, and so it still can't see the drive and fails.
Does anyone know of a way for the system to have access to the mapped drive without having a user logged on?