JSI Tip 8183. When you run 'reg restore Rootkey[\Key] FileName.hiv', you receive 'Access Denied'?

If you run:

reg save RootKey Filename.hiv,

where RootKey is HKLM, HKCU, HKCR, HKU, or HKCC, and subsequently run:

reg restore Rootkey\[\Key\] FileName.hiv,

you receive an Access Denied error message.

To workaround this behavior, use:

reg restore \\%ComputerName%\Rootkey\[\Key\] FileName.hiv

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.