RUNAS command

M

Mario

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
 
M

Mario

thanks, I think I can live with that *grin*

Mario


You start it once manually with the savecred switch.
 
M

Mario

ahhh shit, 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


You start it once manually with the savecred switch.
 
M

Mario

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







Do you want to describe what you are doing. Why not a batch file?
 
D

David Candy

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top