A service application that changes the admin password regularly

  • Thread starter Thread starter BB
  • Start date Start date
B

BB

Hello;
Does any one know if there is a software that if I install it as a service,
it will change the administrator password everyday for example at 00:00 with
a generated password using the computer name and the date and maybe other
parameters;
I've tried to program one using delphi, too hard for me
with VB, it is harder.
 
Changing the password is easiest accomplished with:

net user Administrator {new password}

Note that this must be run under an account which has Admin or System
priveleges.

To do this programmatically, take a look at AutoIt.
http://autoitscript.com
 
I'm not an expert at this, but here are 2 lines that a consultant provided as
part of a script that generates a unique name for a log file:

set unique=%date:~,-8%-%date:~+3,-5%-%date:~+6%
set passwd=%unique%-%computername%

See what value you get for %unique% each time you run it.

Anteaus said:
Changing the password is easiest accomplished with:

net user Administrator {new password}

Note that this must be run under an account which has Admin or System
priveleges.

To do this programmatically, take a look at AutoIt.
http://autoitscript.com

Hello;
Does any one know if there is a software that if I install it as a service,
it will change the administrator password everyday for example at 00:00 with
a generated password using the computer name and the date and maybe other
parameters;
I've tried to program one using delphi, too hard for me
with VB, it is harder.
 
Back
Top