Re: RUNAS command

From: David Candy (david_at_mvps.org)
Date: 07/09/04


Date: Sat, 10 Jul 2004 04:10:24 +1000

How does the other programs start the other other programs. Why do you need to be admin. Sure you are seeing the forest for all the trees.

-- 
----------------------------------------------------------
'Not happy John! Defending our democracy',
http://www.smh.com.au/articles/2004/06/29/1088392635123.html
"Mario" <nospam.mario.dambauer@nospam.gmx.at> wrote in message news:uxpmR8ZZEHA.1048@tk2msftngp13.phx.gbl...
> The main idea is, to have a complete restrictive user who can do nothing.
> The shell app (which is started from the os itself) sould have admin rights.
> (and the apps which are started from my app also sould have admin
> privilages)
> So if for e.g. a virus comes over the internet, that he is not able to harm
> any system files or something else....
> 
> My Shell App is written in VB and I was able to get Admin Rights by source
> code.
> This app starts some different apps, which should run all under admin
> privilages.
> Some of these apps also start litte apps... (on some of these apps I have to
> wait until they are completed)
> 
> 
> any idea how to get this to work?
> thanks in advance
> 
> 
> 
> 
> 
> 
> 
> "David Candy" <david@mvps.org> wrote in message
> news:eQkmixZZEHA.3664@TK2MSFTNGP12.phx.gbl...
> Do you want to describe what you are doing. Why not a batch file?
> 
> -- 
> ----------------------------------------------------------
> 'Not happy John! Defending our democracy',
> http://www.smh.com.au/articles/2004/06/29/1088392635123.html
> 
> "Mario" <nospam.mario.dambauer@nospam.gmx.at> wrote in message
> news:Oow7GvZZEHA.1652@TK2MSFTNGP09.phx.gbl...
> > ahhh ***, there is another problem I figured out...
> >
> > RunAs is not waiting until my program ends and I need the return value of
> my
> > application!!!
> >
> > Any ideas on this problems?
> >
> > thanks
> >
> >
> > "David Candy" <david@mvps.org> wrote in message
> > news:ene6JAZZEHA.2388@TK2MSFTNGP11.phx.gbl...
> > You start it once manually with the savecred switch.
> >
> > -- 
> > ----------------------------------------------------------
> > 'Not happy John! Defending our democracy',
> > http://www.smh.com.au/articles/2004/06/29/1088392635123.html
> >
> > "Mario" <nospam.mario.dambauer@nospam.gmx.at> wrote in message
> > news:OlHrW8YZEHA.2488@tk2msftngp13.phx.gbl...
> > > Hi
> > >
> > > Under W2K/XP there is a command called RUNAS where you can execute a
> > program
> > > under a different user account.
> > >
> > > My problem ist, that there I can only set the USERNAME and the PROGRAM,
> > but
> > > PASSWORD is missing.
> > > The prog is asking for password after starting...
> > >
> > > I have no physically access to the computers, so I am not able to enter
> > the
> > > password via keyboard...
> > >
> > > Any ideas on how to do this!?
> > > Are there any other programs available to start progrmas with ohther
> user
> > > account/permission?
> > >
> > >
> > > Thanks in advance.
> > > Best Regards,
> > > Mario
> > >
> > >
> >
> >
> 
>