?
Solved

Launching "Change password" - window from VB script

Posted on 2007-08-02
3
Medium Priority
?
238 Views
Last Modified: 2010-04-16
Hi,

I'm working on my company's loginscript  and in some instances with VPN remote users we need to have the user change their password if its expired before the script proceeds.

How is it possible to show the "change password" prompt without the user pressing ctrl-alt-del and choosing the change password window? I'd hate to have the users greeted with a cmd-prompt where they would enter the new password so I'd like them to see the 'official' windows change password prompt.

Preferrably the solution would be a VB script command(s).

Thank you for your interest.

- Luke Oliv
0
Comment
Question by:LukeOliv
  • 2
3 Comments
 
LVL 65

Expert Comment

by:RobSampson
ID: 19615861
It does not appear to be possible to do this.  The user must manually press CTRL + ALT + DELETE to invoke the "change password" dialog.  This is a security measure of Windows itself that it must be done physically via the keyboard.

So, if you know that the password has expired, doesn't that ask them to change it when they log in anyway?  Or, if you know the password has expired, you may only be able to prompt them to press CTRL + ALT + DELETE and click Change Password.

Regards,

Rob.
0
 

Author Comment

by:LukeOliv
ID: 19615893
Thanks Rob,

The way the script works with VPN is quite special and Windows will not bring up the password expired prompt.

A prompt asking the user to perform the operation might be a possibility but rather would have the "change password" prompt to pop up.

- Luke
0
 
LVL 65

Accepted Solution

by:
RobSampson earned 1000 total points
ID: 19620767
I have also read though, that to change the password via any other means that a user initiated sequence, must be done via a domain administrator......

What happens if the password *has* expired?  They just can't log in, and they have no idea why?  I take it that they log into Windows with a local user account, and then they store their credentials in a VPN connection string of some sort.

Maybe you need to monitor the expiration date as they log in, and then via a log in script, continue to remind them that their password is going to expire soon.

Regards,

Rob.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question