script to install software as administrator RRS feed

  • Question

  • Hi,

    Is there any command to install software as admin in powershell script.

    I tried below but it didnt work

    'runas /user:domain\admin'(both single quotes and double quotes)

    Saturday, July 9, 2016 7:46 PM

All replies

  • Right click and choose Run As Administrator. RunAs doesn't elevate a user. You are installing as a limited user for Admin.

    David Candy

    Sunday, July 10, 2016 8:05 PM