I am attempting to map a network drive to about ten computers on our network via GPO. For reference, the users logging in already have some mapped network drives via a user GPO, but I only want this drive to be accessible on these ten computers. I am using a drive letter that will not conflict with other existing policies.
I have created a computer OU for the ten machines in question, and linked a GPO to this OU. The GPO has "User Configuration" disabled, with only "Computer Configuration running. In the Startup Scripts, I have two files: pushprinterconnections.exe (so we can push out a printer using the GPO) and my .bat file, which looks like this:
net use j: "\\server\share name"
When users log on, sometimes they get the network drive, sometimes not. When they do, it shows up as "Disconnected Network Drive (J:)". Despite that, the drive can still be opened and files accessed, but this is pretty sloppy, and I need the drive to be accessed properly every time. I have tried playing with the permissions on the share folder, adding a group composed of the computers in question, but this has not helped.
Interestingly enough, I can rename the "Disconnected Network Drive (J:) to the apppropriate name and it will do so. I cannot disconnect the drive via GUI or CLI even logged in as Administrator; it says the drive is not in use. I'm running out of options and could really use some help. Thanks!