{"id":6822,"date":"2019-06-12T05:42:54","date_gmt":"2019-06-12T12:42:54","guid":{"rendered":"https:\/\/www.coretechnologies.com\/blog\/?p=6822"},"modified":"2020-08-10T10:01:32","modified_gmt":"2020-08-10T17:01:32","slug":"grant-service-start-stop-rights","status":"publish","type":"post","link":"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/grant-service-start-stop-rights\/","title":{"rendered":"Q&#038;A: How do I allow Non-Admins to Start\/Stop\/Restart my AlwaysUp Windows Services?"},"content":{"rendered":"<div align=\"center\"><img decoding=\"async\" src=\"\/blog\/images\/qa-service-security.png\" title=\"Q &#038; A - Windows Service security\" alt=\"Q &#038; A - Windows Service security\" border=\"0\" ><\/div>\n<div class=\"blog-qa-question-box\">\n<img decoding=\"async\" src=\"\/images\/quotes-transparent-21x21.png\">&nbsp;&nbsp;I&#8217;m wanting to know what permissions a user is required to have in order to stop and start <a href=\"\/products\/AlwaysUp\/\">AlwaysUp<\/a> services. Is there a way to <b>grant access to specific users<\/b> as I don&#8217;t want to have to give them full Admin rights?  I&#8217;ve created shortcuts but getting the &#8220;access denied&#8221; message. Thanks in advance.<\/p>\n<p align=\"right\">&#8212; Bryant, Wide Bay Water<\/p>\n<\/div>\n<p>Hi Bryant.<\/p>\n<p>Typically, only administrators have the power to control Windows Services. That is an appropriate stance, as most services are administrative in nature.<\/p>\n<p>Indeed, it would be a huge mistake to allow non-privileged persons to stop any of the important tasks servicing the computer in the background. Think of the chaos it could cause!<\/p>\n<p>But there are always exceptions. And the good news is that Microsoft provides the ability to set granular permissions on each Windows Service. You can leverage that API\/functionality from command-line tools like <a href=\"https:\/\/ss64.com\/nt\/subinacl.html\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft&#8217;s SubInACL<\/a> but your best option is to work directly with AlwaysUp (which is much easier to use).<\/p>\n<h2 class=\"blog-caption\">How to adjust the rights of an AlwaysUp Windows Service<\/h2>\n<p>Follow these steps to grant a non-admin user the ability to start and\/or stop your service:<\/p>\n<ol>\n<li>\n<p>Start AlwaysUp.<\/p>\n<\/li>\n<li>\n<p>Highlight\/select the application you wish to grant access to. Stop it if necessary.<\/p>\n<\/li>\n<li>\n<p>Select <b>Application &gt; Advanced &gt; Service Security Settings<\/b> from the menu.<\/p>\n<\/li>\n<li>\n<p>In the <b>Service Security Settings<\/b> window that comes up, select the user in the top pane. You will have to add the account if it&#8217;s not there.<\/p>\n<\/li>\n<li>\n<p>In lower pane, choose the permissions you wish the user to have.<\/p>\n<p>Here you see us permitting user &#8220;Mike Jones&#8221; to read\/access and start (but not stop) the Plex Media Server service:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/set-plex-service-security-settings.png\" class=\"zoomPopup\" title=\"Set Plex Service Security Settings\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/set-plex-service-security-settings.png\" title=\"Set Plex Service Security Settings (click to enlarge)\" alt=\"Set Plex Service Security Settings\" border=\"0\" ><\/a><\/div>\n<\/li>\n<li>\n<p>Save your changes.<\/p>\n<\/li>\n<\/ol>\n<p>Afterwards, the user will be able to use the <a href=\"\/blog\/windows-services\/essential-tools-windows-services-msc\/\">Services Control Panel application<\/a>, the <a href=\"\/blog\/windows-services\/essential-tools-for-windows-services-net-command\/\">NET command<\/a> or the <a href=\"\/blog\/windows-services\/essential-tools-windows-services-sc-exe\/\">SC utility<\/a> to manipulate the service created by AlwaysUp.<\/p>\n<p>Remember: The user must work with the full, quoted name of the service, with the &#8220;managed by AlwaysUp&#8221; suffix. For example, if your application entry is named &#8220;VirtualBox&#8221; in AlwaysUp, the service will be named:<\/p>\n<blockquote><p>&#8220;VirtualBox (managed by AlwaysUp)&#8221;<\/p><\/blockquote>\n<h2 class=\"blog-caption\">Easily adjust the rights of non-AlwaysUp Windows Services too!<\/h2>\n<p>The instructions above will work for AlwaysUp services, but our free <a href=\"\/products\/ServiceSecurityEditor\/\">Service Security Editor<\/a> tool can adjust the permissions of <b>any service<\/b>. Check it out if you need a general, portable solution for all your Windows Services.<\/p>\n<!-- relpost-thumb-wrapper --><div class=\"relpost-thumb-wrapper\"><!-- filter-class --><div class=\"relpost-thumb-container\"><style>.relpost-block-single-image, .relpost-post-image { margin-bottom: 10px; }<\/style><h3>You may also like...<\/h3><div style=\"clear: both\"><\/div><div style=\"clear: both\"><\/div><!-- relpost-block-container --><div class=\"relpost-block-container relpost-block-column-layout\" style=\"--relposth-columns: 3;--relposth-columns_t: 2; --relposth-columns_m: 2\"><a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/patterns\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Windows Service Patterns\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/windows-service-patterns-150x150.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Windows Service Patterns<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/windows-admin-center\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Manage Your Windows Services with Windows Admin Center\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/windows-admin-center-logo-150x150.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Manage Your Windows Services with Windows Admin Center<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/run-multiple-windows-services\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"6 Reasons Why AlwaysUp is the Best Tool to Run Multiple Applications as Windows Services\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/running-multiple-windows-services-150x150-1.webp\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">6 Reasons Why AlwaysUp is the Best Tool to Run Multiple Applications as Windows Services<\/h2><\/div><\/div><\/a><\/div><!-- close relpost-block-container --><div style=\"clear: both\"><\/div><\/div><!-- close filter class --><\/div><!-- close relpost-thumb-wrapper -->","protected":false},"excerpt":{"rendered":"<p>&nbsp;&nbsp;I&#8217;m wanting to know what permissions a user is required to have in order to stop and start AlwaysUp services. Is there a way to grant access to specific users as I don&#8217;t want to have to give them full &hellip; <a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/grant-service-start-stop-rights\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":7206,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[26,127,143,148,160,196],"class_list":["post-6822","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-alwaysup","tag-alwaysup-tag","tag-qa","tag-security","tag-service-security-editor-2","tag-subinacl","tag-windows-services-2"],"_links":{"self":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/6822","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=6822"}],"version-history":[{"count":1,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/6822\/revisions"}],"predecessor-version":[{"id":9621,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/6822\/revisions\/9621"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media\/7206"}],"wp:attachment":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=6822"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=6822"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=6822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}