For your remote users, are you going to store the network credentials in the install script?  Also, RunAs does not give you full admin rights (Admin Token), even if the user has admin right on the PC.  You have to use a workaround of re-execution.  Here is an example script.   Global $sAdminUser = "USERNAME" Global $sAdminPassword = "PASSWORD" Global $sDomain = "AD" Global $iLogOnFlag = 0 Global $sParameters = "" ;Elevate with the Admin account. If @UserName <> $sAdminUser And Not IsAdmin