title: Open with admin privileges from user privileged command prompt
body: <p>Is there a way to open any program as you would with the standard right click "run as administrator" from the command prompt?</p>
  
  <p>I know that this command</p>
  
  <pre><code>runas /noprofile /user:Administrator cmd
  </code></pre>
  
  <p>opens cmd as the administrator, but if the "hidden" admin account is not active:</p>
  
  <pre><code>net user administrator /active:no
  </code></pre>
  
  <p>it won't work, and if I want to activate it I need to have admin privileges and we're back to square one.</p>
  
  <p>It doesn't matter if it asks for a password as long as it's from cmd. A "sudo" like on linux.</p>