There are some examples here on this board that show how to run a script as an admin. One of the least secure is to use runas (provided by MS in Win2K and up). Users can read the username and password this way. There are also topics on how to do it more secure. Do a search on runas (gave me 361 hits) and sanur and you'll get some hits. Tokenizing the script is also an option. But afaik there are no 100% secure ways to run a logon script as an admin when a regular user logs on.

Logon scripts always run with the credentials of the user logging on and not as an admin of any kind unless some it is told to do so. Start-up scripts run under the system account and therefore have elevated privileges compared to a regular user but it still is not the same as a domain admin.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.