Set_LocalAdminAccount

Now improved with the option to use a PassPhrase or 24 character random string!! Create your local admin account with a unique password, and store the password in a UDF.

Set_LocalAdminAccount

This component will check for the existance of your named local admin account and create it if nesseccary. If the account already exists, it will check the age of the password and reset it if older than specified in the component. The checkbox to disable the built-in Administrator account will do just that.

The component first checks if you selected PassPhrase or RandomString for the password. If you selected PassPhrase, it will install the PassPhraser powershell module. The component then checks if you checked the box to disable the build-in administrator account. If you checked the box, it will disable the account if not already disabled. The component then checks if an account exists with a name matching the LocalAdminUsername field. If not it creates it and sets the password. If the account is present, it checks the age of the password. If the age is more than the MaxPasswordAge, or if you checked the ForcePasswordReset checkbox, the component changes the accounts password. The password is then saved to the UDF field specified in the component.

Level
Name
Value
Notes
Component
DisableAdministrator
Should the component disable the built in administrator account?
Component
LocalAdminUsername
The username you want to use for your local admin account
Component
MaxPasswordAge
90
The maimum allowed password age in days
Component
ForcePasswordReset
If checked, will ignore MaxPasswordAge and reset the password no matter how old it is
Component
UDFNumber
3
Which UDF to write the password to
Component
PasswordType
RandomString
Choose between a Random String or a PassPhrase.

If this component downloads any external files other then grabbing the script from our repository, they will be listed here so you can do your own due diligence if needed.

Filename
URL
Path
Notes
powrshell module – PassPhraser
https://passphraser.readthedocs.io
Powershell Module to generate a passphrase. Is only installed if you selected PassPhrase in the component

9/15/2022 – Testing

10/1/2022 – Released

4/25/2023 – Code Signed

GET IN TOUCH