Logon password script

T

Tony

I need to find a script that will prompt the administrator
of for a new password the first time he logs into the
computer. I am building an unattended installation of w2k
and need to distribute it with a generic password which
must be changed the first time the system is logged into.

Thanks

Tony
 
M

Marty List

Tony said:
I need to find a script that will prompt the administrator
of for a new password the first time he logs into the
computer. I am building an unattended installation of w2k
and need to distribute it with a generic password which
must be changed the first time the system is logged into.

Thanks

Tony


Are you sure you need to script this? If you're talking about the local
Administrator account, there is already built-in support for this password
change prompt, whether you're using unattend.txt or sysprep.inf.
 
M

Mark V

In said:
I need to find a script that will prompt the administrator
of for a new password the first time he logs into the
computer. I am building an unattended installation of w2k
and need to distribute it with a generic password which
must be changed the first time the system is logged into.

There may be a way via various unattended installation schemes that
could help. I am unfamiliar with any that might exist for your
purpose.

I take it would wish to set the system to prompt (force "change
password"). Sounds good, but I do not have an immediate solution.

However, since the user will be presumably both Admin-level (locally
anyway) and competent, why not just include a batch file in the
...\All Users\...\Startup\ folder that displays the reminder to
change it immediately and logoff, and then deletes itself.
Sufficient?

I will watch here for the quintessential solution that (hopefully)
someone will provide.

Perhaps "setup" and "installation" groups are a better source for the
answer you are seeking. Just a thought.
 
M

Matt Hickman

Tony said:
I need to find a script that will prompt the administrator
of for a new password the first time he logs into the
computer. I am building an unattended installation of w2k
and need to distribute it with a generic password which
must be changed the first time the system is logged into.

You can use the following command:

net user administrator *

from your script. This will prompt for a new local administrator
password in a command window, but not force the change.

--
Matt Hickman
There was a short wait while while the analysts finished programming
and let the "brain" have it--then the remote printer in front of me
chattered briefly and stopped.
Robert A. Heinlein (1907 - 1988)
"If This Goes On--" ASF c.1940
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top