Hi, We want to check for hardening and one of our Windows hardening rules is to rename the Administrator account and create a decoy Administrator account, not part of any group and disabled. One of the things we want to check is to see if the Administrator account is enabled on Windows machines.
Is there a check of simple script how I can establish this on the Windows machines? Regards, Michiel