Sysprep.ini

  • Thread starter Thread starter Wayne
  • Start date Start date
W

Wayne

Trying to figure out how to grey out the local admin
password in sysprep.ini so when it reboots no one can
change the password during setup.
 
Wayne,

What does your sysprep.inf look like currently? Do you want to leave the
admin password to what it is set prior to running setup or do you want to
specify a password in the sysprep.inf? Most will make the local
administrator password blank, then in your sysprep.inf specify the
administrator password you want. Here is some additional information on
that process

Setting the Administrator PasswordIn the [GuiUnattended] section of the
Unattend.txt file, you can set the Administrator password by using the
AdminPassword entry:

AdminPassword
Value: "password" | *
The password may contain as many as 127 characters. Passwords are
case-sensitive and must be enclosed in quotes. Use Setup Manager to encrypt
the password. If the value is *, Setup sets the Administrator password as
blank (or NULL). It is recommended that you make the Administrator password
blank for computers that are distributed to end users.

Important

Using a common, non-blank administrator password for all computers provided
to end users may present a security breach. Before you run Sysprep, you
could use an automation process to set the Administrator password to blank.
End users can then specify their own administrator passwords.
When you set the Administrator password, remember that:

If you specify a password by using AdminPassword, that password is used
when you automatically log on. After the installation finishes, the
password is deleted from the copy of the answer file left on the computer.
If AdminPassword = * (is blank) and AutoLogon = Yes, the computer logs on
only once, regardless of the value given for AutoLogonCount. However, if
AdminPassword = password, the computer logs on repeatedly and the non-blank
password is saved in the registry.
The computer automatically logs on the number of times specified for
AutoLogonCount only when AdminPassword = password.
If you use Setup Manager to encrypt the password, AutoLogon does not work.
Enclose all passwords in quotation marks to ensure that any special
characters are not processed. For example, the # character is processed as
a comment token during text-mode Setup.


Scott McArthur[MS]
Microsoft Windows Server Setup Support
This posting is provided "AS IS" with no warranties, and confers no rights
--------------------
| Content-Class: urn:content-classes:message
| From: "Wayne" <[email protected]>
| Sender: "Wayne" <[email protected]>
| Subject: Sysprep.ini
| Date: Wed, 8 Oct 2003 07:34:51 -0700
| Lines: 3
| Message-ID: <[email protected]>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="iso-8859-1"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
| Thread-Index: AcONqVUYpkp1MXPWSvW0WcDZHcVFRg==
| Newsgroups: microsoft.public.windowsxp.setup_deployment
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.windowsxp.setup_deployment:87158
| NNTP-Posting-Host: TK2MSFTNGXA08 10.40.1.160
| X-Tomcat-NG: microsoft.public.windowsxp.setup_deployment
|
| Trying to figure out how to grey out the local admin
| password in sysprep.ini so when it reboots no one can
| change the password during setup.
|
 
Scott

According to your reply, you mention in order the
AUTOLOGON=YES,AutoLogonCount=1 to work, the EncryptedAdminPassword has
to set to NO? and AdminPassword="XXXXXXX" must be clear text.

Is it true?
 
Back
Top