cancel
Showing results for 
Search instead for 
Did you mean: 

High Level - Execution

EmersonF
MVP
Hi everyone, I hope you are alright.
So, I have a process in which at a certain moment I need to run a code of code in the blue prism, but for the execution to be successful, the blue prism would need to be run as an administrator, such as restarting a service when necessary.

I know that on other RPA platforms this is allowed, but I haven't found anything like it here, is there any workaround?

I appreciate any attempt to help

------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
+55 (081) 98886-9544
If my answer helped you? Mark as useful!
------------------------------
Sr Cons at Avanade Brazil
2 REPLIES 2

ConradoMeli
Level 5
Hi Emerson,

First i would try to run BP with elevated rights, that should solve the problem. If you are starting the 

If you cant do that because of permissions issue, maybe you can use the "runas" command and execute what you need from a .bat.

@echo off
C:\Windows\System32\runas.exe /user:[NTUSER]@[DOMAIN] /savecred "[COMMAND TO EXECUTE]"

For this to work you have to add the elevated credentials to the windows vault.

Let me know if you find this helpful, if not i will keep looking for another solution.

Regards,

------------------------------
Conrado Meli
Managing Partner
Primus IA
America/Santiago
------------------------------

So, today I use the runas option, my question really was if anyone knew any way within blueprism to run as an administrator, but from what I could see I'll have to create a script to run the runas, in fact I've already started, I believe I'll go up he in DX, thanks a lot!

------------------------------
Emerson Ferreira
Sr Business Analyst
Avanade Brasil
+55 (081) 98886-9544
If my answer helped you? Mark as useful!
------------------------------
Sr Cons at Avanade Brazil