PowerShell Error: Could not read from registry REGDB_E_READREGDB

Exception from HRESULT: 0x80040150 (REGDB_E_READREGDB))

Calling PowerShell from Task Scheduler on Windows 8.1 x64.  Task principal is local account with administrator privs.

Below error from Powershell Event Log - eventvwr.msc > Applications and Service Logs > Windows PowerShell

More info about the error here: https://msdn.microsoft.com/en-us/library/cc704587.aspx

What part of the registry is PS trying to read from?  How to find out?  What perms does PS need on registry hives?

Log Name:      Windows PowerShell
Source:        PowerShell
Date:          8/21/2015 12:45:34 PM
Event ID:      103
Task Category: Engine Health
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      mycomp.mydom.com
Description:
Settings: Could not read key from registry (Exception from HRESULT: 0x80040150 (REGDB_E_READREGDB))

Details:
 ExceptionClass=COMException
 ErrorCategory=
 ErrorId=
 ErrorMessage=Could not read key from registry (Exception from HRESULT: 0x80040150 (REGDB_E_READREGDB))



  • Edited by jott19 11 hours 8 minutes ago
August 21st, 2015 4:00pm

Post the script that is causing this.

Free Windows Admin Tool Kit Click here and download it now
August 21st, 2015 5:20pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics