txt `įrom there, I found the following code which helps setup the credentials for use: Read - host - assecurestring | convertfrom - securestring | out - file C : \securestring. UAC is blocking PSEXEC from running elevated.Īs stated, I am learning a few things, I know that using the following command, I can create a text file that can be used to encrypt the password: My intention was to use PSEXEC to install the MSI application by adding the Username and Password into the PSEXEC command however, the machine that is executing the code is logged in as a standard user and the Code is executing through an account with admin privileges but not elevated. I have a PowerShell script that will create an Administrator account on the computer.
I have found some workarounds that I am thinking that will work. The System account only has Admin Privileges so will not complete the installation. I am currently trying to install an MSI that requires a computer Administrator installation. I have a couple of years of coding experience with C# so I am starting to understand what I am looking at. I do not have much if any experience with PowerShell. I started packaging 2 months ago and have come a long way. First off, I want to say that I have learned a lot from ITNinja.