cancel
Showing results for 
Search instead for 
Did you mean: 

How to set Screen Resolution while using scheduler (login agent)??

YogeshSharma1
Level 3
Hi BP Community,

I have a query related to BP, the default screen resolution on the VM we are using for BP is 1920*1080. However, BP changes it to 1136 * 435 while using logging agent (automated run from the scheduler).
Is their any way we can login to 1920*1080 screen resolution while using logging agent from scheduler.?
Kindly help!

Thanks,
Yogesh Sharma

------------------------------
Yogesh Sharma
------------------------------
24 REPLIES 24

Hi Neeraj,

It runs a PowerShell command to change the resolution for the current logged in user. So if logged in user has access to run the command then it should work.

------------------------------
Shashank Kumar
DX Integrations Partner Consultant
Blue Prism
Singapore
+6581326707
------------------------------

Hi @shashank.kumar280, does the new "Set Screen Resolution"
​​ action work for VM based RR without a physical display attached?

------------------------------
Thanks,
Kapil Gupta
------------------------------
Thanks, [FirstName] [LastName]

Hi @kapil Gupta Yes I had tested it on a VM.

 



------------------------------
Shashank Kumar
DX Integrations Partner Consultant
Blue Prism
Singapore
+6581326707
------------------------------

Hi Yogesh, I am also facing similar issue could you please let us know the solution for overcome the resolution issue in the VM



------------------------------
Balramsingh K S
------------------------------

Hello balramsingh

As mentioned above the first thing is to check
1) whether bot able to access powershellwith the existing account
2) by using utility environment vbo( get the latest vbo from digital exchange)
https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---environment
3) create a test proces
A) add the action to  get resolution( just change the resolution manually on the vm )
B) if the resolution is not what it supposed to be then use set resolution action for the same vbo.
C)check the resolution again by using get resolution action
Test this process running from control room.

If you satisfied the result implement these on the desired process or create a separate process and  run frequently based on organization GPO .



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

Harish M
Lead developer
America/New_York TX
------------------------------

----------------------- If I answered your query. Please mark it as the "Best Answer" [FirstName] [LastName] [Designation] [JobTitle] [City] [State] [Phone]

In addition to that as mentioned in the early response you can use windows task manager or create a batch file and keep it on start up folder.



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

Harish M
Lead developer
America/New_York TX
------------------------------
----------------------- If I answered your query. Please mark it as the "Best Answer" [FirstName] [LastName] [Designation] [JobTitle] [City] [State] [Phone]

Hi Harish, Thks for the response, resolution cant be modified in the VM manually also tried the utility which is not working already tried as the powershell script execution is prohibited in the org

15744.jpg


------------------------------
Balramsingh K S
------------------------------

There is a code in C# that changes the size of the screen and you can add it to your robot's flow, this code was developed by a dev here in the community, I can share it with you;



------------------------------
José Francisco Bezerra Nunes Júnior
------------------------------


Hi balaramsingh

As other member mentioned you can try c# also able to do in python or vb.net

I doubt even trying to change the settings  through programmatically will not work.

You might need to check with the infrastructure team whether they are able to update the settings for the vms.



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

Harish M
Lead developer
America/New_York TX
------------------------------
----------------------- If I answered your query. Please mark it as the "Best Answer" [FirstName] [LastName] [Designation] [JobTitle] [City] [State] [Phone]

Thks Jose, I already tried the coding didnt help as the issue still persist.



------------------------------
Balramsingh K S
------------------------------