Forcing and Detecting Synchronous Group Policy Processing Using gpupdate /sync

Опубликовано: 13 Октябрь 2024
на канале: SDM Software
8,918
8

http://sdmsoftware.com - Darren Mar-Elia, CTO and Founder of SDM Software, discusses forcing and detecting synchronous group policy processing using gpupdate /sync.

Chapter 1 - 00:00:00
Hi, this Darren Mar-Elia, CTO
and Founder of SDM Software.

Chapter 2 - 00:00:04
And I'm going to do a quick demo
of the GPUpdate Sync Command

Chapter 3 - 00:00:11
along with one of our freeware
utilities that you can see the

Chapter 4 - 00:00:14
effects of Synchronous GP Processing.

Chapter 5 - 00:00:18
So let me bring up the Group Policy
Health Reporter. This is

Chapter 6 - 00:00:21
a freeware utility that we provide
on our website, and let me

Chapter 7 - 00:00:26
just go ahead and bring that up here.

Chapter 8 - 00:00:29
And if you're interested in downloading
this utility, if you

Chapter 9 - 00:00:32
just go to our website on
the Freeware page,

Chapter 10 - 00:00:37
you'll find the Group Policy Health
Reporter Product right at the top

Chapter 11 - 00:00:42
and you can register to download that.
Now let's go ahead and

Chapter 12 - 00:00:47
look at the Health Reporter.
I've run the Health Reporter on

Chapter 13 - 00:00:50
this machine and one of the pieces
of information that it returns

Chapter 14 - 00:00:53
is for both the computer and the
user, it essentially returns

Chapter 15 - 00:00:58
the Foreground Refresh Mode, the
last time Policy Processing

Chapter 16 - 00:01:03
happened, and the next Foreground
Refresh Mode. So right now

Chapter 17 - 00:01:07
the previous Foreground Refresh
was set to Asynchronous, the

Chapter 18 - 00:01:11
reason was basically, No Need for
Synchronous. There was nothing

Chapter 19 - 00:01:14
that needed Synchronous Processing.

Chapter 20 - 00:01:17
The same holds true for the next
Foreground Processing cycle.

Chapter 21 - 00:01:20
However, what I'm going to do
here is I'm going to go in

Chapter 22 - 00:01:43
and run GPUpdate Sync. And it's asking
me if it's "Okay to Restart?"

Chapter 23 - 00:01:45
because it's trying to
flag enforce a reboot

Chapter 24 - 00:01:51
on this machine in order for the Synchronous
Processing to take effect.

Chapter 25 - 00:01:55
I'm going to say "No" to Restart
and "No" to Logoff.

Chapter 26 - 00:02:00
Of course they won't take effect
until either a User Logoff or

Chapter 27 - 00:02:03
a System Reboot. But what I'm going
to do is reconnect to this

Chapter 28 - 00:02:07
machine and what you see here now
is that the next Foreground

Chapter 29 - 00:02:11
Refresh Mode is set to Synchronous,
and the reason is that I

Chapter 30 - 00:02:16
forced it Forced to Sync Refresh.

Chapter 31 - 00:02:19
So essentially what happened here
is by using the GPUpdate Sync

Chapter 32 - 00:02:23
Command, I've forced the next Policy
Processing Cycle to be Synchronous.

Chapter 33 - 00:02:27
And I can see that very easily
through my GP Health Reporter.

Chapter 34 - 00:02:31
I can also show it on the Pre-User
side as well if I chose to do that.

Chapter 35 - 00:02:38
And that's the end of this
demo. Thanks for watching.