#1 30 Sep 2010 20:06

Haroon
Member
Registered: 19 Jan 2010
Posts: 26

Password reset

I wrote a script to have a user change their own password when they are not logged into their own account.

set /p username= Enter Username:
runas /noprofile /user:%username% "net user %username% *"

this works great. however, if the users account is marked for the user to change their password at next login, RUNAS doesnt  launch after the user has authenticated. this is the specific reason why i need this script.
so when their accounts are marked to change their passwords, they have the ability to do so without having to log into their own accounts.

any ideas?

Offline

#2 28 Oct 2016 11:06

lionspurs
New Member
Registered: 28 Oct 2016
Posts: 2

Re: Password reset

you should set the script running automatically during startup.

Offline

Board footer

Powered by FluxBB