To run any program as administrator using command prompt , you can use following -- runas /user: Administrator notepad This will ask you password of Administrator and run your given program as administrator. This is same as sudo command of Linux/ubuntu