mashtuta.blogg.se

Install program without admin
Install program without admin





install program without admin

Run As Administrator Without Being AdministratorĪllow a non-admin user to run a program as a local admin account but without elevationīelow are instructions for setting up a workaround to get an application to run as another account that is a local administrator.

install program without admin

I have to get the password input into the process. I might get a few downvotes for this, but I know somewhere I need to define and put in ""Read-Host "some text about entering password" -AsSecureString"" in an existing variable or a new variable. Start-Process PowerShell -Cred $cred -ArgumentList. # go to DVD drive launch setup.exe as local admin with no user input required $cred = new-object 'computer name\local admin',$passwd # get the encrypted local admin password from user path # define path to store password and input password So this will need to be an encrypted file in a path variable. I will need to store that account information on the computer so Powershell can retrieve the account each time she runs the script. The local admin account will get the job done. I want this to be as smooth and as few clicks as possible.įor the creds I am choosing to go with the local admin account since that password doesn't change.

install program without admin

I still need to store the password so it doesn't have to be defined and input each time she runs the script. What I have so far is some pieced together junk at the moment. Ideally, I want her to be able to put in the DVD and then launch the Poweshell tool (from her desktop shortcut, no doubt) that looks at the DVD drive and runs the setup.exe file as a local admin without the UAC prompt, without her having to supply any credentials. I want to use Poweshell to make the tool. I might be one of some in a unique situation. I have looked around Server Fault and also did Google-Fu, but haven't found anything useful. If this was a one time program I would use the Microsoft Application Compatibility Toolkit gimmick to bypass UAC However, since this is a new DVD sent to her each month I need some kind of tool she can use herself for this operation. exe, UAC appears and I supply the much-needed information to run the installer. So since I've been here, every month I run the. The executable requires Admin privileges for the install. In order to look at the reports and make a backup, she must run the executable on the DVD. There is a user in bookkeeping who receives a monthly DVD from a vendor of ours that contains much needed reports. This is very nice, but can be also be a pain when employees who must have local admin permissions to run a program or install software that requires elevated privileges even if only to do the install. I work in an environment where local admin privileges for users isn't allowed.







Install program without admin