I have a group policy object called “Map users”.
In this policy I have logon script policy(User configuration >Windows setting >scripts>logon)
This script basically maps users to different folder on the server.
The problem is that the script, for some mysterious, reason doesn’t work all the time. Even though it’s in the same OU as the users and the client computers and is linked to it.
I?m not sure if it?s the user or the client computer that?s determining whether the script works. It?s very intermittent
This is a copy the script:
(‘ Map the G to apps
Set objNetwork = Wscript.CreateObject(“WScript.Network”)
objNetwork.MapNetworkDrive “G:”, “\\servername\ClientApps”
‘Map H to user’s home drive
set wshnet = CreateObject(“WScript.Network”)
username = wshnet.userName
wshnet.MapNetworkDrive “H:”, “\\servername\Users\” & username
)
I would really appreciate any help.
Canaan