JSI Tip 5510. Programs run with 'RunAS /User:Administrator' may not display data?

When you type runas /user:administrator "runas /user:DomainName\UserName /netonly cmd" and use this CMD window to open a program, like Notepad, the program does NOT display any data?

This problem is due to the permissions from the initial CMD prompt being lost when that CMD window closes.

To workaround this problem:

1. Open a CMD prompt.

2. type runas.exe /user:administrator "cmd /k runas /user:DomainName\UserName /netonly cmd"

3. Start the program, like Notepad.

NOTE: The following image may display slowly.

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.