Link to home
Start Free TrialLog in
Avatar of lpenrod
lpenrod

asked on

Invoke Windows GUI "Change Password" dialog box from command line

How can I invoke Windows GUI "Change Password" dialog box from the command line?
Avatar of sirbounty
sirbounty
Flag of United States of America image

Well, if the GUI part is not completely necessary, easiest solution would be something like:

@echo off
set /p pword=Enter new password:
net user %username% %pword%
Depending on your operating system, if you have a password applet in control panel, you may be able to perform a

 Start password.cpl
Avatar of lpenrod
lpenrod

ASKER

I am using kixtart to write a script.  I have a GUI pop-up that tells them their password is about to expire.  When they click OK on the GUI, I want it next to take them straight to the password change dialog.  I need to know how to invoke that dialog from the command line.
Um, why would you not allow the OS to do this?
What operating system are you using?  This should appear by default...
ASKER CERTIFIED SOLUTION
Avatar of sirbounty
sirbounty
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial