[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How to use ShellRunAs in Startup Folder

Posted on 2009-03-30
4
Medium Priority
?
2,348 Views
Last Modified: 2013-12-04
Hello All-

I administer a Domain where I am the only Vista user.  I use the ShellRunAs app and love it!  It's exactly what I needed.  I do restart my machine daily and would like for a couple of programs to run automatically with different credentials.  Currently, once I get into Windows (Vista32), I right click on about 3 program's icons, choose the newly added "Run As Different User, type my admin credentials, then they load.  The easy answer would be to add these to the "Startup" folder or msconfig, but what switches do I need to put in the command line?

An example command line - let's say for iexpore.exe - would be great as well - Thanks!

Ben
0
Comment
Question by:BzowK
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
4 Comments
 
LVL 14

Expert Comment

by:BigBadWolf_000
ID: 24021523
Usage: shellrunas [/reg | [/quietreg ] | /regnetonly [/quiet] | unreg | [/netonly] <program> <arguments>
/reg              Registers ShellRunas shell context-menu entry
/regnetonly Registers Shell /netonly context-menu entry
                     Note: a command prompt will flash when the program starts
/unreg         Unregisters ShellRunas shell context-menu  entry
/quiet           Register or unregisters ShellRunas shell context-menu entry without
                     result dialog
/netonly         Use if specified credentials are for remote access only
<program>   Runs program with specified credentials and parameters
0
 
LVL 14

Expert Comment

by:BigBadWolf_000
ID: 24021554
I believe ShellRunas does not accept parameters on the command-line for username and / or password.
0
 
LVL 14

Accepted Solution

by:
BigBadWolf_000 earned 1500 total points
ID: 24021605
0
 
LVL 14

Expert Comment

by:BigBadWolf_000
ID: 24021626
Example...
psexec -u blah\blah -i c:\windows\system32\mmc.exe c:\windows\system32\dsa.msc
0

Featured Post

When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hey fellow admins! This time, I have a little fairy tale for you. As many tales do, it starts boring and then gets pretty gory. I hope you like it. TL;DR: It is about an important security matter, you should read it if you run or administer Windows …
If you're a modern-day technology professional, you may be wondering if certifications are really necessary. They are. Here's why.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question