1 00:00:03,030 --> 00:00:03,810 Okay. 2 00:00:04,650 --> 00:00:08,790 Let's switch gears and talk about the different modes of group policy processing. 3 00:00:09,660 --> 00:00:12,180 So we've talked about foreground and background. 4 00:00:13,080 --> 00:00:18,360 Now each processing cycle, whether it be foreground or background, can run in one of two different 5 00:00:18,360 --> 00:00:18,780 modes. 6 00:00:19,680 --> 00:00:24,660 And those modes are either synchronous, which is essentially meaning that group policy processing for 7 00:00:24,660 --> 00:00:30,840 the computer finishes completely before the user can log in, and then group policy processing for the 8 00:00:30,840 --> 00:00:34,050 user finishes completely before they can use their desktop. 9 00:00:34,200 --> 00:00:35,880 So that's synchronous processing. 10 00:00:36,720 --> 00:00:39,360 The other kind of processing is asynchronous. 11 00:00:40,260 --> 00:00:45,660 And that means that essentially group policy processing is running while the user is logging in for 12 00:00:45,660 --> 00:00:48,720 the computer and while they're working on their desktop for the user. 13 00:00:49,620 --> 00:00:55,020 So group policy processing is happening in the background while the user is getting productive. 14 00:00:55,860 --> 00:00:57,960 And this is a usually a. 15 00:00:58,840 --> 00:01:04,210 A much better place to be from a performance and desktop experience perspective, but it's definitely 16 00:01:04,210 --> 00:01:06,940 different from a group policy processing perspective. 17 00:01:07,800 --> 00:01:13,320 And I will point out that asynchronous processing has been the default on Windows Workstation SKUs like 18 00:01:13,320 --> 00:01:16,590 Windows XP, Windows seven since Windows XP. 19 00:01:17,450 --> 00:01:22,400 And in fact, you have to specifically override it if you want some other kind of behavior. 20 00:01:23,350 --> 00:01:25,360 So let's dig into this a little bit. 21 00:01:26,290 --> 00:01:29,920 So what does asynchronous processing really look like? 22 00:01:30,840 --> 00:01:35,910 Well, the computer starts up and this is, you know, the cycle from a computer that's often a user 23 00:01:35,910 --> 00:01:40,180 that's obviously not logged on to a computer that's on and the user's logged on. 24 00:01:41,070 --> 00:01:43,080 So the computer starts up. 25 00:01:43,950 --> 00:01:49,770 Computer processing starts at some point during that boot cycle, when the computer gets network access 26 00:01:49,770 --> 00:01:58,050 and starts to resolve to add the user's log on dialog is presented so the control plus alt plus delete 27 00:01:58,050 --> 00:02:03,990 log on dialog is presented sometime, while group policy computer processing is continuing on its path. 28 00:02:04,930 --> 00:02:11,500 Now the user can log on at that point and when the user logs on then user based processing happens sometime 29 00:02:11,500 --> 00:02:14,830 in that in that user log on cycle. 30 00:02:15,700 --> 00:02:21,520 And the user gets their desktop presented to them and usable while processing may still be going on. 31 00:02:22,420 --> 00:02:28,360 So essentially user processing is happening in the background and the user is functional and able to 32 00:02:28,360 --> 00:02:29,470 work on their desktop. 33 00:02:30,340 --> 00:02:33,850 Now let's contrast that with synchronous processing. 34 00:02:34,720 --> 00:02:41,320 So in synchronous processing, again, the computer starts up, computer processing starts up, but 35 00:02:41,320 --> 00:02:46,330 the user doesn't get their log on dialogue until computer processing has completed. 36 00:02:47,260 --> 00:02:52,480 So once the user gets their log on dialogue and they enter in their credentials, they log on. 37 00:02:53,320 --> 00:02:58,210 And now user processing starts up at some point in the user log on cycle. 38 00:02:59,050 --> 00:03:05,350 But the user doesn't get a usable desktop presented to them until after the user processing has finished. 39 00:03:06,280 --> 00:03:10,720 So as you can see, this sort of elongates the whole group policy processing cycle. 40 00:03:11,640 --> 00:03:15,450 So let's look at some of the facts around sync versus async processing. 41 00:03:16,320 --> 00:03:20,370 So synchronous processing is obviously slower than asynchronous. 42 00:03:21,270 --> 00:03:26,790 I think this is probably obvious, but for background processing, remember foreground and background. 43 00:03:26,970 --> 00:03:30,480 Background processing always runs asynchronously by definition. 44 00:03:30,510 --> 00:03:33,030 In other words, there is always something else going on. 45 00:03:33,030 --> 00:03:40,770 While background processing is running Windows Server rescues like Windows Server 2000 or two or 2012. 46 00:03:40,920 --> 00:03:46,110 They always run synchronously, so that's just the default and you can't really change it. 47 00:03:46,200 --> 00:03:49,610 It's always synchronous on workstations. 48 00:03:49,620 --> 00:03:55,290 You can actually force always on synchronous processing by enabling this computer's specific policies. 49 00:03:56,220 --> 00:04:01,980 So it would have to apply to computer objects and AD, but you can absolutely get for synchronous processing 50 00:04:01,980 --> 00:04:03,780 if you decided you wanted to do that. 51 00:04:04,650 --> 00:04:06,090 And why would you do that? 52 00:04:06,990 --> 00:04:08,850 Why would you force it all the time? 53 00:04:09,690 --> 00:04:15,060 Well, there are several different policy areas, and I'll talk about this in a little bit that require 54 00:04:15,060 --> 00:04:18,390 a foreground synchronous processing cycle in order to complete. 55 00:04:19,290 --> 00:04:25,260 These include folder redirections, software, installation and then preferences drive mappings before 56 00:04:25,260 --> 00:04:26,580 Windows 8.1. 57 00:04:27,450 --> 00:04:32,670 In the absence of running synchronously, let's say you log on and you've got some of these policy areas 58 00:04:32,670 --> 00:04:35,580 implemented and you've got a synchronous processing set. 59 00:04:36,480 --> 00:04:41,850 What'll happen is the first time you log on the engine will notice that these policy areas that have 60 00:04:41,850 --> 00:04:46,890 been set and it won't be able to process them because it requires that synchronous foreground cycle. 61 00:04:47,740 --> 00:04:53,560 But it will set a flag that says the next time the foreground cycle runs, we need to run it synchronously. 62 00:04:54,460 --> 00:05:00,160 So essentially you get the situation where you might require two separate log ons for the user to receive 63 00:05:00,160 --> 00:05:05,080 their folder redirection software installation or preferences drive mappings. 64 00:05:05,980 --> 00:05:10,330 Of course, if you're setting the flag to run always synchronous, then you're sort of always making 65 00:05:10,330 --> 00:05:15,370 the user way that computer start up and user log on, which is not necessarily a good thing for the 66 00:05:15,370 --> 00:05:16,510 user experience. 67 00:05:17,440 --> 00:05:21,100 So let's dig into this a little bit more on one of our test systems.