Runas

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
 
S

Shenan Stanley

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?
 
B

bahri

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
 
S

Shenan Stanley

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?
 

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