title: Run as administrator, but still "requested registry access is not allowed"
body: <p>I have a Windows PowerShell script. I logged into Windows as an administrator and run the script with PowerShell running as an administrator, and it worked; I could see all the changes happen after running this script.</p>
  
  <p>But I still get the red error message:</p>
  
  <blockquote>
    <p>requested registry access is not allowed</p>
  </blockquote>
  
  <p>which is driving me nuts.</p>
  
  <p>Why am I getting this error and how can I make it go away?</p>