adaudit icon indicating copy to clipboard operation
adaudit copied to clipboard

Prepare for other languages

Open Cool34000 opened this issue 3 years ago • 0 comments

Hi,

There are 2 checks with the Administrator name hardcoded (check if the account has been renamed/replaced) This name depends on your OS language so we can't use the SID to compute it.

To fix the hardcoded checks and make it more reliable, I've added a array to store the default Administrator name for different languages (far from being complete). $AdministratorTranslation = @("Administrator","Administrateur","Administrador")

Cool34000 avatar Jan 28 '22 12:01 Cool34000