I solved the problem myself. (There's nothing like working on a
script late at night making a dumb mistake and bugging innocent people
over it.) I used UserChangePassword() instead - I think SetPassword
wasn't working because I was authenticated to the domain when I was
chan
I've been trying to use the Win32::AdminMisc::SetPassword to set a
local account password and can't get it to work properly. No matter what
parameter I set for the username or computername I get it trying to change
the password on the account with the same name on the domain