in reply to Using Admin Passwords in Script
I have never personally used this module but would Win32::IntAuth work?