Runas

  • Thread starter Thread starter bahri
  • Start date Start date
B

bahri

Hi all!
I am trying to use the Runas command on windows Xp.
Now I had a look at what's on the web, forums etc. and it seems I'm not the
only one with this problem.
However mine is a simple setup.

One computer (no lan)
3 users Logging in without passwords.
all 3 are administrators.

All I want is to log on as user1 and run a program through a batch file
using user2 profile settings for this program.
Any help?
Thanks all

bahri
 
bahri said:
Hi all!
I am trying to use the Runas command on windows Xp.
Now I had a look at what's on the web, forums etc. and it seems I'm
not the only one with this problem.
However mine is a simple setup.

One computer (no lan)
3 users Logging in without passwords.
all 3 are administrators.

All I want is to log on as user1 and run a program through a batch
file using user2 profile settings for this program.
Any help?

So.. You are still going to ask for the password?
 
Hi!
But if there is no password set for any of the users, what can I do?
If anyone can help with the sytax for this command please help

Thanks all
bahri
 
bahri said:
I am trying to use the Runas command on windows Xp.
Now I had a look at what's on the web, forums etc. and it seems I'm
not the only one with this problem.
However mine is a simple setup.

One computer (no lan)
3 users Logging in without passwords.
all 3 are administrators.

All I want is to log on as user1 and run a program through a batch
file using user2 profile settings for this program.
Any help?

Shenan Stanley wrote
So.. You are still going to ask for the password?
But if there is no password set for any of the users, what can I do?
If anyone can help with the sytax for this command please help

First off, I am pretty sure runas requires the user to have a password.
Secondly - somehow I missed before that all users were administrators. So
you are doing this just to get he settings of one user and riun the
application under those settings rather than under the current users
settings - not a permissions issue, correct?

runas /user:mycomputer\myname "driveletter:\pathtocommand\cmd"

Enter the above line - substituting the other username/cmd that you will be
doing on the machine --> what happens?
 
Back
Top