{"id":10531,"date":"2021-08-25T18:05:31","date_gmt":"2021-08-26T01:05:31","guid":{"rendered":"https:\/\/www.coretechnologies.com\/blog\/?p=10531"},"modified":"2021-08-25T18:05:31","modified_gmt":"2021-08-26T01:05:31","slug":"windows-password-management","status":"publish","type":"post","link":"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/windows-password-management\/","title":{"rendered":"Q&#038;A: Where does AlwaysUp store the Password for my Windows Account?"},"content":{"rendered":"<div align=\"center\"><img decoding=\"async\" src=\"\/blog\/images\/qa-password-security.png\" style=\"margin-bottom:20px;\" title=\"Q&#038;A: Where does AlwaysUp store the Password for my Windows Account?\" alt=\"Q&#038;A: Where does AlwaysUp store the Password for my Windows Account?\" border=\"0\"><\/div>\n<div class=\"blog-qa-question-box\">\n<img decoding=\"async\" src=\"\/images\/quotes-transparent-21x21.png\">&nbsp;&nbsp;I was looking to use AlwaysUp to run Excel as a service, and it looks like you can specify an account. How is the password stored when specifying an account? I want to make sure it\u2019s stored securely.<\/p>\n<p align=\"right\">&mdash; Ben<\/p>\n<\/div>\n<p>Good question Ben!<\/p>\n<p>You are right to be concerned about security, especially with <a href=\"https:\/\/www.reuters.com\/technology\/hackers-demand-70-million-liberate-data-held-by-companies-hit-mass-cyberattack-2021-07-05\/\" target=\"_blank\" rel=\"noopener\">deadly ransomware attacks<\/a> on the rise.<\/p>\n<p>Rest assured that AlwaysUp manages your Windows securely. Here are some of the measures in place to protect your valuable credentials.<\/p>\n<h2 class=\"blog-caption\">AlwaysUp hides your Windows password on the Logon tab<\/h2>\n<p>As a first line of defense, the field that captures your Windows password &#8220;masks&#8221; the characters, showing asterisks (&#8220;*&#8221;) instead of the characters you type:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/alwaysup-password-obfuscated.png\" class=\"zoomPopup\" title=\"AlwaysUp obfuscates your Windows password\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/alwaysup-password-obfuscated.png\" title=\"AlwaysUp obfuscates your Windows password (click to enlarge)\" alt=\"AlwaysUp obfuscates your Windows password\" border=\"0\" \/><\/a><\/div>\n<p>By doing so, AlwaysUp does not reveal your password to casual onlookers.<\/p>\n<h2 class=\"blog-caption\">Windows stores your password &mdash; not AlwaysUp<\/h2>\n<p>Next, and more importantly, AlwaysUp never keeps, tracks or transmits your Windows password after it creates (or updates) a service.<\/p>\n<p>Instead, AlwaysUp hands your password to the Windows Services layer (via the <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/winsvc\/nf-winsvc-createservicea\" target=\"_blank\" rel=\"noopener\">CreateService<\/a> or <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/winsvc\/nf-winsvc-changeserviceconfiga\" target=\"_blank\" rel=\"noopener\">ChangeServiceConfig<\/a> API functions), which stores the password securely. In that way, your password is handled just as safely as it is with the trusted operating system tools, like the <a href=\"\/blog\/windows-services\/essential-tools-windows-services-msc\/\">Services<\/a> application.<\/p>\n<p>Specifically, the Service Control Manager &mdash; which launches and initializes services &mdash; stores the password with <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/ntsecapi\/nf-ntsecapi-lsastoreprivatedata\" target=\"_blank\" rel=\"noopener\">LsaStorePrivateData<\/a>. And when it&#8217;s ready to start a service, the SCM calls <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/win32\/api\/ntsecapi\/nf-ntsecapi-lsaretrieveprivatedata\" target=\"_blank\" rel=\"noopener\">LsaRetrievePrivateData<\/a> to retrieve the service&#8217;s password. After the initial creation, AlwaysUp is simply not involved.<\/p>\n<h2 class=\"blog-caption\">AlwaysUp doesn&#8217;t include your password when you export<\/h2>\n<p>As another important security measure, AlwaysUp does not (actually, cannot) include your Windows password when you export your application to an XML file. Instead, you will see <b>ENTER A PASSWORD<\/b> in the password field:<\/p>\n<div align=\"center\"><a href=\"\/blog\/images\/alwaysup-password-not-exported.png\" class=\"zoomPopup\" title=\"AlwaysUp doesn't export your Windows password\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" class=\"image-padding\" src=\"\/blog\/images\/alwaysup-password-not-exported.png\" title=\"AlwaysUp doesn't export your Windows password (click to enlarge)\" alt=\"AlwaysUp doesn't export your Windows password\" border=\"0\" \/><\/a><\/div>\n<p>Because AlwaysUp saves a placeholder instead of your password, you will have to re-enter your password when you import the XML file. However our team thought that was a small inconvenience to avoid leaking a sensitive password.<\/p>\n<h2 class=\"blog-caption\">A note on Excel as a service<\/h2>\n<p>Please be sure to follow our tutorial showing <a href=\"https:\/\/www.coretechnologies.com\/products\/AlwaysUp\/Apps\/RunExcel2013AsAWindowsService.html\">how to run Excel 2013 with AlwaysUp<\/a>. Please heed the comment about automation at the top of the page. Unfortunately, not all Excel functions operate properly in the context of a background Windows Service.<\/p>\n<p>Best of luck with Excel!<\/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\/alwaysup\/running-powershell\/\"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 run the 32-bit Version of PowerShell?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/32-bit-vs-64-bit-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 run the 32-bit Version of PowerShell?<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/wellsoft-hospital-emergency-departments\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Customer Spotlight\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/cusomer-spotlight-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\">&quot;AlwaysUp Powers our Mission Critical Application in Hospital Emergency Departments&quot;<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/service-security-editor\/restore-service-access-rights\/\"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 Restore Access Rights to My Windows Service?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/laptop-access-denied-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 Restore Access Rights to My Windows Service?<\/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 was looking to use AlwaysUp to run Excel as a service, and it looks like you can specify an account. How is the password stored when specifying an account? I want to make sure it\u2019s stored securely. &mdash; Ben &hellip; <a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/windows-password-management\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":10582,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[26,259,256,143],"class_list":["post-10531","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-alwaysup","tag-alwaysup-tag","tag-excel","tag-passwords","tag-security"],"_links":{"self":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/10531","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=10531"}],"version-history":[{"count":27,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/10531\/revisions"}],"predecessor-version":[{"id":10588,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/10531\/revisions\/10588"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media\/10582"}],"wp:attachment":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=10531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=10531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=10531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}