PowerShell ISE script fails ResourceUnavailable: (:) [New-Object], COMException Outlook.Application

Lee E. Johnson 20 Reputation points
2025-07-06T17:11:26.97+00:00

PowerServe ISE script running successfully until 7/4/2025 now fails on: 2 $olApp = new-object -comobject outlook.application

Error Message:

new-object : Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following

error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).

At C:\Users\ljohnson\Documents\Change Contact ClientID.ps1:2 char:10

2 $olApp = new-object -comobject outlook.application

  • CategoryInfo : ResourceUnavailable: (:) [New-Object], COMException
    • FullyQualifiedErrorId : NoCOMClassIdentified,Microsoft.PowerShell.Commands.NewObjectCommand

I have tried:

-verified permissions

-re-regestered outlook and dlls

-verified both Powershell and Outlook are 64 bit

-run powershell as an administrator

Outlook | Windows | Classic Outlook for Windows | For business
{count} votes

1 answer

Sort by: Most helpful
  1. Lee E. Johnson 20 Reputation points
    2025-07-06T23:43:14.6233333+00:00

    I was able to correct the problem by doing an OnLine Repair of the product.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.