{"id":94825,"date":"2016-11-29T07:00:00","date_gmt":"2016-11-29T22:00:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/oldnewthing\/?p=94825"},"modified":"2019-03-13T10:34:20","modified_gmt":"2019-03-13T17:34:20","slug":"20161129-00","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/oldnewthing\/20161129-00\/?p=94825","title":{"rendered":"The case of the volume label that doesn&#8217;t change"},"content":{"rendered":"<p>A customer liaison forwarded a problem from their customer: When the customer changed the volume label on a drive, the change is not reflected in Explorer. Explorer continues to show the old volume label. <\/p>\n<p>A <a HREF=\"https:\/\/technet.microsoft.com\/en-US\/sysinternals\/processmonitor.aspx\">ProcMon<\/a> trace revealed that <code>svchost.exe<\/code> running as <code>NT AUTHORITY\\SYSTEM<\/code> attempted to open the root of the drive but got <code>STATUS_ACCESS_DENIED<\/code>. The access was coming from the shell hardware service at a point where it calls <code>Get&shy;Volume&shy;Information<\/code> to get the volume label. <\/p>\n<p>Okay, that makes sense that the shell hardware service was trying to access the volume to read the volume label. After all, it was told that there was a change to the volume label, so it&#8217;s going to the volume to see what the new label is. The question is why the shell hardware service, running as <code>SYSTEM<\/code>, got <code>STATUS_ACCESS_DENIED<\/code>. <\/p>\n<p>I asked, &#8220;How did that happen? The <code>SYSTEM<\/code> account should have full access to the drive by default. Did the customer apply a custom ACL that revokes <code>SYSTEM<\/code> access? You&#8217;ll find that a lot of things stop working when you revoke <code>SYSTEM<\/code> access.&#8221; <\/p>\n<p>The customer liaison wrote back, &#8220;Indeed, the customer did remove the <code>SYSTEM<\/code> account from the drive&#8217;s permissions. I am not sure exactly what they were thinking when they revoked <code>SYSTEM<\/code> access. I need to ask them.&#8221; <\/p>\n<p>We didn&#8217;t hear back from the customer, so maybe the customer was too embarrassed to explain why they revoked <code>SYSTEM<\/code> access to the drive. <\/p>\n<p>Another case of a customer changing a security setting without really understanding why they did it, and then wondering why stuff stops working. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Who can read it?<\/p>\n","protected":false},"author":1069,"featured_media":111744,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[104],"class_list":["post-94825","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oldnewthing","tag-tipssupport"],"acf":[],"blog_post_summary":"<p>Who can read it?<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/94825","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/users\/1069"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/comments?post=94825"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/posts\/94825\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media\/111744"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/media?parent=94825"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/categories?post=94825"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/oldnewthing\/wp-json\/wp\/v2\/tags?post=94825"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}