Mẹo Does fine-grained password Policy override domain policy

Kinh Nghiệm Hướng dẫn Does fine-grained password Policy override domain policy Chi Tiết

Bùi Trung Minh Trí đang tìm kiếm từ khóa Does fine-grained password Policy override domain policy được Update vào lúc : 2022-11-03 04:06:01 . Với phương châm chia sẻ Thủ Thuật Hướng dẫn trong nội dung bài viết một cách Chi Tiết 2022. Nếu sau khi đọc nội dung bài viết vẫn ko hiểu thì hoàn toàn có thể lại Comments ở cuối bài để Ad lý giải và hướng dẫn lại nha.

Now that you’ve learned how to administer your environment using Group Policies, it’s time to look customizing the password settings in your domain. You’ll perform this task using fine-grained password policies, which are also known as Password Settings Objects (PSOs). The two terms are used interchangeably in this chapter. They enable you to have multiple password policies in the domain, which means your organization saves the cost of having multiple domains. PSOs make security more granular and enable you to apply stricter password requirements to sensitive groups such as your administrators.

Nội dung chính Show
    10.1. Fine-grained password policy concepts 10.2. Creating fine-grained password policies 10.3. Determining policies that exist in the domain 10.4. Applying PSOs to users and groups 10.5. Testing the results of a policy applied to a user using PowerShell 10.7. Ideas for on your own Fine-Grained Password Policies ConceptsHow to Create Password Setting Policy (PSO) in Active Directory?Configuring Fine-Grained Password Policies (PSOs) Using PowerShellWhat is precedence in fineDoes AD GPO override local policy?Is it possible to apply fineWhat is a prerequisite for implementing fine

The chapter starts with an overview of the concepts surrounding PSOs. After this short theory section, we’ll get back to the practical nature of administering Active Directory by showing you how to create, apply, and test fine-grained password policies.

Once the policies have been created, you need to be able to apply them to your users and groups. There are times when you need to determine the password policy that applies to a particular user. This technique is covered in the last section of the chapter. A number of practical exercises are supplied throughout the chapter, culminating in a lab section to close the chapter.

Before you can learn to manage these objects, you need to understand what they are and what they can do for your environment.

10.1. Fine-grained password policy concepts

10.2. Creating fine-grained password policies

10.3. Determining policies that exist in the domain

10.4. Applying PSOs to users and groups

10.5. Testing the results of a policy applied to a user using PowerShell

10.6. LAB

10.7. Ideas for on your own

Fine-Grained Password Policies (FGPP) allow you to create multiple password policies for specific users or groups. Multiple password policies are available starting with the Windows Server 2008 version of Active Directory. In previous versions of AD, you could create only one password policy per domain (using the Default Domain Policy).

In this article, we’ll show how to create and configure multiple Password Setting Objects in an Active Directory domain.

Fine-Grained Password Policies Concepts

Fine-Grained Password Policies allow an administrator to create multiple custom Password Setting Objects (PSO) in an AD domain. In PSOs, you can set the password requirements (length, complexity, history) and account lockout options. PSO policies can be assigned to specific users or groups, but not to Active Directory containers (OUs). If a PSO is assigned to a user, then the password policy settings from the Default Domain Policy GPO are no longer applied to the user.

For example, using FGPP policies you can increase the requirements to the length and complexity of passwords for the administrator accounts, service accounts, or users having external access to the domain resources (via VPN or DirectAccess).

Basic requirements for using multiple FGPP password policies in a domain:

    Domain functional level of Windows Server 2008 domain or newer;Password policies can be assigned to users or Global (!) security groups; FGPP is applied entirely (you cannot set some of the password settings in the GPO, and some of them in FGPP)

How to Create Password Setting Policy (PSO) in Active Directory?

On Windows Server 2012 and newer, you can create and edit Fine-Grained Password Policies from the graphical interface of the Active Directory Administration Center (ADAC) console.

In this example, we’ll show how to create and assign a separate password policy for the Domain Admins group.

Start the Active Directory Administrative Center (dsac.msc), switch to the tree view and expand the System container. Find the Password Settings Container, right-click it, and select New -> Password Settings.

Does fine-grained password Policy override domain policy

Specify the name of the password policy (in our example it is Password Policy for Domain Admins) and configure its settings (minimal length and complexity of a password, the number of passwords stored in the history, lockout settings, how often to change password, etc.).

Each of the PSO parameters (msDS-PasswordSettings class) is described by a separate AD attribute:

    msDS-LockoutDurationmsDS-LockoutObservationWindowmsDS-LockoutThresholdmsDS-MaximumPasswordAgemsDS-MinimumPasswordAgemsDS-MinimumPasswordLengthmsDS-PasswordComplexityEnabledmsDS-PasswordHistoryLengthmsDS-PasswordReversibleEncryptionEnabled msDS-PasswordSettingsPrecedence

Pay attention to the Precedence attribute. This attribute determines the priority of the current password policy. If an object has several FGPP policies assigned to it, the policy with the lowest value in the Precedence field will be applied.

Note.

    If a user has two policies with the same Precedence value assigned, the policy with the lower GUID will be applied.If a user has several policies assigned, and one of them enabled through the AD security group, and another one assigned to the user account directly, then the policy assigned to the account will be applied.

Then add groups or users in the Direct Applies To section to apply the policy (in our case, it is Domain Admins). We recommend that you apply the PSO policy to groups rather than individual users. Save the policy.

Does fine-grained password Policy override domain policy

After that, this password policy will be applied to all members of the Domain Admins group.

Start the Active Directory Users and Computers (dsa.msc) console (with the Advanced Features option enabled) and open the properties of any user from the Domain Admins group. Go to the Attribute Editor tab and select Constructed option in the Filter field.

Find the msDS-ResultantPSO user attribute. This attribute shows the password policy enabled for a user (CN=Password Policy for Domain Admin,CN=Password Settings Container,CN=System,DC=woshub,DC=com).

Does fine-grained password Policy override domain policy

You can also get the current PSO policy for a user using the dsget tool:

dsget user "CN=Max,OU=Admins,DC=woshub,DC=com" –effectivepso

Does fine-grained password Policy override domain policy

Configuring Fine-Grained Password Policies (PSOs) Using PowerShell

You can manage PSO password policies using PowerShell (the Active Directory PowerShell module must be installed on your computer).

The New-ADFineGrainedPasswordPolicy cmdlet is used to create a new PSO:

New-ADFineGrainedPasswordPolicy -Name “Admin PSO Policy” -Precedence 10 -ComplexityEnabled $true -Description “Domain password policy for admins”-DisplayName “Admin PSO Policy” -LockoutDuration “0.20:00:00” -LockoutObservationWindow “0.00:30:00” -LockoutThreshold 6 -MaxPasswordAge “12.00:00:00” -MinPasswordAge “1.00:00:00” -MinPasswordLength 8 -PasswordHistoryCount 12 -ReversibleEncryptionEnabled $false

Now you can assign a password policy to a user group:

Add-ADFineGrainedPasswordPolicySubject “Admin PSO Policy” -Subjects “Domain Admins”

Does fine-grained password Policy override domain policy

To change the PSO policy settings:

Set-ADFineGrainedPasswordPolicy "Admin PSO Policy" -PasswordHistoryCount:"12"

List all FGPP policies in a domain:

Get-ADFineGrainedPasswordPolicy -Filter *

Does fine-grained password Policy override domain policy

Use the Get-ADUserResultantPasswordPolicy command to get the resulting password policy that applies to a specific user.

Get-ADUserResultantPasswordPolicy -Identity jsmith

Does fine-grained password Policy override domain policy

The name of the PSO that applies to the user is specified in the Name field.

You can display the list of PSO policies assigned to an Active Directory group using the Get-ADGroup cmdlet:

Get-ADGroup "Domain Admins" -properties * | Select-Object msDS-PSOApplied

To show the default password policy settings from the Default Domain Policy GPO, run the command:

Get-ADDefaultDomainPasswordPolicy

What is precedence in fine

Fine-Grained Password Policy Implementation Best Practices Each PSO must have a precedence index number. PSOs with a higher precedence index, like 1, take priority over those with a lower precedence index, like 10. PSOs can be applied to users and groups. When possible, apply PSOs to groups.

Does AD GPO override local policy?

Applying either a local or site policy that includes an object (user or computer) within our domain will apply those settings first. If we set a domain-wide policy that has any portion of either a local or site GPO, our domain GPO will overwrite either of the previous settings.

Is it possible to apply fine

Fine-grained password policy cannot be applied to an organizational unit (OU) directly. To apply fine-grained password policy to users of an OU, you can use a shadow group. A shadow group is a global security group that is logically mapped to an OU to enforce a fine-grained password policy.

What is a prerequisite for implementing fine

A domain functional level of Windows Server 2008 or higher is required to enable fine-grained password policies. Tải thêm tài liệu liên quan đến nội dung bài viết Does fine-grained password Policy override domain policy

Review Does fine-grained password Policy override domain policy ?

Bạn vừa đọc Post Với Một số hướng dẫn một cách rõ ràng hơn về Video Does fine-grained password Policy override domain policy tiên tiến nhất

Share Link Cập nhật Does fine-grained password Policy override domain policy miễn phí

Pro đang tìm một số trong những ShareLink Tải Does fine-grained password Policy override domain policy miễn phí.

Hỏi đáp thắc mắc về Does fine-grained password Policy override domain policy

Nếu sau khi đọc nội dung bài viết Does fine-grained password Policy override domain policy vẫn chưa hiểu thì hoàn toàn có thể lại Comment ở cuối bài để Tác giả lý giải và hướng dẫn lại nha #finegrained #password #Policy #override #domain #policy