lundi 20 avril 2015

Logon failure when created password for admin user account

I've got a script to create a Test account on company PCs but the password I want to set has characters ! ^ @ % contained in it.

Using command line script (net user)

net user 

net user "Test" "R!u^0y@%" /add
net localgroup "Administrators" "Testuser" /add

After running the script, it doesnt let me log into that account, can someone please let me know way to force it to recognise those characters in the password or another way of adding admin account via script to multiple pcs?

Aucun commentaire:

Enregistrer un commentaire