Message Box activity blocked by Group Policy - yet it worked for another project

Dear all, thank you for reading this.

I’m facing an issue where my message box activity does not work - Bot gets thrown into a runtime error when it reaches the message box stating:

"This program is blocked by group policy. For more information, contact your system administrator.

Exception Type: System.ComponentModel.Win32Exception

RemoteException wrapping System.ComponentModel.Win32Exception: This program is blocked by group policy. For more information, contact your system administrator
at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at UiPath.Core.Activities.MessageBox.GetProcessResult(String text, MessageBoxOptions buttons, String title, Boolean showTopMost)
at UiPath.Core.Activities.MessageBox.<>c.<.ctor>b__2_0(String text, MessageBoxOptions buttons, String title, Boolean showTopMost)
at UiPath.Core.Activities.MessageBox.Execute(CodeActivityContext context)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.ActivityInstance.Execute(ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

I can’t figure out what’s wrong with this as it works perfectly well for another project that I have.

Would appreciate some help please. Thank you.


Welcome back to UiPath forum

Have a view on this thread for troubleshoot

Cheers @Charcoal_potato

Hi Sir, thank you so much for the reply! Unfortunately I do not have the administrator’s rights as it’s a company laptop and it would take ages to solve this issue.

By any chance, are there other ways I can restore the dependencies of another project where the activity is working fine?

Thank you.

So is it throwing error exactly with message box or while executing the job itself

If it is not throwing while execution bringing and throws at message box then is there any reason for using message box

Cheers @Charcoal_potato

Hi, the file runs properly until the point it reaches the message box activity which then threw the error.

The function of the message box is mainly to pause the project so it can prompt the user to perform an action (i.e. zip a file - I was not able to download custom activity to do this due to firewalls issue) before continuing the actions.

Basically, all the activities under System - Dialog do not work. But it is strange that it is working for another project…

Hi pala

The link to the post doesn’t work anymore. I am experiencing the same issue. What was the solution?

Message box uses Uipath.System.Activities and when I use 21.10.2 I got the same error.
However, when I downgraded the dependency to 20.10.4. the message box worked without an error. You can try this as a workaround.
We are trying to solve this by whitelisting some executables in the uipath.
Please refer to this link: