Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

Stopping a Process from being Terminated

Heyas,

In Windows 7 if I am running as a standard user. My question si how do I stop certain processes I nominate from being terminated via the task scheduler with out first entering a password. I have heard of ACL for windows but I haven't been able to find any good tutorials on to use it.

Any assistance would be much appreciated.

Thank you.
0
Zack
Asked:
Zack
  • 2
  • 2
1 Solution
 
rowansmithCommented:
Well, you really can not.  At the end of the day if the user created/owns the process then the user can technically terminate the process.

While it is technically possible to change the DACL preventing the owner from accessing the process, the owner will always be able to change the DACL back to suit them.

I would suggest against this approach and instead run the process as a user whom the logged in user doesn't have credentials for.
0
 
ZackGeneral IT Goto GuyAuthor Commented:
Hi Rowansmith,

What you say makes sense, how would then I run a program in startup as a user whom the logged in user doesn't have credentials for.

Thank you.
0
 
rowansmithCommented:
You can't.  You can not run a program with elevated privileges unless you have the credentials to elevate said program.  More details here.

The only option would be to run your program as a service.  Services are started by the OS when the computer starts.  You can set the credentials for the service so it can run as a non administrator.  If you want any user to be able to interact said program this will be considerably more difficult unless the program has been specifically developed with this in mind.

A possible other option would be to find a service which can be instructed to start a random program for a user when the user logs in.  I suspect this would open a whole stack of security problems however.  I don't know of such a service.
0
 
ZackGeneral IT Goto GuyAuthor Commented:
Thanks for the info mate.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now