CallMeMonks Posted August 17, 2021 Posted August 17, 2021 We have PCs connected to a Promethean interactive screen. The screen usually connects to the PCs HDMI port and the computer monitor to the VGA port. However, when a computer starts up the display is set to extended not clone/duplicate. I've added a GPO startup script (bat file) which includes the following: displayswitch.exe /clone But this doesn't work. The display is still set to extend. The batch file works when I run it manually. We're running Windows 10 on the PCs. Does anyone have any ideas? Am I missing something that is stopping the script executing? Is there a GPO that blocks scripts?
MartinByard Posted August 17, 2021 Posted August 17, 2021 Can you drop the batch file you've got into the startup folder in the start menu for all users, that it way it automates the running of it locally for you (seen as you said it works locally). Alternatively, do you use a logon script - and could you include the command in that ?
CallMeMonks Posted August 17, 2021 Author Posted August 17, 2021 Can you drop the batch file you've got into the startup folder in the start menu for all users, that it way it automates the running of it locally for you (seen as you said it works locally). Alternatively, do you use a logon script - and could you include the command in that ?I've actually done that as a workaround. I've put a shortcut to the batch file in the startup folder and it works when a user logs in. However, I wanted the duplication to happen at the logon screen and not when the user has logged on to the PC.
MartinByard Posted August 17, 2021 Posted August 17, 2021 Ah, I missed that bit. Scheduled task on machine startup, but delayed by a few mins to give things to get settled ?
CallMeMonks Posted August 17, 2021 Author Posted August 17, 2021 Ah, I missed that bit. Scheduled task on machine startup, but delayed by a few mins to give things to get settled ?Again, I've tried running a scheduled task but it doesn't work with the option 'run whether user is logged on or not'. Again, strange.
turnbuj Posted February 16, 2023 Posted February 16, 2023 try in GPO 'Run these programs at logon' wscript \\servername\share\myfile.bat I found that wscript worked for me
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now