Last updated
The Enable Administrator account step will ensure that the local Administrator account is enabled and configured with a password (useful for troubleshooting purposes).

The value of the AdminPassword task sequence variable will be used as the password. If this variable is not set, a default value will be retrieved.
As a best practice, Windows LAPS or similar tools should be used to reset the local Administrator account to a uniqe value that can be archived in case it is needed at a later time.
To set the default password, you'll leverage the variable AdminPassword which must be set before the "Enable Administrator account". You can use PowerShell to set a variable, or the built in step definition Set variable. Please note, when you set a variable, it does get logged to the DeployR log. As mentioned above, ideally you'll use LAPS to manage and secure the local admin account post OSD.
Last updated

