Login Scripts not working - TechRepublic
Question
July 16, 2008 at 11:37 AM
captn.dude

Login Scripts not working

by captn.dude . Updated 17 years, 11 months ago

Hi All,

I am trying to set-uo a mapped drive at logon for an OU. I am no system admin so please bear with me. I am using the follwing script syntax:
Set objNetwork = CreateObject(“wScript.Network”)
objNetwork.MapNetworkDrive “Q:” , “\\srv9\applications”

I have also tried the following .bet file in place of the vbs with no change in the results:

net use q: \\srv9\applications persistent:yes

I then assigned that using the Group policy management mmc snap-in to everyone in the OU. When they login nothing happens. FYI I put the script in the default directory that the GPO snap-in asked for. (\\”FQDN”\SysVol\”FQDN”\Policies\{AC6BDDD8-8B3D-4BAD-B9FF-92C5D33F4895}\User\Scripts\Logon) Where “FQDN” is our domain. Before anyone asks why drive mappings vs UNC, the remote application requires it.

This discussion is locked

All Comments