Solved

Stopping a Process from being Terminated

Posted on 2012-03-12
4
224 Views
Last Modified: 2012-08-13
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
Comment
Question by:Zack
  • 2
  • 2
4 Comments
 
LVL 11

Expert Comment

by:rowansmith
ID: 37713185
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
 

Author Comment

by:Zack
ID: 37713206
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
 
LVL 11

Accepted Solution

by:
rowansmith earned 500 total points
ID: 37713217
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
 

Author Closing Comment

by:Zack
ID: 37718372
Thanks for the info mate.
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question