title: Execute a command line on the command prompt needs `administrate privilege` even using "ranas"?
body: <p>This is the command:</p>
  
  <pre><code> netsh wlan start hostednetwork runas /noprofile /user:mymachine\\administrator
  </code></pre>
  
  <p>I used <code>ranas</code> to prevent the administrator privilege, but it won't.</p>
  
  <p><img src="https://i.stack.imgur.com/8y5xe.png" alt="enter image description here"></p>
  
  <p>But when I manually run the command prompt as an administrator and write <code>netsh wlan start hostednetwork</code> it will execute the command.</p>
  
  <p><img src="https://i.stack.imgur.com/aMXoo.png" alt="enter image description here"></p>
  
  <hr>
  
  <p>I am sending this command from Java program, I can't run the command prompt as an administrator then write this command, It should be in one line command that do all works.</p>
  
  <p>Any solution?</p>