Notice that in Active Directory Users and Computers (ADUC) when setting the expiration of a user account, there’s only a…
Tag: ActiveDirectory
How to View Group Policy Applied to You
When you try to make some system changes on your computer, you may get the following or similar error message…
Join Computer to Domain with Desired Computer Name and OU
Step #1: This is the simplest method to add a computer to a domain. In this example you will be…
Domain Controller Role Queries and Synchronization Relationship Queries
netdom query fsmo 查询五大角色 dsquery server 显示所有域控 查看架构主机角色 dsquery.exe server -hasfsmo schema 查看域命名主机角色 dsquery.exe server -hasfsmo name 查看RID 主机角色 dsquery.exe…
Get users who haven’t logged in longer than X days (LastLogonDate)
This script might be useful in getting users that haven’t logged for a longer amount of time. It is checking…