title: Powershell: Cannot read a specific Registry-Value
body: <p>I am struggling to read this REG-value via Powershell 5:</p>
  <pre><code>Windows Registry Editor Version 5.00
  [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\SWD\DAFWSDProvider\urn:uuid:cfe92100-67c4-11d4-a45f-0026abfabc42/uri:urn:uuid:cfe92100-67c4-11d4-a45f-0026abfabc42/01]
  &quot;Driver&quot;=&quot;{6bdd1fc6-810f-11d0-bec7-08002be2092f}\\0000&quot;
  </code></pre>
  <p>Even the autocomplete-function in Powershell showing me the REG-path to that key is not working properly.
  Why is it failing? How can I get this value?</p>
  <p>This is the code which is surprisingly NOT working as expected:</p>
  <pre><code>$sub = 'urn:uuid:cfe92100-67c4-11d4-a45f-0026abfabc42/uri:urn:uuid:cfe92100-67c4-11d4-a45f-0026abfabc42/01'
  get-Item -literalPath &quot;HKLM:\SYSTEM\CurrentControlSet\Enum\SWD\DAFWSDProvider\$sub&quot;
  </code></pre>
  <p>Here a screenshot of the subkey that I cannot read:
  <a href="https://i.stack.imgur.com/zbDdk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zbDdk.png" alt="enter image description here" /></a></p>
  <p>I could now drill it down to this situation:</p>
  <ol>
  <li>subkey 'urn:uuid:cfe92100-67c4-11d4-a45f-0026abfabc42'   -&gt; OK</li>
  <li>subkey 'uuid:cfe92100-67c4-11d4-a45f-0026abfabc42/u'     -&gt; OK</li>
  <li>subkey 'urn:uuid:cfe92100-67c4-11d4-a45f-0026abfabc42/u' -&gt; fail!</li>
  <li>subkey 'urn:uuid:cfe92100-67c4-11d4-a45f-0026abfabc42/u' under HKLM:\Software -&gt; OK</li>
  </ol>