Are you using ruN-as or ruNN-as? "runas" comes with Windows and won't allow passing the password as an arg. "runnas" is an add-on program that allows passing the passoword, or even creating a "tokenized" (obfuscated) program with the password embedded in it.

I don't allow either in the environments I support. If an automated process needs to run with elevated rights, it's done with a scheduled task.

We do use runas for interactive admin sessions, just not for automation by non-admin users. (Our admins have "Clark Kent" accounts and use RunAs as a "phone booth" to turn into SuperAdmin and obtain elevated rights when needed. ;\)

Glenn
_________________________
Actually I am a Rocket Scientist! \:D