- Create new GPO
- Navigate to:
- Computer Configuration” -> “Policies” -> “Windows Settings” -> “Security Settings” -> “Account Policies” -> “Password Policy.”
- Change the “Maximum password age” to 0, this will immediately expire all user passwords
- This method will log out all users who are currently logged.