ТОП просматриваемых книг сайта:
Group Policy. Jeremy Moskowitz
Читать онлайн.Название Group Policy
Год выпуска 0
isbn 9781119035688
Автор произведения Jeremy Moskowitz
Жанр Зарубежная образовательная литература
Издательство John Wiley & Sons Limited
I encourage you to visit the website and post your questions to the community forum or peruse the other resources that will be constantly renewed and available for download. For instance, in addition to the forum at www.GPanswers.com, you’ll find these resources:
● Full downloadable PowerShell scripts from the PowerShell chapter
● Tips and tricks
● A third-party Group Policy Solutions Guide, and lots, lots more!
If you want to meet me in person, book me for onsite training, or attend my live public Group Policy courses; my website at www.GPanswers.com has a calendar with upcoming events. I’d love to hear how this book met your needs or helped you out.
Thanks again for being a part of the journey.
Chapter 1
Group Policy Essentials
In this chapter, you’ll get your feet wet with the concept that is Group Policy. You’ll start to understand conceptually what Group Policy is and how it’s created, applied, and modified, and you’ll go through some practical examples to get at the basics.
The best news is that the essentials of Group Policy are the same in all versions of Windows 2000 on. So as I stated in the introduction, if you’ve got Windows XP, Windows 7, Windows 8, Windows 10 – whatever – you’re golden.
Learn the basics here, and you’re set up on a great path.
That’s because Group Policy isn’t a server-driven technology. As you’ll learn in depth a little later, the magic of Group Policy happens (mostly) on the client (target) machine. And when we say “client,” we mean anything that can “receive” Group Policy directives: Windows 8, Windows XP, or even the server operating systems such as Windows Server 2016 or Windows Server 2008 R2; they’re all “clients” too.
So, if your Active Directory Domain Controllers are a mixture of Windows Server 2008, Windows Server 2012, and/or Windows Server 2016, nothing much changes. And it doesn’t matter if your domain is in Mixed, Native, or another mode – the Group Policy engine works exactly the same in all of them.
There are occasional odds and ends you get with upgraded domain types. When the domain mode is Windows 2003 or later schema, you’ll get something neat called WMI filters (described in Chapter 4, “Advanced Group Policy Processing”). Also note that in a Windows 2008 Functional mode domain level or later, the replication of the file-based part of a Group Policy Object (GPO) can be enhanced to use distributed file system (DFS) replication instead of system volume (SYSVOL) replication.
Regardless of what your server architecture is, I encourage you to work through the examples in this chapter.
So, let’s get started and talk about the essentials.
Getting Ready to Use This Book
This book is full of examples. And to help you work through them, I’m going to suggest a sample test lab for you to create. It’s pretty simple really, but in its simplicity we’ll be able to work through dozens of real-world examples to see how things work.
Here are the computers you need to set up and what I suggest you name them (if you want to work through the examples with me in the book):
DC01.corp.com This is your Active Directory Domain Controller. It can be any type of Domain Controller (DC). For this book, I’ll assume you’ve loaded Windows Server 2016 and later on this computer and that you’ll create a test domain called Corp.com.
In real life you would have multiple Domain Controllers in the domain. But here in the test lab, it’ll be okay if you just have one.
I’ll refer to this machine as DC01 in the book. We’ll also use DC01 as a file server and software distribution server and for a lot of other roles we really shouldn’t. That’s so you can work through lots of examples without bringing up lots of servers. Bringing up a modern DC requires the use of Server Manager. Check out the sidebar “Bringing Up a Windows Server as a Domain Controller” if you need a little guidance.
Win10.corp.com This is some user’s Windows 10 machine and it’s joined to the domain Corp.com. I’ll refer to this machine as WIN10 in the book. Sometimes it’ll be a Sales computer, other times a Marketing computer, and other times a Nursing computer. To use this machine as such, just move the computer account around in Active Directory when the time comes. You’ll see what I mean.
Win10management.corp.com This machine belongs to you – the IT pro who runs the show. You could manage Active Directory from anywhere on your network, but you’re going to do it from here. This is the machine you’ll use to run the tools you need to manage both Active Directory and Group Policy. I’ll refer to this machine as WIN10MANAGEMENT. As the name implies, you’ll run Windows 10 from this machine. Note that you aren’t “forced” or “required” to use a Windows 10 machine as your management machine – but you’ll be able to “manage it all” if you do.
You can see a suggested test lab setup in Figure 1-1.
Note that from time to time I might refer to some machine that isn’t here in the suggested test lab, just to illustrate a point. However, this is the minimum configuration you’ll need to get the most out the book.
To save space in the book, we’re going to assume you’re using a Windows 10 machine as your management machine. You can also use a Windows 8 or 7 management machine as well and be able to work through pretty much everything in the book, barring a few new things that got born in Windows 8.1 and are still present on a Windows 10 management machine. If you’re forced by some draconian corporate edict to use a Windows Vista or Windows XP (or earlier) machine as a management machine, you’ll have to refer to previous editions of the book to get the skinny about using them.
Figure 1-1: Here’s the configuration you’ll need for the test lab in this book. Note that the Domain Controller can be 2000 or above, but Windows Server 2016 is preferred to allow you to work through all the examples in this book.
For working through this book, you can build your test lab with real machines or with virtual hardware. Personally, I use VMware Workstation (a pay tool) for my testing. However, Microsoft’s Hyper-V is a perfectly decent choice as well. Indeed, Hyper-V is now available built into Windows 8 and later. So, you could bring up a whole test lab to learn Windows 10 – on your Windows 10 box! What a mindblower! Here’s an (older) overview of Windows 8’s Hyper-V if you care to use it: http://tinyurl.com/3r99nr9. Note there are also other alternatives, such as Parallels Desktop and VMware Fusion (both of which run on a Mac) and Oracle VM VirtualBox.
In short, by using virtual machines, if you don’t have a bunch of extra physical servers and desktops around, you can follow along with all the examples anyway.
I suggest you build your test lab from scratch. Get the original media or download each operating system and spin up a new test lab.
Here is where to find trial downloads for Windows 7, Windows 8.1, Windows 10, and Windows Server 2016:
www.microsoft.com/en-us/evalcenter/evaluate-windows-8-1-enterprise
Microsoft usually also makes prebuilt virtual hard disk (VHD) images for use with Virtual PC and now, more recently, Hyper-V. It’s your choice of course, but I prefer to fresh-build my lab instead of using the preconfigured VHD files.
And