You could also use psexec. -----Original Message----- From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Marc-Andre Lapierre Sent: Tuesday, May 24, 2005 3:03 PM To: thin@xxxxxxxxxxxxx Subject: [THIN] Re: OT: Passing Admin credentials in a script Look for something called runas password http://www.softaward.com/2346.html -----Original Message----- From: Christopher Wilson [mailto:christofire@xxxxxxxxx] Sent: Tuesday, May 24, 2005 3:50 PM To: thin@xxxxxxxxxxxxx Subject: [THIN] OT: Passing Admin credentials in a script Greetings, List. I'm not finding what I'm looking for on the net; wondering if one of you with more scriptin' smarts than me might help out. I want to run a simple batch file that will run a Trend Office scan install script. It does not work for users without administrative acces to their PC's. I thought I could reference a username and password before kicking off the command, but so far all I've found is the "runas" command. It passes a username, but still prompts for PW. Any ideas? Thanks, Christopher ******************************************************** This Weeks Sponsor: ThinPrint GmbH Now available: The new version .print Engine 6.2 with SSL encryption and certificate management. http://www.thinprint.com ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm ThinWiki community - Excellent SBC Search Capabilities! http://www.thinwiki.com *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm ******************************************************** This Weeks Sponsor: ThinPrint GmbH Now available: The new version .print Engine 6.2 with SSL encryption and certificate management. http://www.thinprint.com ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm ThinWiki community - Excellent SBC Search Capabilities! http://www.thinwiki.com *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm ******************************************************** This Weeks Sponsor: ThinPrint GmbH Now available: The new version .print Engine 6.2 with SSL encryption and certificate management. http://www.thinprint.com ********************************************************** Useful Thin Client Computing Links are available at: http://thin.net/links.cfm ThinWiki community - Excellent SBC Search Capabilities! http://www.thinwiki.com *********************************************************** For Archives, to Unsubscribe, Subscribe or set Digest or Vacation mode use the below link: http://thin.net/citrixlist.cfm