How I tell cmd.exe that both words are a single user name?
the user name is two words (e.g. Engr. Saud)
Use double quotes "
around the name.
To remove the password, use the following command:
net user "Engr. Saud" ""
Notes:
- The
net
command must be run from acmd
shell that is "Run as Administrator".
Further Reading
- An A-Z Index of the Windows CMD command line - An excellent reference for all things Windows cmd line related.
- net - The NET Command is used to manage network resources.
- syntax - Escape Characters, Delimiters and Quotes.