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.
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?
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…
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: