Solved

How to give Service Start & Stop permisions to other user/user group ?

Posted on 2013-11-22
3
257 Views
Last Modified: 2013-11-22
I have a Windows service running on the user ID 'XYZ'. And it has been installed with the same user ID.
I want to give permissions to other user or user group to start & stop the service. How to do this? Can anyone explain me this.
0
Comment
Question by:GouthamAnand
[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
3 Comments
 
LVL 15

Accepted Solution

by:
unknown_routine earned 500 total points
ID: 39669380
If user is an admin he automatically can stop or start any service.


I he is none admin:

Login to his computer as Admin:

Get the subinacl App from Microsoft:
http://www.microsoft.com/en-us/download/details.aspx?id=23510


Use subinacl  to Grant permissions to Him

subinacl.exe is located in  in C:\Program Files (x86)\Windows Resource Kits\Tools\
0
 

Author Comment

by:GouthamAnand
ID: 39669393
They are non Admin users.
0
 

Author Closing Comment

by:GouthamAnand
ID: 39669486
Thanks a lot.
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

740 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