I'm trying to change the built-in Administrator account in Windows 2016 and 2019 by editing 'Commands to run once'. I use the following but it does nothing: wmic useraccount where name='Administrator' call rename name='LocalAdmin'
Anyone have any logic they can pass along please?
Were on Vsphere 6.7
this is answer:
cmd /c wmic useraccount where name='Administrator' rename LocalAdmin
this is answer:
cmd /c wmic useraccount where name='Administrator' rename LocalAdmin