I’m testing a drive mapping from GPO on Server 2008 environment. I create a mapped drive with following options,<\/p>\n
Action: Update (I’m not sure when create the mapping first I might selected “Create”)<\/p>\n
Location: \\Servername\\shared folder<\/p>\n
Reconnect : Checked<\/p>\n
Label as: some useful name<\/p>\n
Drive Letter: Use: I<\/p>\n
Connect as: I did not write any credentials<\/p>\n
Hide/Show this drive: Show this drive (Selected) I also tried “No change”<\/p>\n
Hide/Show all drives: Show all drives (Selected) I also tried “No change”<\/p>\n
on the common tab<\/p>\n
I have “Item-level targeting” checked and targeted to Security group.<\/p>\n
I also checked “Remove this item when it is no longer applied” which turn Action to Replace<\/p>\n
I gave security permission to the groups for shared folders and I added the users in different groups. All the drives mapped correctly, but when I delete the user from security group mapped drive did not get removed. I try “gpupdate /force” on the server and client machine also I restart the client machine. Do I missing some steps? Does anyone have or had same problem?<\/p>","upvoteCount":5,"answerCount":7,"datePublished":"2013-06-26T14:48:27.000Z","author":{"@type":"Person","name":"kocaman","url":"https://community.spiceworks.com/u/kocaman"},"acceptedAnswer":{"@type":"Answer","text":"
If the policy exists to delete the mapped drive if the user is not<\/em> a member of security group then it should take care of that for you as you edit group membership.<\/p>","upvoteCount":0,"datePublished":"2013-06-26T16:08:36.000Z","url":"https://community.spiceworks.com/t/drive-mapping-with-gpo/221982/5","author":{"@type":"Person","name":"seanmdit","url":"https://community.spiceworks.com/u/seanmdit"}},"suggestedAnswer":[{"@type":"Answer","text":" I’m testing a drive mapping from GPO on Server 2008 environment. I create a mapped drive with following options,<\/p>\n Action: Update (I’m not sure when create the mapping first I might selected “Create”)<\/p>\n Location: \\Servername\\shared folder<\/p>\n Reconnect : Checked<\/p>\n Label as: some useful name<\/p>\n Drive Letter: Use: I<\/p>\n Connect as: I did not write any credentials<\/p>\n Hide/Show this drive: Show this drive (Selected) I also tried “No change”<\/p>\n Hide/Show all drives: Show all drives (Selected) I also tried “No change”<\/p>\n on the common tab<\/p>\n I have “Item-level targeting” checked and targeted to Security group.<\/p>\n I also checked “Remove this item when it is no longer applied” which turn Action to Replace<\/p>\n I gave security permission to the groups for shared folders and I added the users in different groups. All the drives mapped correctly, but when I delete the user from security group mapped drive did not get removed. I try “gpupdate /force” on the server and client machine also I restart the client machine. Do I missing some steps? Does anyone have or had same problem?<\/p>","upvoteCount":5,"datePublished":"2013-06-26T14:48:27.000Z","url":"https://community.spiceworks.com/t/drive-mapping-with-gpo/221982/1","author":{"@type":"Person","name":"kocaman","url":"https://community.spiceworks.com/u/kocaman"}},{"@type":"Answer","text":" If the drive already exists I would think update is fine, if it does not exist then create might be used instead.<\/p>\n You would need to create a new map to delete and then set the targeting to something like the user is not a member of the security group. Then log off and back or do a gpupdate /force<\/p>","upvoteCount":0,"datePublished":"2013-06-26T14:53:49.000Z","url":"https://community.spiceworks.com/t/drive-mapping-with-gpo/221982/2","author":{"@type":"Person","name":"seanmdit","url":"https://community.spiceworks.com/u/seanmdit"}},{"@type":"Answer","text":" Try to manually remove the drive, change the policy to Reconnect:unchecked, apply the gpo and relogin. I suspect that the reconnect option conflicts with the ‘remove this item when it no longer applies’. Not sure, but it is worth a try.<\/p>","upvoteCount":0,"datePublished":"2013-06-26T15:22:46.000Z","url":"https://community.spiceworks.com/t/drive-mapping-with-gpo/221982/3","author":{"@type":"Person","name":"craigduff","url":"https://community.spiceworks.com/u/craigduff"}},{"@type":"Answer","text":" Well these are great suggestion but again this is a test box. I can also right click on the drive and select disconnect but what about on production? I will have 40 people in a group and if I need to delete one person from the group (Person might change position or promoted) and doesn’t need to access the mapped drive anymore? Do I have to do this every time?<\/p>","upvoteCount":0,"datePublished":"2013-06-26T16:03:23.000Z","url":"https://community.spiceworks.com/t/drive-mapping-with-gpo/221982/4","author":{"@type":"Person","name":"kocaman","url":"https://community.spiceworks.com/u/kocaman"}},{"@type":"Answer","text":" So I have to crete 2 mapping for each drive. One for create another one for delete. Good to know. thanks.<\/p>","upvoteCount":0,"datePublished":"2013-06-26T16:39:32.000Z","url":"https://community.spiceworks.com/t/drive-mapping-with-gpo/221982/6","author":{"@type":"Person","name":"kocaman","url":"https://community.spiceworks.com/u/kocaman"}},{"@type":"Answer","text":" That is correct just copy and paste the existing drive map setting you have and update the copy so that the Action is Delete. Then on the common tab > Item Level Targeting change the is a member to is not a member. This should work for you.<\/p>","upvoteCount":0,"datePublished":"2013-06-26T17:08:16.000Z","url":"https://community.spiceworks.com/t/drive-mapping-with-gpo/221982/7","author":{"@type":"Person","name":"seanmdit","url":"https://community.spiceworks.com/u/seanmdit"}}]}}