How to Export a Computer List from Active Directory

In this blog will see how to export a computers list from Active Directory by using Powershell script into various formats, including csv and Excel. Open the Powershell ISE → Run the below script, adjust the path for the export: Get-ADComputer -Filter * -Property * | Select-Object Name,OperatingSystem,OperatingSystemVersion,ipv4Address | Export-CSV ADcomputerslist.csv -NoTypeInformation -Encoding UTF8 Using … Read more

How to Trace the Source of a Bad Password and Account Lockout in AD

In this blog, we will see how to trace the source of a bad password and account lockout in Active Directory. Step 1: Download Account Lockout Status tool from Microsoft from You can download from here: https://www.microsoft.com/en-gb/download/details.aspx?id=15201 Step 2: Now Run LockoutStatus.exe For this you need to run the .msi to extract the files and … Read more

Common Causes for Account Lockouts – Resolution and Troubleshooting Steps

In this article, we will discuss about the Common Causes for Account Lockouts and troubleshooting steps and resolutions for account lockouts. In order to avoid account lockouts, you need to check each computer on which a lockout occurred for the following reasons: Programs: Most of the programs cache credentials or keep active threads that retain … Read more

How to Troubleshoot Account Lockout in Active Directory

Here are the steps to troubleshoot  account lockout issue in the Active Directory using Microsoft Account Lockout and Management Tools. Microsoft Account Lockout and Management Tools: Microsoft “Account Lockout and Management Tools” are included with AlTools.exe that assist you in managing accounts and in troubleshooting account lockouts. http://www.microsoft.com/en-us/download/details.aspx?id=18465 Also, you can enable auditing at the domain level … Read more

Powershell to Find Inactive AD Users and Computers Accounts

In this blog we see how to find disable and inactive Active Directory user and computer accounts and move them to different OU. The LastLogon and LastLogonTimeStamp attributes can help you to decide if an Active Directory user account or computer account is active or inactive. Powershell to find inactive accounts Active Directory for 90 days … Read more

How to force all users to change their Active Directory password at next logon

You need to open Active Directory Users and Computers MMC snap-in (DSA.MSC) by selecting Start -> Administrative Tools -> Active Directory Users and Computers, and then locate your desired AD user. Right-click on the account and select Properties. To force the user account to change the password, just tick the “User must change password at next logon” … Read more

Script Password Expiry Email Notification

Sending custom “password is about to expire” notifications with PowerShell Set yourself in advance how many days users need to be reminded of password expiry see how to notify users via email when their passwords expire – Automate Password Change Notification Through Email

Automate Password Change Notification Through Email

In this blog, we see how to notify users via email when their password is about to expire. Sometimes due to security purposes, you need to notify users when their passwords expire and change it. By reminding your users in advance to change their passwords through email, you can also eliminate several problems due to an expired password. … Read more