This question already has an answer here:

In order to increase security while browsing, I would like to launch the browser as a separate user. Several people suggested the runas command, but it lacks the ability on purpose to pass the password in the command line. savecred provides the option to save it for business editions, but not everyone in my family has one. Entering the password every time is not an option - people won't use it then.

  • Can I achieve running the browser as another, password protected user without entering the password each time with a stock Windows 7 Home?

  • If not, which open source or freeware program does provide this functionality?

marked as duplicate by Daniel Beck May 2 '13 at 15:33

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • How exactly does this increase security? – Ramhound Jan 28 '13 at 14:01
  • @Ramhound I presume Stephan intends to run the browser as a lower-permissioned user, e.g., as a guest rather than as a member of the administrators group. – Nicole Hamilton Jan 28 '13 at 16:55
  • exactly. BSI (German department of security in information system) 'suggests' it heise.de/security/meldung/… – Stefan K. Jan 28 '13 at 16:57
  • @NicoleHamilton - IE can be run by a normal user level account. I don't see how running say IE as another user achieves anything. Any user level exploit would still result in an infection. – Ramhound Jan 28 '13 at 16:58
  • @Ramhound The whole objective of any hacker is to get his code to run on your system by way of an exploit. Assuming he's successful, it still matters whether his code runs as guest versus admin. – Nicole Hamilton Jan 28 '13 at 17:46

It's not free, but I include an su (superuser) utility with Hamilton C shell that will do what you want. Full disclosure: I'm the author.


create a file called program.bat
now write following in this file and adapt for your case

cmd /C echo YOUR_PASS | runas /user:USERNAME \"C:\Program Files\program.exe\"
  • If it worked, please do not forget to accept this answer as the right answer by checking the ✓ on the left of this. – Harrys Kavan Jan 28 '13 at 13:50
  • does not work. See: pastebin.com/xyLwWf5C – Stefan K. Jan 28 '13 at 16:49

Not the answer you're looking for? Browse other questions tagged or ask your own question.