check password policy on win 10查看密码策略

How To Configure a Domain Password Policy

What is The Default Domain Password Policy?

By default, Active Directory is configured with a default domain password policy. This policy defines the password requirements for Active Directory user accounts such as password length, age and so on. 

This password policy is configured by group policy and linked to the root of the domain. To view the password policy follow these steps: 

1. Open the group policy management console 

2.  Expand Domains, your domain, then group policy objects

 

3. Right click the default domain policy and click edit

4. Now navigate to Computer Configuration\Policies\Windows Settings\Security Settings\Account Policies\Password Policy

 

win10上搜索框输入 edit group policy

 

How can I find the windows domain password policy?  from ChatGPT

You can find the password policy for a Windows domain by using the Group Policy Editor. Here are the steps to access it:

  1. Open the Run dialog box by pressing the Windows + R keys on your keyboard.

  2. Type gpedit.msc in the Run dialog box and press the Enter key.

  3. In the Group Policy Editor, navigate to Computer Configuration > Windows Settings > Security Settings > Account Policies > Password Policy.

  4. Here, you can see various password policy settings, such as password length, complexity requirements, and password history.

Note that this method will only work if you have administrative privileges on the computer and if the computer is joined to a Windows domain. If you're using a standalone computer or a computer that's part of a workgroup, you can't access the Group Policy Editor.

 
 

What's the recommended special character in password?

The recommended special characters to use in passwords are:

  • ! (exclamation mark)
  • @ (at symbol)
  • # (hash symbol)
  • $ (dollar symbol)
  • % (percent symbol)
  • ^ (caret symbol)
  • & (ampersand symbol)
  • * (asterisk symbol)
  • ( (open parenthesis)
  • ) (close parenthesis)

Using a combination of these special characters, along with upper and lowercase letters and numbers, can help to create a strong and secure password. It's important to note that not all systems may allow the use of all of these characters in passwords, so it's always a good idea to check the specific requirements of the system you are using.

 

but at symbol could not be read correctly in powershell script?

The "@" symbol can indeed cause issues in PowerShell scripts, as it is used as an escape character in strings. To include the "@" symbol in a string, you can either escape it by using the backtick (`) character, or you can enclose the string in single quotes instead of double quotes.

For example:

$username = "user@example.com"
$username = "user`@example.com"
$username = 'user@example.com'

All of these three strings will result in the same value of $username.

 

 

 
 
 
 
 

 

作者:Chuck Lu    GitHub    
posted @   ChuckLu  阅读(305)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
历史上的今天:
2020-08-15 夜神模拟器 微信无法搜索公众号和小程序
2019-08-15 Resharper错误提示方法的命名
2017-08-15 网站设置404错误页
2017-08-15 List of content management systems
2017-08-15 css footer not displaying at the bottom of the page
2017-08-15 强制刷新css
点击右上角即可分享
微信分享提示