|HQuest||Installed PSI as limited user, never auto-starts|
|30th Sep, 2010 17:57|
User Since: 11th Nov, 2009
System Score: 100%
Since the old PSI 1.5, one of the most annoying things on PSI is the tool not auto-starting automatically with Windows 7, when the check box is enable to. The catch? My user account is not an administrator account, but a regular, limited user.
I believe the auto-start with Windows option in PSI adds the tool to the user startup registry. As the user running PSI is an administrator and not my regular user, it is never ran.
Any chance of registering PSI on "system startup" -- thus for all users?
|mogs||RE: Installed PSI as limited user, never auto-starts|
|30th Sep, 2010 20:12|
User Since: 22nd Apr 2009
System Score: 100%
Here's an extract from a recent Secunia reply:-
In the PSI 2.0 Beta period, one of the things we will be looking into improving is how the PSI currently handles least-user privilige.
As Anthony correctly pointed out, the PSI currently needs to run as the Administrator user (or another user with compareable rights), since it accesses several crucial system resources.
As I said, though, we will be looking into improving this. I suggest you both keep your eyes on the Secunia PSI 2.x releases to come.
Emil R. Petersen
Secunia PSI Support
Hope it helps..........regards,
|libove||RE: Installed PSI as limited user, never auto-starts|
|1st Oct, 2010 18:58|
User Since: 12th Feb 2008
System Score: N/A
|My - hopefully interim, until PSI 2 includes a background System service to avoid this problem entirely - solution to logging in as a non-admin user and still getting PSI to run automatically (this works with both PSI 1.5 and PSI 2beta) is a neat little tool called "SuRun". It's a lot like the UNIX "sudo" command, for Windows. (Note that I have no connection to SuRun, just that I found it specifically in order to get PSI to work when logging in as a non-admin, and I've found the author, Kay Bruns, to be responsive and helpful. I make no warranties about the tool).
You can get SuRun from http://kay-bruns.de/wp/software/surun/ (German language; there's a link towards the top of the page itself to get an automated English translation).
Note that the current released version of SuRun 126.96.36.199 doesn't play nice with Vista/ Windows 7 Aero - but the current beta 188.8.131.52b14 does. The beta is available at http://forum.kay-bruns.de/post/2888
The specific configurations which I have created for SuRun to allow PSI to auto-start, as administrator, when I log in with my normal non-admin user, look like this (this is a subset of the exported configuration directly from SuRun; you can install SuRun, add a single user which will be User0, export the SuRun config, then edit in the obvious text parts of this and re-import):
0=""C:\Program Files (x86)\Secunia\PSI\psi.exe""
1=""C:\Program Files (x86)\Secunia\PSI\psi.exe" --start-in-tray"
(Note that if you're on a 32-bit system, you'll exclude the " (x86)" part of the program paths).
I also found it necessary to edit the Scheduled Task that PSI creates when you select to start at login time, to increase the delay time before PSI starts from the default 20 seconds to 1 minute, to make sure that SuRun has had time to fully initialize. Otherwise, sometimes PSI starts up before SuRun has hooked in, and PSI doesn't get automatic credentials (resulting either in a UAC prompt, or PSI silently not starting, depending on your system configuration).
Secunia, please change the start delay in the Scheduled Task for PSI to run at login time from 20 seconds to 1 minute. There's no harm in the extra 40 seconds delay for almost all use cases, and it will flatten out the startup/ login load, so I believe that it is a good overall change.
Thanks, and I hope this reference is helpful.