I am trying to reset the password of my domain controller using custom script extension.
net user 'username@domain.com' 'xX@123456'
Script is deployed successfully but I am not able to login using the new password.
In the details status, I see following things -
[
{
"code": "ComponentStatus/StdOut/succeeded",
"level": "Info",
"displayStatus": "Provisioning succeeded",
"message": ""
},
{
"code": "ComponentStatus/StdErr/succeeded",
"level": "Info",
"displayStatus": "Provisioning succeeded",
"message": "The syntax of this command is:\\n\\nNET USER\\n[username [password | *] [options]] [/DOMAIN]\\n username {password | *} /ADD [options] [/DOMAIN]\\n username [/DELETE] [/DOMAIN]\\n username [/TIMES:{times | ALL}]\\n username [/ACTIVE: {YES | NO}]\\n\\nThere is no such global user or group: username@domain.com.\\n\\nMore help is available by typing NET HELPMSG 3783.\\n\\nThere is no such global user or group: username@domain.com.\\n\\nMore help is available by typing NET HELPMSG 3783.\\n"
}
]
I am not sure what following message means -
The syntax of this command is:\n\nNET USER\n[username [password | *] [options]] [/DOMAIN]\n username {password | *} /ADD [options] [/DOMAIN]\n username [/DELETE] [/DOMAIN]\n
username [/TIMES:{times | ALL}]\n username [/ACTIVE: {YES | NO}]\n\nThere is no such global user or group: username@domain.com.\n\nMore help is available by typing NET HELPMSG 3783.\n\nThere is no such global user or group: username@domain.com.\n\nMore help is available by typing NET HELPMSG 3783.\n