Sure you can but that makes the password readable for all users.
If you are running GPO you can run the script as a Startup script. This way you do not need to specify the username and password in the script because the startup scripts run on the local system account that has admin privileges.

You can use the build-in runas in WinXP but like said that is not secure and everybody can read the username and password. IMHO one should not use runas.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.