Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.