Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I give normal user privilage to restart a Service ?

Status
Not open for further replies.

netwalker1

Programmer
Feb 5, 2000
1,241
EG
Dear All :
There is a need to let a normal user to restart a service owned by another administrator ...
I gave him all the full permission on the registry related to this service using regedt32 utility without success ..

Any advises ?

Note : Of course adding him to the local Administrator solved it but I need to avoid that !


Mohamed Farid
[green]Know Me No Pain , No Me Know Pain !!![/green]
 
Use a web page that uses WMI to restart the service. You can then just give the web page admin rights and remove all elevated rights from the user. Restrict access to the web page with NTFS permissions so only the authorized user can access the page.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
I understood the concept - But I am not a web developer ...
Can you help me doing it ?

Mohamed Farid
[green]Know Me No Pain , No Me Know Pain !!![/green]
 
Happy to help but let's get you to do a little leg work so you can be self sufficient. Start by searching Microsoft.com for WMI code to restart a service.

Then it is a simple matter of wrapping that into an ASP page.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
You can also do it by group policies. If its only on a single workstation you can do it on the local group policy or if there a few create a domain or OU level policy.

Go to the computer config settings and there you can see the services listed, you can define who can do what to the services.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top