cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot launch Active Directory Users and Computers as different user

rabbanir
Level 4

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:

rabbanir_0-1738676200892.png

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.

7 REPLIES 7

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


-----------------------
If I answered your query. Please mark it as the Best Answer

Harish Mogulluri

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

Senior Consultant - Automation Developer
Wonderbotz

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?

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

-----------------------
If I answered your query. Please mark it as the Best Answer

Harish Mogulluri

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?

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.



 

harishmogulluri_0-1739287547635.png

 

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-?_gl=1*ykhl78*_gcl_au*MTgyMTMwOTU3....

-----------------------
If I answered your query. Please mark it as the Best Answer

Harish Mogulluri

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.

https://community.blueprism.com/t5/Product-Forum/Inline-image-in-Outlook-Email-body/m-p/117094/highlight/true#M52383

Best Regards,

 

Sayeed Bin Abdullah

Senior Consultant - Automation Developer
Wonderbotz