I am writing a script using Kix 4.60 to remotely gather incident response data for forensic analysis. When the user runs the script, they are prompted for local admin credentials on the target machine. The admin accounts in my environment are required to include alt characters in the password. It appears as though Kix is incorrectly interpreting the alt characters. For example, in the sample code below, if I enter a password of "abc123ê" where ê = <alt>136, Kix will show the value of $Pwd as "abc123^". Consequently, authentication fails due to invalid password. Anyone know how to accurately capture and pass alt characters? Is there a better way to do this via WMI?

Any assistance is greatly appreciated.

 Code:
BREAK ON
CLS

DIM $Targ, $WSN, $UID, $Pwd

; Get IP Address of Target
$Targ = "192.168.1.1"  ; In the real script I prompt for this and $WSN

; Get Workstation Name
$WSN = "XPLaptop"

; Get Credentials
?? "Enter the UserID of the Admin account" + @CRLF + "you wish to use for this operation: " Gets $UID
?? "Enter the Admin account password: " Gets $Pwd

?? "User ID: " + $UID ;$UID and $Pwd are only displayed for trouble shooting
?? "Password: " + $Pwd

; Get network info - This is an example of the type of command that I want to execute.  Psexec.exe is a tool 
; that allows me to run the command remotely.
;SHELL '%WINDIR%\SYSTEM32\cmd /C D:\IR\psexec.exe \\' + $Targ + ' -u ' + $WSN + '\' + $UID + ' -p ' + $Pwd + ' ipconfig /all'

EXIT
_________________________
"There is no spoon..."