No announcement yet.

Elavated command prompt not working

  • Filter
  • Time
  • Show
Clear All
new posts

  • Elavated command prompt not working

    Hi all

    I am trying automate the activation of windows from the command line and the command I have does work when logged onto the domain admin account

    When I am logged in as a standard domain user and run the command under the domain admin context the command fails

    I use echo %username% to verify it is under the admin context and it is

    Interestingly all the other commands in the batch file are running on the standard domain users account from an elavated command line without problem

    the proxy setting is correct and internet access is available

    I cant see why this does not work

    Thanks for reading

  • #2
    Actually I found the answer basically you have to set the proxy specified within the command prompt session else the command prompt session does not know of the proxy server

    To activate windows the command session needed to be aware of the proxy server setting, I feed it the proxy server we are using and it worked.

    netsh winhttp set proxy yourproxy-nameort