You can't and shouldn´t due to security reasons. Just use runas as follows and insert your password inmediately after being requested. runas /profile /user:Admin cmd