Download presentation
Presentation is loading. Please wait.
2
Group Policies (the day after) Group Policy Preferences Powershell
3
How can we keep track of what we have done or changed? We can name the policy appropriately based on function or grouping of settings – Interactive_Logon_Policy – Internet_Explorer_Policy The GPMC allows us to make comments regarding a particular policy.
4
What should we comment on? – Who’s in charge of the GPO – Who to call if there is a problem? – Who is supposed to be affected by this GPO? – Detailed information about what this GPO should do – Who will get fired if this doesn’t work
5
Comments… GPMC Select Policy Edit Right click on Policy name (see below) Properties
6
Comments…
7
Controlling how GPO’s run – Disable local GPOs from applying CC Policies Admin Templates System Group Policy
8
Controlling how GPO’s run – Disable Link Enabled Status – Disable “half” of a Group Policy Will speed up processing (not very noticeable)
9
Controlling how GPO’s run – The Enforced Function Guarantees that policy settings within a GPO from a higher level are always inherited by lower levels Right click on Policy and choose Enforce
10
Group Policy Preferences (GPP) are essentially an extension DLL (dynamic link library) that does a bunch of stuff. Can be “undone” by the user
11
Computer Configuration Preferences Windows Settings Environment: – Set user and system environment variables – Change the Windows system path variable Files – Copy files from point A to point B Server share to %Documents% on the local system Folders – Create, delete or empty folders
12
Network Shares – Create shares on workstations or servers Shorcuts – Place program or URL on desktops, startup folder, Programs folders, etc etc.
13
Computer/User Configuration Preferences Control Panel
14
Common Control Panel Settings Local users and groups – Create/change local users – Modify local user passwords – Change local user group membership Power Options – Create power options for XP – Create power plans for Vista and later
16
Printers – Computer Local/IP – User Local/IP/Shared
17
Microsoft ® shell environment Gives administrators more power and command in the shell environment – Hence…PowerShell? Active Directory Module for Windows® Powershell allows for Active Directory specific command-line and scripted operations Only available in Windows ® Server R2 and Windows ® 7
18
First, we need to understand naming formats – Distinguished name cn=John Doe, OU=Sale_OU, DC=MS1, DC=local – RDN Relative Distinguished Name CN Common Name DC Domain Component OU Organizational Unit – Fully Qualified Domain Name (FQDN) SVBlue1.ms1.local
19
Growing resources daily – http://technet.microsoft.com/en- us/scriptcenter/powershell.aspx http://technet.microsoft.com/en- us/scriptcenter/powershell.aspx – http://gallery.technet.microsoft.com/ScriptCenter/en-us/ http://gallery.technet.microsoft.com/ScriptCenter/en-us/ – http://technet.microsoft.com/en- us/library/dd378937(WS.10).aspx http://technet.microsoft.com/en- us/library/dd378937(WS.10).aspx
20
Creating an Active Directory user account: – New-aduser How do I use it? Get HELP! No seriously get- help – Get-help new-aduser – Get-help new-aduser –examples – Get-help new-aduser –detailed new-aduser jdoe New-aduser “John Doe” –samaccountname “jdoe” –Givenname “John” –Surname ……..
21
Setting Passwords – Set-ADAccountPassword –Identity jdoe -Reset - NewPassword (ConvertTo-SecureString - AsPlainText "p@ssw0rd" –Force) Change attributes for multiple users – Get-ADUser -Filter 'Name -like "*"' -SearchBase "OU=Sale_OU,DC=MS1, DC=Local" | Set-ADUser - Description "Member of the Sales Department"
22
Display user attributes – Get-aduser jdoe – Get-aduser jdoe –properties * | more Add groups and members – Add-adgroupmember “Sale_Group” – Add-adgroupmember “Sale_Group” –member jdoe A great deal more online
23
You can add comments to help document GPOs Enforced Function overrules blocking of inheritance You can disable “half” of a GPO GPP’s can be undone by the users Active Directory Module for Windows® Powershell allows for command-line and scripted operations
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.