Discussion Locked

runas tool

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I want to use the runas tool to install printers when logged on as a regular user.

The windows explorer shell must be restarted with the local administrator's security context. I restart explorer using 'runas /user:machine name\administrator explorer.exe.'

The command prompt comes up asking me to enter the administrator's password, but the text is grayed and I am unable to enter any text. This is the case for any machine I try.

The runas service is enabled.

please help

Thanks, Michael

1 reply

by huckleberryhound

You might want to use su.exe from the resource kit instead of runas. One of the key features of su.exe is that you can use it in a script and pass it a user name and password. Runas will always prompt for a password.

This discussion is closed to new replies.