3 weeks ago
Hi,
I have created a batch file with the following command (with username and domain replaced with relevant details of course):
runas /netonly /user:username@domain "mmc %SystemRoot%\system32\dsa.msc"
Using the Utility - Environment::Start process action I launch this batch file and it opens up the command prompt to enter the password:
After entering the password however nothing happens.
If I try this manually outside of blueprism same thing happens unless I run the batch file as administrator; this is when active directory users and computers launches as expected after entering the password.
I'm guessing I need to get blue prism to launch the batch file as an administrator? Any help on this would be greatly appreciated.
3 weeks ago
Hi @rabbanir
Based on the description you provided above, it sounds like you need to open blue prism as admin and check that will change any thing.
Below I provided KB article and discussion about running Blue Prism as Admin.
https://support.blueprism.com/en/support/solutions/articles/7000078521-bpe-error-similar-to-internal-failed-to-perform-step-1-in-navigate-stage-launch-on-page-launch-
https://community.blueprism.com/t5/Product-Forum/Unable-to-attach-Local-User-and-Group-Manager/m-p/117086#M52382
3 weeks ago
Hi @rabbanir
Have you tried the following command?
echo your_password| runas /netonly /user:username@domain "mmc %SystemRoot%\system32\dsa.msc"
Best Regards,
Sayeed Bin Abdullah
2 weeks ago
Hi Harish,
thank you for the suggestion, Running blue prism as admin works thank you. This is fine for while I am building the automation however when running this in control room how would I get around this?
2 weeks ago
HI @rabbanir
Check below articles it has the information about how to run the BP as admin even in Control Room. there are couple of settings need to updated as per the suggestion described.
https://support.blueprism.com/en/support/solutions/articles/7000078521-bpe-error-similar-to-internal-failed-to-perform-step-1-in-navigate-stage-launch-on-page-launch-
https://community.blueprism.com/t5/Product-Forum/Unable-to-attach-Local-User-and-Group-Manager/m-p/117086#M52382
2 weeks ago
Hi Harish,
thank you for the follow up. I have tried the suggestion in the article you have linked and it works for development purposes/running the process in debug mode but not if I want to schedule this process on a resource (like how a process normally runs once live). There must be a way to get blue prism to run as admin without actually opening up the blue prism application itself?
2 weeks ago
Hi @rabbanir
Assuming that you have updated the properties in blue Prism as mentioned in the screenshot but still unable to run from control room.
2 weeks ago
Also @rabbanir we can create a batch script and run it by invoking it into the Blueprism flow,
You can refer to below link where I've used powershell script to attach image in the body of the email and ran it through a batch file which was invoked in a BP flow.
Best Regards,
Sayeed Bin Abdullah