Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Stopping a Process from being Terminated

Posted on 2012-03-12
4
Medium Priority
?
230 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no backā€¦
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
Suggested Courses

715 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