AnswerFileOptionsAdministratorPassword Property

Gets or sets the password for the local Administrator account.

Definition

Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.2.0+756b323e4a254fe5c3913a680ae57cc6848b892d
C#
public string? AdministratorPassword { get; set; }

Property Value

String
The password for the administrator account, or to leave the account disabled. The default value is .

Remarks

This password will be applied to the built-in local Administrator account. If this property is , this account is disabled by default. If this property is set to an empty string, the account will be enabled with no password.

  Security Note

The password is stored using base64 encoding in the answer file; it is not encrypted. Ensure that answer files containing sensitive information are stored securely and are not exposed to unauthorized parties.

See Also