Re: runas.exe not accept non-ascii passwords

From: Plinio Conti (pliniocontiAT_at_tiscaliDOT.it)
Date: 03/26/04


Date: Fri, 26 Mar 2004 11:45:43 +0100

I made your test.
Yes, the characters don't look right in TYPE output.

Default CMD codepage for my country (Italy) is 850 (International aka "Multilingual (Latin I)").
I switched to 437 (US) using command:
"CHCP 437"
but the TYPE output is bad, yet.

What Codepage is using Windows in GUI environment?
I didn't find such a setting in ControlPanel -> International.

What can I do, now?

-- 
Plinio Conti <pliniocontiATtiscaliDOTit>
On Thu, 25 Mar 2004 19:59:45 -0800
Gary Smith <bitbucket@example.com> wrote:
> I'd guess that the problem is a mismatch between the console codepage and 
> the "ANSI" character set used by the GUI.  Try this to test the theory: 
> Open notepad and type some text containing the non-ASCII characters.  Sava 
> as a text file.  Then open a command prompt windows and TYPE the file you 
> created.  If the characters don't look right, we've discovered the source 
> of the problem.  
> 
> -- 
> Gary L. Smith                gls432@yahoo.com
> Columbus, Ohio
> In microsoft.public.win2000.cmdprompt.admin Plinio Conti <pliniocontiAT@tiscalidot.it> wrote:
> > Some user password have non standard ascii characters.
> 
> > Initial Logon Dialog Box accepts them without problems.
> > No problems with GUI "Run As...", as well. (I mean when you start applications selecting RunAs.. from shift-Right-click menu)
> 
> > But RUNAS from CMD command line fails.
> > What can I do?
> 
> > The character are on my non-english keyboard, they are not so exothic. 
> > They "appears" correctly when you type them in CMD command line.
> 


Relevant Pages

  • Re: Set App Priority
    ... string and then terminates" ... gives then parameters to use to modify the START command ... below) /F:OFF Disable file and directory name completion characters ... no special characters between the two quote characters, ...
    (microsoft.public.windowsxp.customize)
  • Re: Set App Priority
    ... This would start notepad with high priority. ... Starts a new instance of the Windows XP command interpreter ... /F:OFF Disable file and directory name completion characters ... If all of the following conditions are met, then quote characters ...
    (microsoft.public.windowsxp.customize)
  • Re: DOS Box Keyboard problem
    ... I get 437 from command chcp and cmd chcp. ... When in the cmd box I can type with all characters OK ... The OEMCP value controls to which OEM code page to translate ANSI, ...
    (microsoft.public.windowsxp.configuration_manage)
  • Re: Cannot delete file with name ended with a dot.
    ... receive the message "File Not Found" (from command prompt I cannot see the ... The operating system is Windows 2008 server standard x64. ... A little background on undeletable files and folders: ... files to it but use characters in the name that FTP supports (ASCII ...
    (microsoft.public.windows.server.general)
  • Re: [PATCH] USB: add USB test and measurement class driver - round 2
    ... accumulated (or until zero characters are returned, ... This logic should be done in userspace, ... a measurement command it is not known how many bytes it will return. ... handle this as a warning telling the user that he did not request all ...
    (Linux-Kernel)