Robotic Process Automation (RPA)

 View Only
  • 1.  Trial version RPA-Unable to start browser -> blocked by group policy

    Posted Tue October 04, 2022 05:25 AM
    Hi,
    I have been try to execute the solveCaptcha.wal from Bot Script Examples, error message shows as following, please help to fix it, thanks.

    System.Exception: Fail to start Chrome navigator ---> 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 OpenQA.Selenium.DriverService.Start()
    at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
    at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
    at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities desiredCapabilities)
    at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor commandExecutor, ICapabilities desiredCapabilities)
    at OpenQA.Selenium.Chrome.ChromeDriver..ctor(ChromeDriverService service, ChromeOptions options, TimeSpan commandTimeout)
    at WDG.Automation.Browser.AutomationBrowser.<CreateChromeInstance>d__35.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Browser.BrowserInstance.<CreateBrowserInstace>d__1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Browser.WebStartCommand.<CreateBrowser>d__75.MoveNext()
    --- End of inner exception stack trace ---
    at WDG.Automation.Browser.WebStartCommand.<CreateBrowser>d__75.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Browser.WebStartCommand.<Execute>d__74.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Language.ErrorHandler.m0nvU46Nja(Exception )
    at WDG.Automation.Language.ErrorHandler.HandleExecutionExceptionIfNeeded(Exception exception, IAutomationCommand command)
    at WDG.Automation.Language.CommandInterpreter.<Run>d__12.vQ7xHXNECMOJPEvfGI5(Object , Object , Object )
    at WDG.Automation.Language.CommandInterpreter.<Run>d__12.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Language.ScriptInterpreter.<RunCore>d__17.MoveNext()


    ------------------------------
    Sue Su
    ------------------------------


  • 2.  RE: Trial version RPA-Unable to start browser -> blocked by group policy

    Posted Mon October 10, 2022 09:34 AM
    Hello Sue,

    It appears the computer is blocking the chrome driver via the group policy. The group policy is a Windows utility for network administrators that can be used to update security and networking policies.

    2 methods I would check would be to see if the specific program is blocked, or if the Software Restriction Policy is enabled for only local administrators.

    1st method - Blocked Program
    1. Access the group policy by using the run command and typing 'gpedit.msc'.
    2. Expand User Configuration > Administrative Templates > System. In the right pane, check to see if the "Don't run specified Windows applications" has been configured. If not, proceed to the 2nd method. If so, double-click it. Then click the show button.
    3. Lastly, remove the chrome.exe or any other IBM RPA applications you see from the disallowed list and click OK

    2nd method - Software Restriction Policy

    1. Search for the Local Security Policy application and access it
    2. Expand Software Restriction Policies > Enforcement.
    3. Select All users except local administrators. Click Apply and restart your PC.

    Then retry running solveCaptcha.wal

    ------------------------------
    Martin Medina
    Salient Process
    ------------------------------



  • 3.  RE: Trial version RPA-Unable to start browser -> blocked by group policy

    Posted Tue October 11, 2022 02:52 AM
    Hello Martin,

    In my case, I cannot run the Windows Apps Automation with the sample app 'Users.exe' from the learning path Basic I: Windows Applications Automation with IBM Robotic Process Automation.
    I've tried opening 'gpedit.msc' and Local Security Policy, but unfortunately, I'm unable to open it. Here is the screenshot.

    Kindly help us with another solution.
    Thank you.

    Regards,

    ------------------------------
    Azis Sugianto Suparman
    ------------------------------



  • 4.  RE: Trial version RPA-Unable to start browser -> blocked by group policy

    Posted Thu January 26, 2023 01:05 PM
    Hi,

    Is this already a solved query? I'm having the same problem in the Trial Version.

    Thanks

    ------------------------------
    FEU Test 4 Test 4
    ------------------------------