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.

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?

share|improve this question

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
show 4 more comments

2 Answers

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.

share|improve this answer
    
yeah, 89$ is not free - especially considering it's a simple call of one function: blogs.msdn.com/b/oldnewthing/archive/2004/11/29/271551.aspx –  Stefan K. Jan 28 '13 at 17:10
2  
It's not that simple. My su took me over 4000 lines of C. But I appreciate that if you need something free, my stuff is not. Sorry I couldn't be more helpful. –  Nicole Hamilton Jan 28 '13 at 17:14
add comment

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\"
share|improve this answer
    
If it worked, please do not forget to accept this answer as the right answer by checking the ✓ on the left of this. –  derty Jan 28 '13 at 13:50
    
does not work. See: pastebin.com/xyLwWf5C –  Stefan K. Jan 28 '13 at 16:49
add comment

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