![]() * Now that this only applies to the correct group, all your script needs to do is make the mapping. Since you are using GPO a much cleaner way of doing this would be to only have that group policy apply to this group (you achieve this by deleting ‘Authenticated Users’ under Security Filtering, then clicking Add and choosing the GG_IT_Management group. * It looks like your script is running for everyone, and only making the drive mapping if the user is a member of the GG_IT_Management group. ![]() **This is only the bare minimum that i want to do too.lol I would like to have a “Personal Drive” mapped also that logs the username and create a folder inside the “Personal Drive” that the individual users and save their documents in. Not to sure why it works for one user and not the other, and why it does not map the drive at user login? ObjNetwork.MapNetworkDrive “X:”, “\\SRV01\Department” StrUserPath = “LDAP://” & objSysInfo.UserName Set objNetwork = CreateObject(“WScript.Network”) Set objSysInfo = CreateObject(“ADSystemInfo”) Network Drive Mapping (which has my Logon script for the drive mapping).Īll of these GPOs are at the highest level in my OU structure, and when looking at Group Policy Management, i can see in the Group Policy Inheritance that ALL the above policy are inherited. Now seeing how it works for user # 1, WHY does it not work when he logs in.ĭisable Fast Logon (which has the “allways wait for the network at computer startup and logon”)ĭrive Maps Policy (which has the “allways process across a slow network connection” & “process even if the Group Policy objects have not changed”. When I login with user # 2, and run the script i get nothing. ![]() When I login with user # 1, and run the script i get the drive. I am trying to map a drive for members in the GG_IT_Management. The other user # 2 just has membership in GG_IT_Management. One user #1 has memberships in GG_IT_Management, Domain Admin, Enterprise Admin, and Domain User. I have to actually navigate to the NETLOGON folder and run the script. It works because when I login with my administrator account and run the script the drive gets mapped. I have my GPO with a logon script that i created.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |