Run as a different user for cmd

Hi all,

I want to run cmd as a different user.

In manually we have to right click on the icon.Then shift + right click on the command prompt then we can select run as different user.after this we can put the username and password.

Thanks,
Om Prasad

Hi Omprasad,

You can run cmd by any user and run the command to change the user.

*runas /user: press enter.

this will prompt you for that user password.

2 Likes

Hi @Ankit074

Thanks for your reply.sorry for the late reply.

If i want log in as for “abcd” user then what is the command for this.please help me.

Thanks & Regards,
Om Prasad

Hi @omprasad,

Use runas /abcd and enter.