{"id":11702,"date":"2023-10-23T03:40:32","date_gmt":"2023-10-23T10:40:32","guid":{"rendered":"https:\/\/www.coretechnologies.com\/blog\/?p=11702"},"modified":"2025-12-15T06:21:22","modified_gmt":"2025-12-15T14:21:22","slug":"secure-windows-service","status":"publish","type":"post","link":"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/secure-windows-service\/","title":{"rendered":"Q&#038;A: How do I Protect my AlwaysUp Services from Unauthorized Changes?"},"content":{"rendered":"<div align=\"center\"><img loading=\"lazy\" decoding=\"async\" class=\"no-lazy-load\" src=\"\/blog\/images\/qa-protect-alwaysup-service.webp\" style=\"margin-bottom:20px;\" title=\"Q&#038;A: How do I Protect my AlwaysUp Service from Unauthorized Changes?\" alt=\"Q&#038;A: How do I Protect my AlwaysUp Service from Unauthorized Changes?\" border=\"0\" width=\"380\" height=\"160\" \/><\/div>\n<div class=\"blog-qa-question-box\">\n<img loading=\"lazy\" decoding=\"async\" class=\"no-lazy-load\" src=\"https:\/\/cdn.coretechnologies.com\/images\/quotes-transparent-21x21.webp\" width=\"21\" height=\"21\" \/>&nbsp;&nbsp;Dear support,<\/p>\n<p>It is possible to protect AlwaysUp by password to prevent unauthorized change of settings or unauthorized intervention?<\/p>\n<p align=\"right\">&mdash; Tom\u00e1\u0161<\/p>\n<\/div>\n<p>Hi Tom\u00e1\u0161, thanks for getting in touch.<\/p>\n<p>I can tell you that <a href=\"\/blog\/alwaysup\/is-alwaysup-safe\/\">safety and security<\/a> are front and center as we develop AlwaysUp. Indeed, here are a couple of ways that AlwaysUp helps to protect your applications from unauthorized changes.<\/p>\n<hr class=\"blog-section\">\n<div style=\"width:100%;margin-bottom:30px;\">\n<div style=\"margin:0px;float:right;\"><a href=\"#top\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cdn.coretechnologies.com\/images\/top.jpg\" border=\"0\" width=\"50\" height=\"18\" title=\"Go to the top\" alt=\"\" \/><\/a><\/div>\n<\/div>\n<h2 class=\"blog-caption\">Only Administrators can run AlwaysUp<\/h2>\n<p>First, only users who have admin rights can start AlwaysUp. That&#8217;s because AlwaysUp is installed as a <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/security\/application-security\/application-control\/user-account-control\/how-it-works\" target=\"_blabk\" rel=\"noopener\">User Account Control (UAC)<\/a> administrative utility that requires elevated rights to run.<\/p>\n<p>No doubt you&#8217;ve already noticed the UAC restrictions in play. For example, they greet you with a protective prompt whenever you start AlwaysUp on Windows 11:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/uac-prompt-when-starting-alwaysup-win11.png\" class=\"zoomPopup\" title=\"UAC prompt when starting AlwaysUp on Windows 11\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/uac-prompt-when-starting-alwaysup-win11.png\" title=\"UAC prompt when starting AlwaysUp on Windows 11 (click to enlarge)\" alt=\"UAC prompt when starting AlwaysUp on Windows 11\" border=\"1\" \/><\/a><\/div>\n<p>If you click &#8220;No&#8221;, AlwaysUp will not start.<\/p>\n<p>Note that non-administrators see a different prompt. Instead of simply having to acknowledge elevation, those users must enter the user name and password of an administrator to continue:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/uac-prompt-login-required.png\" class=\"zoomPopup\" title=\"UAC prompt - Login required\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/uac-prompt-login-required.png\" title=\"UAC prompt - Login required (click to enlarge)\" alt=\"UAC prompt - Login required\" border=\"1\" \/><\/a><\/div>\n<p>So that&#8217;s the general security in place. Next, we&#8217;ll review how you can protect individual applications you&#8217;ve deployed with AlwaysUp.<\/p>\n<hr class=\"blog-section\">\n<div style=\"width:100%;margin-bottom:30px;\">\n<div style=\"margin:0px;float:right;\"><a href=\"#top\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cdn.coretechnologies.com\/images\/top.jpg\" border=\"0\" width=\"50\" height=\"18\" title=\"Go to the top\" alt=\"\" \/><\/a><\/div>\n<\/div>\n<h2 class=\"blog-caption\">Restrict access to the Windows Services that AlwaysUp creates<\/h2>\n<p>For each application you add, AlwaysUp installs a Windows Service to manage it. Indeed, you can see those AlwaysUp-created services in the <a href=\"\/blog\/windows-services\/essential-tools-windows-services-msc\/\">Services<\/a> application.<\/p>\n<p>For example, here is the service that AlwaysUp created to <a href=\"\/products\/AlwaysUp\/Apps\/RunOneDriveAsAService.html\">run Microsoft OneDrive 24\/7<\/a>:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/onedrive-windows-service-in-services-app.png\" class=\"zoomPopup\" title=\"OneDrive Windows Service in services.msc\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/onedrive-windows-service-in-services-app.png\" title=\"OneDrive Windows Service in services.msc (click to enlarge)\" alt=\"OneDrive Windows Service in services.msc\" border=\"0\" width=\"520\" \/><\/a><\/div>\n<p>And because they are &#8220;true&#8221; Windows Services, Microsoft&#8217;s robust permissions system extends to the entities created by AlwaysUp. You can manage them like any other service, setting exactly who can start, stop or edit them.<\/p>\n<p>So, to set the permissions for your AlwaysUp application\/service:<\/p>\n<ol style=\"margin-bottom:24px\">\n<li>\n<p>If your application is running in AlwaysUp, stop it now. You can update permissions only when the service is idle.<\/p>\n<\/li>\n<li>\n<p>Highlight your application and select <b>Application &gt; Advanced &gt; Service Security Settings<\/b>:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/open-service-security-settings.png\" class=\"zoomPopup\" title=\"Open Service Security Settings\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/open-service-security-settings.png\" title=\"Open Service Security Settings (click to enlarge)\" alt=\"Open Service Security Settings\" border=\"0\" width=\"520\" \/><\/a><\/div>\n<\/li>\n<li>\n<p>The <b>Service Security Settings<\/b> window shows all the users and groups with rights over the service that AlwaysUp created. For example, you&#8217;ll likely find that anyone in the <a href=\"https:\/\/ss64.com\/nt\/syntax-security_groups.html\" target=\"_blank\" rel=\"noopener\">built-in Administrators group<\/a> has full control:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/onedrive-windows-service-permissions.png\" class=\"zoomPopup\" title=\"OneDrive Windows Service permissions\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/onedrive-windows-service-permissions.png\" title=\"OneDrive Windows Service permissions (click to enlarge)\" alt=\"OneDrive Windows Service permissions\" border=\"0\" \/><\/a><\/div>\n<\/li>\n<li>\n<p>Adjust the service&#8217;s permissions as you see fit.<\/p>\n<p>For example, to prevent someone from updating or deleting the service:<\/p>\n<ol style=\"margin-bottom:24px\" type=\"a\">\n<li>\n<p>Click the <b>Add<\/b> button and add that person to the top panel. We&#8217;ve selected &#8220;Hazel Smith&#8221; on our computer; she currently has full rights to the service (inherited from the Administrators group):<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/hazel-smith-onedrive-service-permisions.png\" class=\"zoomPopup\" title=\"Hazel Smith's permissions to the OneDrive Windows Service\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/hazel-smith-onedrive-service-permisions.png\" title=\"Hazel Smith's permissions to the OneDrive Windows Service (click to enlarge)\" alt=\"Hazel Smith's permissions to the OneDrive Windows Service\" border=\"0\" \/><\/a><\/div>\n<\/li>\n<li>\n<p>In the lower panel, check the <b>Modify<\/b> and <b>Delete<\/b> boxes in the <b>Deny<\/b> column:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/deny-hazel-smith-service-permissions.png\" class=\"zoomPopup\" title=\"Deny Hazel Smith modify and delete permissions\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/deny-hazel-smith-service-permissions.png\" title=\"Deny Hazel Smith modify and delete permissions (click to enlarge)\" alt=\"Deny Hazel Smith modify and delete permissions\" border=\"0\" \/><\/a><\/div>\n<\/li>\n<li>\n<p>Click <b>OK<\/b> to record your changes.<\/p>\n<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>With your updated restrictions in place, the users who you have denied access to the service won&#8217;t be able to change your application in AlwaysUp.<\/p>\n<p>For example, if Hazel tries to update our OneDrive entry in AlwaysUp, the attempt to save fails with an &#8220;Access denied&#8221; error:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/alwaysup-modify-application-access-denied.png\" class=\"zoomPopup\" title=\"Hazel cannot update the AlwaysUp application\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/alwaysup-modify-application-access-denied.png\" title=\"Hazel cannot update the AlwaysUp application (click to enlarge)\" alt=\"Hazel cannot update the AlwaysUp application\" border=\"0\" \/><\/a><\/div>\n<p>Hopefully, you will be good to go after adjusting permissions. But a note of caution&#8230;<\/p>\n<hr class=\"blog-section\">\n<div style=\"width:100%;margin-bottom:30px;\">\n<div style=\"margin:0px;float:right;\"><a href=\"#top\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cdn.coretechnologies.com\/images\/top.jpg\" border=\"0\" width=\"50\" height=\"18\" title=\"Go to the top\" alt=\"\" \/><\/a><\/div>\n<\/div>\n<h2 class=\"blog-caption\">Please be careful when updating service permissions!<\/h2>\n<p>You don&#8217;t want to lock yourself out.<\/p>\n<p>Pay particular attention when adjusting the rights of groups. Because &#8220;Deny&#8221; rights take precedence over &#8220;Allow&#8221; rights, you will strip away your own rights if you block a group that you&#8217;re a member of. And once you block your own account, you won&#8217;t be able to restore your rights without help.<\/p>\n<p>If you do make a mistake, look to our <a href=\"\" target=\"_blank\" rel=\"noopener\">Service Security Editor<\/a> program to help you fix the problem. And <a href=\"\/blog\/service-security-editor\/restore-service-access-rights\/\">this article<\/a> offers a few troubleshooting tips.<\/p>\n<div style=\"margin-top:30px\" align=\"center\">\n<div class=\"cta-button-1\">\n<table role=\"presentation\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"left\">\n<tbody>\n<tr>\n<td align=\"center\"><a href=\"\/blog\/tag\/alwaysup-tag\/\" title=\"More articles about AlwaysUp\"><span><nobr>More articles about AlwaysUp&#8230;<\/nobr><\/span><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\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\/alwaysup\/avoid-shutdown-restarts\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Q&amp;A: Why does AlwaysUp Restart my Application During Windows Shutdown?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/shutdown-windows-150x150-1.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\">Q&amp;A: Why does AlwaysUp Restart my Application During Windows Shutdown?<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/restart-service-regularly\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Q &amp; A: How do I Restart my Application\/Service Regularly from AlwaysUp?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/qa-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\">Q &amp; A: How do I Restart my Application\/Service Regularly from AlwaysUp?<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/implementing-iso-27001-isms\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"How AlwaysUp Supports Your ISO 27001 ISMS\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/iso-27001-logo-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\">How AlwaysUp Supports Your ISO 27001 ISMS<\/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;Dear support, It is possible to protect AlwaysUp by password to prevent unauthorized change of settings or unauthorized intervention? &mdash; Tom\u00e1\u0161 Hi Tom\u00e1\u0161, thanks for getting in touch. I can tell you that safety and security are front and center &hellip; <a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/secure-windows-service\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":12188,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[26,335,127,143,148,151,173],"class_list":["post-11702","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-alwaysup","tag-alwaysup-tag","tag-permissions","tag-qa","tag-security","tag-service-security-editor-2","tag-services-msc","tag-user-account-control"],"_links":{"self":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/11702","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=11702"}],"version-history":[{"count":14,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/11702\/revisions"}],"predecessor-version":[{"id":13280,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/11702\/revisions\/13280"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media\/12188"}],"wp:attachment":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=11702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=11702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=11702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}