Solved

Stopping a Process from being Terminated

Posted on 2012-03-12
4
221 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks for the info mate.
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Hi Friends, These registry tweaks will help you optimizing your Windows 7 system for any VDI. This will improve the machine performanance and can be used on normal systems also. These are few registry tweaks which will add value by enhancing the …
So many times I have seen the words written in a question "if only I could show you" or " I know how hard it is for you since you can't see it" in any zone. That has inspired me to write about this tool in windows 7 called "Problem Steps Recorder…
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.

772 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now