1 00:00:03,090 --> 00:00:06,090 So let's have some fun with drive mapping policy. 2 00:00:07,080 --> 00:00:12,570 So I'm going to go ahead and I've created a GPO and I'm going to go ahead and edit it. 3 00:00:13,510 --> 00:00:19,720 And I'm going to set user configuration preferences, control panel settings and sorry, windows settings, 4 00:00:19,720 --> 00:00:20,500 drive maps. 5 00:00:21,460 --> 00:00:24,550 And I'm going to go ahead and create a new map drive. 6 00:00:25,540 --> 00:00:29,140 And the location is going to be a DFS share that I have. 7 00:00:30,080 --> 00:00:32,330 And it's called are two test scuttled. 8 00:00:32,450 --> 00:00:34,700 Backslash user backslash public. 9 00:00:34,700 --> 00:00:39,650 And I'm going to label it as the public drive so that everyone knows when they map out what they're 10 00:00:39,650 --> 00:00:40,100 getting. 11 00:00:41,010 --> 00:00:46,350 And I'm going to say reconnected, log on and I'm going to say use the P drive and I'm going to leave 12 00:00:46,350 --> 00:00:51,570 all the other options alone, except what I'm going to do is come in under item level targeting and 13 00:00:51,570 --> 00:00:57,150 I'm going to create an item level target and I'm going to say do security group and I'm going to browse 14 00:00:57,150 --> 00:01:02,790 to the sales users group, just type in sales and it'll return all the groups that start with sales. 15 00:01:03,780 --> 00:01:06,270 I'm going to pick the sales users group. 16 00:01:07,280 --> 00:01:12,770 So what I'm saying is if the user is in the group, then this evaluates to true and the preference should 17 00:01:12,770 --> 00:01:13,360 apply. 18 00:01:13,400 --> 00:01:16,760 And I'm going to go ahead and set that and it's set to update. 19 00:01:17,730 --> 00:01:22,950 That means it's going to map the driver once and then not keep trying to map it every time I log on. 20 00:01:22,950 --> 00:01:24,360 And that'll be a good thing. 21 00:01:24,570 --> 00:01:27,750 It'll take less time to get to the user's desktop that way. 22 00:01:28,700 --> 00:01:33,800 If I were to put it on replace mode, then every time the user logged on it would remove the map, drive 23 00:01:33,800 --> 00:01:34,610 and re-edit. 24 00:01:34,790 --> 00:01:39,080 So now I have my map drive defined for all members of the Sales Users Group. 25 00:01:40,020 --> 00:01:43,490 Now what I'm going to do is I'm going to link this to my sales users. 26 00:01:43,500 --> 00:01:45,240 Oh, you saw it will take effect. 27 00:01:45,390 --> 00:01:48,030 And then I'm going to go over to my Windows client. 28 00:01:49,040 --> 00:01:52,730 Now I'm logged into this Windows seven client as Joe Sales. 29 00:01:52,730 --> 00:01:57,950 And if you'll recall from an earlier module, I mentioned that Preferences Drive Mappings was one of 30 00:01:57,950 --> 00:02:03,950 those client side extensions that requires a foreground synchronous refresh, just like software installation 31 00:02:03,950 --> 00:02:05,300 or folder redirection. 32 00:02:06,260 --> 00:02:10,610 So I'm just going to confirm I don't have any drive mappings available right now. 33 00:02:10,670 --> 00:02:13,690 I got this one here, but I'm going to go ahead and disconnect. 34 00:02:13,820 --> 00:02:16,910 And I got a nice, clean environment, no drive mappings. 35 00:02:17,960 --> 00:02:23,750 I'm going to go ahead and bring up my command prompt and type update and target the user because this 36 00:02:23,750 --> 00:02:28,460 is a per user preference that I'm getting and I'm going to tell it that essentially I want to get this 37 00:02:28,460 --> 00:02:29,330 drive mapping. 38 00:02:30,260 --> 00:02:36,230 Now again, note that it's telling me that in this case I still have a folder redirection, policy error 39 00:02:36,230 --> 00:02:41,660 or policy message telling me that I've got some client side extensions that need to do foreground work. 40 00:02:42,620 --> 00:02:43,570 So great. 41 00:02:43,580 --> 00:02:44,380 I knew that. 42 00:02:44,390 --> 00:02:49,160 And I knew that I need to do for preferences or I'm sorry for drive mappings. 43 00:02:49,160 --> 00:02:50,960 I need to log off and log back on. 44 00:02:50,960 --> 00:02:52,790 So I'm going to go ahead and do that. 45 00:02:53,740 --> 00:02:58,720 One thing to note about that, log off and log back on requirement for preferences. 46 00:02:58,720 --> 00:03:03,940 Drive mappings in Windows 8.1 and above that requirement actually goes away. 47 00:03:04,900 --> 00:03:11,080 So if this were a Windows 8.1 or Windows ten system and I had just done the update, if I came into 48 00:03:11,080 --> 00:03:15,940 the Explorer and went to my computer, I would see the drive mapping to the public drive that I had 49 00:03:15,940 --> 00:03:19,480 specified in the preference without having me log off and log back on. 50 00:03:19,490 --> 00:03:24,040 So of course this is Windows seven, so I am going to go ahead and log off. 51 00:03:24,990 --> 00:03:29,430 And now I'm logging back on and you'll see it's applying group policy drive maps. 52 00:03:29,460 --> 00:03:30,930 It went by pretty quickly. 53 00:03:31,880 --> 00:03:33,800 And I'm going to bring up the Explorer. 54 00:03:33,830 --> 00:03:34,820 Go to computer. 55 00:03:34,820 --> 00:03:36,290 And there's my public drive. 56 00:03:36,320 --> 00:03:37,370 So it's been mapped. 57 00:03:37,490 --> 00:03:38,870 It's called public drive. 58 00:03:38,870 --> 00:03:40,550 And there's nothing in it right now. 59 00:03:40,760 --> 00:03:45,260 But it's essentially named it for me and done the mapping for me to that DFC share. 60 00:03:46,230 --> 00:03:51,600 So I was able to seamlessly get to my drive maps and because I was a member of the sales users group, 61 00:03:51,600 --> 00:03:53,700 IT process that preference just fine. 62 00:03:54,630 --> 00:03:59,700 Now I wanted to bring up one thing that you may have seen in some of my past demos and wondered how 63 00:03:59,700 --> 00:04:00,450 it got there. 64 00:04:01,460 --> 00:04:06,320 You'll notice when I was logging in that you were seeing messages flash across the screen showing you 65 00:04:06,320 --> 00:04:09,500 which policy area was processing as I was logging in. 66 00:04:09,620 --> 00:04:14,630 And that's actually controlled by a group policy setting, and it's an admin template setting that you 67 00:04:14,630 --> 00:04:15,200 can set. 68 00:04:16,130 --> 00:04:21,710 And I tend to set it on all the machines in my domain because there is generally it's great information 69 00:04:21,710 --> 00:04:24,620 to have to know what's going on as the users logging on. 70 00:04:25,560 --> 00:04:28,980 It's under computer configuration admin template system. 71 00:04:28,980 --> 00:04:34,440 And if I go down, you'll see this policy called verbose versus normal status messages. 72 00:04:35,410 --> 00:04:37,390 If you enabled this policy. 73 00:04:38,370 --> 00:04:43,920 Then those verbose messages will appear when the user logs on or when the machine starts up or shuts 74 00:04:43,920 --> 00:04:44,370 down. 75 00:04:44,490 --> 00:04:49,200 So you'll be able to see the progress of, in this case, group policy processing. 76 00:04:49,200 --> 00:04:54,570 And I know this has nothing to do with what I was just talking about with preferences drive mappings. 77 00:04:55,510 --> 00:05:00,730 But I think it's useful to have this information to know about this policy, because it can help us 78 00:05:00,730 --> 00:05:06,940 see that in this case, group policy preferences drive mappings was actually running at that last log 79 00:05:06,940 --> 00:05:07,240 on.