GPO to Run at User Login - String too long
Any ideas on an alternate method of creating a browser instance at user login with a HTTP URL parameter?
Here are the details of my solution that almost works:
- Set a working WMI filter for the requested subnets provided:
Select * FROM Win32_IP4RouteTable
WHERE (Mask='255.255.255.255'
AND (Destination Like '191.168.4.%' OR Destination Like '191.168.5.%' OR Destination Like '191.168.33.%' OR Destination Like '191.168.38.%')) - Created Computer targeted GPO to execute a program at user logon:
Computer Configuration > Policies > Admin Templates >
System > Logon
In the policy item "Run these programs at user logon"
We specified to run a Chrome instance using the parameter "C:\Program Files\Google\Chrome\Application\chrome.exe" https://apps.powerapps.com/play/06b194ae-27c2- <cut off>
However, the item gets cut off due to a character limit – the URL https://apps.powerapps.com/play/06b194ae-27c2-4c28-9634-a82baa6d8023?tenantId=0141856a-3155-40cc-8e14-
Is too long.
This is unfortunate because the command does work if you test a “Start Run ->>> to Edge or Chrome with the below commands.
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" https://apps.powerapps.com/play/06b194ae-27c2-4c28-9634-a82baa6d8023?tenantId=0141856a-3155-40cc-8e14-
"C:\Program Files\Google\Chrome\Application\chrome.exe" https://apps.powerapps.com/play/06b194ae-27c2-4c28-9634-a82baa6d8023?tenantId=0141856a-3155-40cc-8e14-