- This topic has 3 replies, 3 voices, and was last updated 4 months, 1 week ago by
July 13, 2019 at 3:27 pm #165556ParticipantTopics: 2Replies: 1Points: -9Rank: Member
Pretty new on DSC sphere, I’m looking for a way to manage permissions on a Windows services. We have daily scheduled tasks running under a dedicated user and this user must be able to restart his own dedicated Windows service (running under the same account as the task). The problem is the following, the team updating the product isn’t able to manage permissions on services on their own, so I would like to have a DSC (if exists) that allow me to grant privileges to certain services. I found Carbon but it’s working only as PS command not DSC implementation. And for the rest found only services creation/delete/state.
Are you aware of anything that can help me on this ?
Thanks a lot for your time 🙂
July 13, 2019 at 4:53 pm #165742
July 29, 2019 at 6:46 am #168286ParticipantTopics: 2Replies: 1Points: -9Rank: Member
so I would like to have a DSC (if exists) that allow me to grant privileges to certain services
to whom ? is it another service/user account ?
Grant a user service account the permission to restart a service windows service. (http://woshub.com/set-permissions-on-windows-service/)
In the meantime, I found this : https://docs.microsoft.com/en-us/powershell/dsc/reference/resources/windows/scriptresource Should I go in that direction ?
October 7, 2019 at 10:39 pm #181527ParticipantTopics: 4Replies: 7Points: 46Rank: Member
This sounds more like a PowerShell JEA type of scenario:
Would that be an option?
I’m not sure if there is a way to “ACL” a service to allow certain users to stop/start a service.
- The topic ‘DSC – Manage user permissions on Windows service’ is closed to new replies.