Kristofer
Fri May 05 15:32:48 CDT 2006
If it prompts for a username/password it will fail. But where did you read
this? I cannot find any documentation that says this. I can read on [1]:
"
/u[Domain\]User
Runs the script with the permissions of the specified user account. This
account must be a member of the Administrators group on the remote
computer. By default, the script runs with the permissions of the current
user of the local computer.
"
The file containing the script (and password) can be protected by NTFS
security, as long as the user account running the script has read access
to the file...
[1]
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5e7e923c-b374-4872-a8f5-da85ec1315fd.mspx
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info
zinck74 wrote:
>Hi Kristofer
>Yeah, we do make a lot of changes on a daily basis. I did find that
>iisback.vbs script. But if I were to setup an automated job via a
>batch file it looks like I have to specify a username and password in
>the command. Storing a password in plain text isn't an option. The
>documentation I saw on it said if a username/password wasn't specified
>it would prompt for one. Would this make it fail or would it just use
>the credentials running the scheduled job?
>
>Thanks,
>Bill