Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Say I am Administrator in a cmd.

Now I want to run a process as a non Administrator Account without entering the password of the lower user.

>echo %USERNAME%
Administrator
>runas /user:localuser cmd
Password for localuser:   <-- SKIP THIS PASSWORD

I know that there is the option /savecred, but this forces me to enter the password once. I dont even want to enter the password a single time.

share|improve this question
    
"I dont even want to enter the password a single time." You will have to. At least in the command line (or the bat file). –  Werner Henze May 15 '13 at 7:13
    
in linux one can use su there you haven't to enter the password, I search something similar for windows. –  Eun May 15 '13 at 7:35
    
Take a look at stackoverflow.com/questions/137254/… –  Werner Henze May 15 '13 at 8:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.