I use a VPN service called Private Internet Manager. I want the VPN program (PIAmanager.exe) to start up when I log on to Windows. I normally log on in a User account and the VPN program gives me a UAC prompt to enter an admin password. I don’t want to have to enter the password after every logon.
I am using a new laptop with Win7 Pro. With my older laptop using Win7 Ultimate, I am able to get this to work. Unfortunately, I lost the notes I made on how I did it. I think it required enabling the hidden Administrator account first. Then I used the following command line.
C:WindowsSystem32runas.exe /user:LaptopSx2Administrator /savecred “C:Program Filespia_managerpia_manager.exe”
The first time (more than a year ago) I did have to enter the Administrator password. Afterwards, I can always boot in a User account and the program starts without further password prompts. If I stop PIAmanager and want to restart it, using a desktop shortcut with that command line will restart it without an admin password prompt.
I cannot find any way to get that command to work by referencing an admin account that is not the hidden Administrator account. I prefer not to enable that account. (That’s a different subject.) Nor have I found any other way to get this to work.
I have tried putting PIAmanager.exe in the LocalMachine … Run section of the Registry. That still gets me a prompt to enter an admin password.
Any suggestions? I have not gotten anything on the PIA forums that works.