You cannot add a username or password directly to the mstsc command. However, you can store the credentials in a generic key against the machine you want to connect to using these 2 commands: cmdkey /generic:"" /user:"" /pass:"" mstsc /v:""