Re: Invoking change password dialog box via scripting




I've done a few hours of research and so far I can't find any method that
would let me script the trigger for executing the change password dialog
box. Using the rundll32 doesn't work on XP and on W2k it brings up the
change password control panel but not the physical change password event.
Also that dialog box still requires the user to use the ctrl-alt-del for
domain accounts.

I looked up the Sendkeys method but it doesn't allow the ctrl-alt-del
combination. Anyone else have any ideas that can be used via VBscript ?
I'm trying to stay away from compiling something.

Thanks,


"Michael Harris (MVP)" <mikhar at mvps dot org> wrote in message
news:%23rAYvz3eFHA.2420@xxxxxxxxxxxxxxxxxxxxxxx
> mr_unreliable wrote:
>> hi Jeffrey,
>>
>> Is this what you were looking for:
>>
>> (shell.run) "rundll32.exe shell32.dll,Control_RunDLL password.cpl"
>
> FWIW, this doesn't work on XP pro sp2, but then it doesn't visibly fail
> either. You can see rundll32.exe running in task manager for a few
> seconds, then it silently ends.
>
> --
> Michael Harris
> Microsoft MVP Scripting
>
>
>
>


.



Relevant Pages

  • Re: Password complexity..domain policy
    ... The script that does that forces user to change password on next login is ... Schedule this script as a task to run after few days (under account that has ... >>> so when would this policy apply to existing users?? ...
    (microsoft.public.win2000.active_directory)
  • Being *Smart* with the shadow file ???
    ... I'm trying to write a script to calculate that a user's password is ... `passwd -f $userid` so that when s/he logs in the next day s/he will be ... not even see the $>prompt to change password. ... how to calculate using UNIX epoch would be the way to go... ...
    (comp.unix.solaris)
  • Being *Smart* with the shadow file ???
    ... I'm trying to write a script to calculate that a user's password is ... `passwd -f $userid` so that when s/he logs in the next day s/he will be ... not even see the $>prompt to change password. ... how to calculate using UNIX epoch would be the way to go... ...
    (comp.unix.shell)
  • Re: Form Submit Button Question
    ... Javascript Onclick event on each button to set form.action. ... When I hit ENTER on the computer keyboard, ... Firefox choose the "Change Password" button (I assume because it is the ... The script uses the $_POSTvalue to determine what to do as ...
    (comp.lang.php)
  • Re: enabling the User Can Not Change Password option
    ... script so I would keep his script the way it is. ... > Does anyone know how to enable the 'User Can Not Change Password' option ... > I looked at the "Disable the User Cannot Change Password Option" at ... account password or 'User Must Change password at next logon'. ...
    (microsoft.public.windows.server.scripting)