Skip to main content

Force password reset?


How difficult would it be to create a worklet to force a password reset on Windows 10 Pro PCs?

This topic has been closed for comments

7 replies

Nic-Automox
  • Former Automox Employee
  • 832 replies
  • August 20, 2019

That should be doable as long as there’s a powershell command or registry setting we can set. I’ll do some research and see what I find out. If anyone else knows the answer feel free to point me in the right direction!


Nic-Automox
  • Former Automox Employee
  • 832 replies
  • August 20, 2019

From some initial poking around it looks like it’s possible:



I’m assuming your use case is for local user accounts that aren’t in AD?


  • Author
  • Novice
  • 9 replies
  • August 20, 2019

Yes, we are running without AD or an AD domain.

I’ve looked into Jumpstart for managing our PCs, but it seems like so much can be done with Worklets that we can get along with them for the few administrative things we want to do (enforce minimum password security, locked screen savers, etc.)


  • Author
  • Novice
  • 9 replies
  • August 20, 2019

^JumpCloud


Nic-Automox
  • Former Automox Employee
  • 832 replies
  • August 20, 2019

Sounds good. We’re working on creating a bunch of new Worklets so I’ll add this to our list to work on for you.


  • Author
  • Novice
  • 9 replies
  • August 20, 2019

Thanks!


Nic-Automox
  • Former Automox Employee
  • 832 replies
  • September 12, 2019

Sorry for the delay - I finally got some time to work on this and wrote up a worklet here:
 

 

 


This will force local users (non-AD) to change their password the next time they login.
Note that this script will apply this setting to all local users on the Windows machine. It assumes they have the permissions to change their own passwords, but it does make sure that the passwords aren’t set to never expire. If the password is set to never expire then the command to force a password change won’t succeed.
Evaluation code:
Exit 1

The evaluation code just returns an exit code of 1 to make…

 

 

 

 

 

Let me know if that works for you!

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings