How to run application on boot with privileges?

0

I've an installer that should deploy an application that need to run on each boot of the system with privileges. The installer requires privileges to run.

I've made a solution that runs an application with SYSTEM account privileges by using Windows Scheduled Tasks. Unfortunately, this solution is not working on Windows XP due to a known issue.

Any ideas how to run my application on boot with privileges?

Pupsik

Posted 2017-11-21T05:48:36.170

Reputation: 119

1It should work in any supported Windows version, 7, 8.x or 10. – None – 2017-11-21T06:22:42.307

1Thanks for down voting. it should work... Did you tried it on Windows XP? Did you read my question in details? – Pupsik – 2017-11-21T07:14:26.970

Yes, I certainly did... XP in 2017, hence the suggestion to use a supported Windows version which incidentally neither have that problem you mentioned and receive security updates that avoid them being used for criminal activities that can cause harm somewhere. Please be socially responsible. – None – 2017-11-21T07:42:40.883

Do you understand that Windows XP is still used by customers? Do you also understand that this is not my fault that customers are using Windows XP and I need to provide them a solution? And finally, If you really had tested it on Windows XP you would saw that it is failing to run as described in official microsoft article. – Pupsik – 2017-11-21T07:48:37.883

what about using Registry? https://msdn.microsoft.com/en-us/library/windows/desktop/aa376977(v=vs.85).aspx

– Baget – 2017-11-21T08:59:49.993

Answers

0

Try creating a user for this specific task, so it has needed privileges. Then test on how this user will execute needed package.

user1448914

Posted 2017-11-21T05:48:36.170

Reputation: 166

Thanks, we decided to convert our application into the service and make it auto-startable. – Pupsik – 2017-12-01T08:37:32.423