Jump to content

Recommended Posts

Posted

Our Hall machine keeps breaking its screen duplication, for some stupid reason. It still knows the projector is there, but it just keeps reverting to extending the screen.

 

I've tried with Task scheduler:

  • Program: C:\Windows\SysWOW64\DisplaySwitch.exe ; Switches: /clone
  • Program: C:\Windows\Sysstem32\DisplaySwitch.exe ; Switches: /clone
  • Program: C:\DuplicateDisplay.bat (DisplaySwitch.exe /clone)

 

I've tried varying when it applies:

  • On Startup
  • On startup, delayed for 30s
  • On Login (Any User)
  • On Unlock (Any User)
  • On connection from user session (Any User)

 

etcetera. All are running as the local admin account, with 'run as highest privileges' set. None of them work.

I've tried running the command manually, the task scheduled manually, and the batch fine manually. All of that works.

 

I'm out of ideas now :(

Posted

Do you ever need to use as extended rather Duplicate? Might be worth just whacking a video splitter in so it only ever sees it as one display...

 

Bit of a cop-out, I know... but would work...

Posted
are people using powerpoint? Mine used to extend when you started a presentation, so I used GPO to disable the extended desktop thing.
Posted (edited)

Is it used with Powerpoint a lot? The default PP presenter mode can screw with the display settings, which is why I now force that off across the whole school.

 

Joanne posted after me, but she used blue Supporter mode to cheat, obviously ;)

Edited by 3s-gtech
Posted
Is it used with Powerpoint a lot? The default PP presenter mode can screw with the display settings, which is why I now force that off across the whole school.

 

Beatcha to it ;)

Posted
Is it used with Powerpoint a lot? The default PP presenter mode can screw with the display settings, which is why I now force that off across the whole school.

 

are people using powerpoint? Mine used to extend when you started a presentation, so I used GPO to disable the extended desktop thing.

 

Yes and yes. But doesn't the default Presenter Mode only activate if there are multiple independent displays? Seems to be that if you're duplicating, you just get your regular, bog-standard, full-screen presentation on both displays.

Posted
Yes and yes. But doesn't the default Presenter Mode only activate if there are multiple independent displays? Seems to be that if you're duplicating, you just get your regular, bog-standard, full-screen presentation on both displays.

 

By default in 2013 and 2016, it goes to Presenter mode and stuffs it. That'd be my first checkpoint. I'm not sure why your scripts aren't running though, that's very odd. Something not right there. You've put it in the Startup folder in the Start Menu?

Posted
By default in 2013 and 2016, it goes to Presenter mode and stuffs it. That'd be my first checkpoint. I'm not sure why your scripts aren't running though, that's very odd. Something not right there. You've put it in the Startup folder in the Start Menu?

Not in Startup, no. Redirected start menu etc, didn't think that would work.

 

Is there a GPO to disable presenter mode, or is it a reg key?

 

Print out some info on Windows Key + P to allow users to switch to duplicate and stick it with the Hall machine.

Trying to avoid them doing anything, since they're not used to WinP, as their classroom machines don't break duplication. It's just an issue with this AIO.

Might do a 'DisplaySwitch /Clone' shortcut but I'd rather have a completely hands-off solution if possible.

Posted
Not in Startup, no. Redirected start menu etc, didn't think that would work.

 

Should work - I use it to fire SfB up (just initial setup) for everyone and that's redirected. Can be a very powerful way of pushing things out to all users.

Posted
Should work - I use it to fire SfB up (just initial setup) for everyone and that's redirected. Can be a very powerful way of pushing things out to all users.

Could you elaborate? If I put something in 'Startup' on the machine, it will proc for all users on that machine? Or do I put it in Startup for the redirected start menu which will make it happen to everyone everywhere? (Cause that would be bad, not every machine needs to duplicate :p)

Posted
User Config > Policies > Admin Templates > Microsoft PowerPoint 2016 > PowerPoint Options > Advanced - Do not allow PowerPoint to automatically extend display when presenting on a laptop or tablet - Enabled
  • Thanks 2
Posted
Or do I put it in Startup for the redirected start menu which will make it happen to everyone everywhere? (Cause that would be bad, not every machine needs to duplicate :p)

 

If you wanted it to only run on specific machines you could do something like

 

goto %computername%
:end
exit
:MYCOMPUTER
displayswitch /clone
goto end

Replace "MYCOMPUTER" with the name of the target computer.

Posted

  • Program: C:\DuplicateDisplay.bat (DisplaySwitch.exe /clone)

 

I run this as a startup script (not using TS) and it seems to work - of course, maybe no-one had complained yet.

  • 1 year later...
Posted
Our Hall machine keeps breaking its screen duplication, for some stupid reason. It still knows the projector is there, but it just keeps reverting to extending the screen.

 

I've tried with Task scheduler:

  • Program: C:\Windows\SysWOW64\DisplaySwitch.exe ; Switches: /clone
  • Program: C:\Windows\Sysstem32\DisplaySwitch.exe ; Switches: /clone
  • Program: C:\DuplicateDisplay.bat (DisplaySwitch.exe /clone)

 

I've tried varying when it applies:

  • On Startup
  • On startup, delayed for 30s
  • On Login (Any User)
  • On Unlock (Any User)
  • On connection from user session (Any User)

 

etcetera. All are running as the local admin account, with 'run as highest privileges' set. None of them work.

I've tried running the command manually, the task scheduled manually, and the batch fine manually. All of that works.

 

I'm out of ideas now :(

I did exactly this and it worked:

1. Created a task to run at login with 30 delays.

2. Asked the task to run the following two:

1. C:\Windows\System32\DisplaySwitch.exe /clone

2. Created a run.bat file and put the following in it:

timeout 5

 

The second task, ran after the first one, kind of confirmed the display switch and made it stick.

 

Hope this helped!

Posted (edited)

Bit of a necrobump, this problem was over a year ago! :p

 

For anyone that finds this thread in future:

are people using powerpoint? Mine used to extend when you started a presentation, so I used GPO to disable the extended desktop thing.

Turns out this was the issue. Forcing that off via GPO solved the problem.

 

The policy in question is:

User Configuration/Policies/Administrative Templates/Microsoft PowerPoint 2016/PowerPoint Options/Advanced

Do not allow PowerPoint to automatically extend display when presenting on a laptop or tablet

Set it to Enabled

Edited by Garacesh

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...