creating local user account
Trying to create local admin user accounts on windows 10 pcs. Have been trying to run the bat script referenced in previous posts.
net user | find /i "admin" || net user admin Password /add
wmic useraccount where "name=admin" set passwordexpires=TRUE
net localgroup Administrators admin /add
I have tried running this with the local system account as an online shell script and online Kscript. According to the script log, it will succeed but the account is never created. Any ideas?