web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / System.ComponentModel....
Power Automate
Unanswered

System.ComponentModel.Win32Exception (0x80004005): The hook procedure is not installed

(0) ShareShare
ReportReport
Posted on by

Hello,

 

When I am trying to build a simple Web Automation flow to complete a Web form filing task, I get an error message. 

 

This error message occurs when I work with the "Focus Text Field on Web Page" and try to add a UI Element. The browser I am using (Edge) does have the Windows Power Automate extension installed on it. 

 

The error message is shown below:

 

Message = The hook procedure is not installed
Error = System.ComponentModel.Win32Exception
Full text = System.ComponentModel.Win32Exception (0x80004005): The hook procedure is not installed
at Gma.System.MouseKeyHook.WinApi.HookHelper.ThrowLastUnmanagedErrorAsException()
at Gma.System.MouseKeyHook.WinApi.HookHelper.HookGlobal(Int32 hookId, Callback callback)
at Gma.System.MouseKeyHook.Implementation.BaseListener..ctor(Subscribe subscribe)
at Gma.System.MouseKeyHook.Implementation.GlobalKeyListener..ctor()
at Gma.System.MouseKeyHook.Implementation.GlobalEventFacade.CreateKeyListener()
at Gma.System.MouseKeyHook.Implementation.EventFacade.GetKeyListener()
at Gma.System.MouseKeyHook.Implementation.EventFacade.remove_KeyDown(KeyEventHandler value)
at PAD.Repositories.Application.ElementTracker.ElementTracker.CleanUpTrackingSession()
at PAD.Repositories.Application.ElementTracker.ElementTracker.<RunTrackingSession>d__38.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at PAD.Repositories.Application.Controls.Commands.CaptureControlCommandHandler.<Handle>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MediatR.Pipeline.RequestPostProcessorBehavior`2.<Handle>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at MediatR.Pipeline.RequestPreProcessorBehavior`2.<Handle>d__2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at WinAutomation.Designer.UI.ProgramItemConfiguration.Pickers.ControlPicker.ViewModels.EmptyControlPickerViewModel.<CaptureControl>d__20.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)


Correlation ID:abaa1d44-7889-4616-b610-d6597875f67b

 

---

Thank you for any help you may provide. 

Categories:
  • Wilbur Profile Picture
    2 on at

    Hi - I have the same error message when trying to add UI elements within a flow.  Were you able to resolve the issue?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard