?
Solved

Start and Stop services on a server remotely without admin privileges.

Posted on 2011-05-10
9
Medium Priority
?
775 Views
Last Modified: 2012-08-13
How do I allow end users start and stop services on a server without providing admin privileges? I have tried PSService, but this requires admin rights on the server.
0
Comment
Question by:RDiggs
  • 5
  • 4
9 Comments
 
LVL 47

Accepted Solution

by:
Donald Stewart earned 2000 total points
ID: 35734217
Create a scheduled task that restarts the service using admin rights, then you can give users rights to run the scheduled task


http://waynes-world-it.blogspot.com/2008/04/running-scheduled-tasks-as-non.html

or look at permissions referenced here

http://support.microsoft.com/kb/867466


On the users desktop you can create a shortcut with


schtasks /run /s <machine name> /tn <task name>
0
 
LVL 1

Author Comment

by:RDiggs
ID: 35734350
Same issue, Access denied
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 35734480
0
Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

 
LVL 47

Expert Comment

by:Donald Stewart
ID: 35734506
0
 
LVL 1

Author Comment

by:RDiggs
ID: 35740340
Running the task is not where the access is denied. It is the remote users ability to start and stop the task.
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 35740415
Yes, I was aware of that.

That is why you need to modify permissions of cmd.exe on the remote

http://support.microsoft.com/kb/867466
0
 
LVL 1

Author Comment

by:RDiggs
ID: 35741413
The users group has read and execute by default. Which includes domain users. cmd.exe properties cmd.exe properties
0
 
LVL 1

Author Comment

by:RDiggs
ID: 35741640
Working Now. I must have missed a security setting somewhere. Thanks for your help.
0
 
LVL 1

Author Comment

by:RDiggs
ID: 35741805
Sorry I spoke to soon... Access denied.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes how to set permissions to allow a limited-permissions user to start and stop a particular System Service.   It is always best to give users only the permissions that they need to perform their job, so tweaking particular permi…
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

850 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