Rename the Administrator
and Guest
accounts
To help protect your infrastructure, rename the Administrator
and
Guest
accounts.
-
To rename the local
Administrator
account touser_1
, use the following configuration:# control-repo/data/nodes/winserv2019.contoso.com.yaml --- cem_windows::config: control_configs: c2_3_1_5: value: 'user_1'
Restriction: If you do not specify a name for theAdministrator
account, the account is renamed tomagic
by default. -
To rename the local
Guest
account touser_2
, use the following configuration:# control-repo/data/nodes/winserv2019.contoso.com.yaml --- cem_windows::config: control_configs: c2_3_1_6: value: 'user_2'
Restriction: If you do not specify a name for theGuest
account, the account is renamed topumpkin
by default.