For quite a long time we have been using the PassFiltEx library for one of our customers to prevent users from setting weak passwords (the library checks passwords against blacklist dictionaries). Recently we needed to update the library and encountered a problem: on one of the domain controllers, after updating the library, the system started…
How to Check Password Expiry Date in Active Directory
In this note, we’ll look at the command to check the password expiry date in Active Directory (AD). PowerShell Command to Check Password Expiry Date To find out the password expiry date, use the following PowerShell command: Replace username with the desired user name. Why net user Might Show Incorrect Date Many are used to…
Audit and Password Cracking in Active Directory: Steps and Tools
Hello! Today, we will discuss an important topic – password security checking in Active Directory. Why is this necessary? Because secure passwords are the key to your organization’s security. In this article, you will learn how administrators and information security specialists can ensure the effectiveness of password policies and detect weak passwords. Step 1: Prerequisites:…
How to Enable Automatic Login on a Domain Computer: A Step-by-Step Guide
In organizations that utilize computers for purposes such as video surveillance, monitoring, or kiosks, having an automatic login system in place can be highly convenient. I’ve previously discussed how to enable automatic login on a home computer, but the process differs for domain-connected machines. However, it’s important to note a security consideration: the user’s password…
Searching where a user is logged on [PowerShell]
Today I want to show you a simple PowerShell script, that can be used to find on which domain machines a user is logged on currently. Basicaly the script is working like the pslogedon utility, but does not require the remote registry to be enabled on target machines.As usual I’ve uploaded the script to GitHub….
Control AD CS certificates from PowerShell
Today I want to show you several examples of controlling certificates that were published in Active Directory Ceritfication Services, with the help of simple PowerShell commands, on the example of 3 real cases. First of all, you have to have the PSPKI module. You can install it with the command: Install-Module -Name PSPKI Just in…
Adding an Ubuntu computer to a Windows domain
Introduction Often there is a need to enter a Linux machine into an existing Windows domain. For example, to make a file server using Samba. To do this is very simple, for this you will need a Kerberos, Samba, and Winbind client. Before installation it is desirable to update: sudo aptitude update sudo aptitude upgrade…





![Ищем, где залогинен пользователь [powershell]](https://www.mytechnote.ru/wp-content/uploads/2023/01/permon-powershell-logo_0.png)
