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

Notifications

Announcements

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:
I have the same question (0)
  • 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard