Microsoft KB Archive/322906

= Program Windows Are Blank When You Use the RUNAS /USER:ADMINISTRATOR Command in Windows XP =

Article ID: 322906

Article Last Modified on 1/15/2006

-

APPLIES TO


 * Microsoft Windows XP Professional
 * Microsoft Windows XP Home Edition

-



This article was previously published under Q322906



SYMPTOMS
If you use the runas command to start a command prompt to run a program under the local Administrator account, the program that you start from the command prompt seems to run, but the program window is empty or blank. For example, if you try to run a program from a command prompt that you started with the following command, the program opens but data is not displayed in the program window:

runas /user:administrator &quot;runas /user: /netonly cmd&quot;



CAUSE
This problem occurs because the permissions that are used with the first Command Prompt window are removed when you close that Command Prompt window.



RESOLUTION
To work around this problem, keep the first Command Prompt window open. To do so:  Click Start, and then click Run. In the Open box, type cmd, and then click OK. At the command prompt, type the following command, and then press ENTER.

runas.exe /user:administrator &quot;cmd /k runas /user: /netonly cmd&quot;



After you perform this procedure, start the program that you want to use from that command prompt. For example, type notepad at the command prompt, and then press ENTER.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
If you use the /k switch, the first Command Prompt window remains active as long as you do not close the window. If the first Command Prompt window remains open, the program runs as expected.

Additional query words: nothing happens run as empty transparent

Keywords: kbprb KB322906

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.