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 1 minutes ago