Cloning display on machine start script

%3CLINGO-SUB%20id%3D%22lingo-sub-1151940%22%20slang%3D%22es-ES%22%3ECloning%20display%20on%20machine%20start%20script%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1151940%22%20slang%3D%22es-ES%22%3E%3CP%3EHi%2C%20we%20have%20in%20my%20organization%20this%20scenario%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWindows%20computers%20on%20classrooms%20joined%20to%20a%20domain.%3C%2FP%3E%3CP%3ESame%20deployed%20images%3C%2FP%3E%3CP%3EComputers%20with%20frozen%20deepfreeze%3C%2FP%3E%3CP%3EDual%20monitor%20configuration.%20Monitor%20for%20teacher%20and%20projector%20for%20students%20on%20vga%2Fdisplayport%20ports%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EEvery%20time%20the%20operating%20system%20image%20is%20deployed%20the%20screen%20is%20shown%20on%20single%20display%20(monitor%20or%20projector).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESome%20times%20the%20projector%20is%20turned%20off%20and%20the%20ctrl%2Balt%2Bscreen%20screen%20it's%20%22hidden%22%20on%20the%20turned-off%20display%20or%20its%20shown%20in%20projector%20that%20is%20in%20a%20hard-view%20angle%20for%20the%20teacher.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDisplayswitch%20%2Fclone%20is%20executed%20via%20user%20domain%20script%20(powershell)%20on%20this%20computers%20but%20has%20been%20impossible%20to%20execute%20this%20command%20on%20computer%20start%20domain%20script.%20Maybe%20security%20reasons%20of%20o.s.%2C%20I%20don't%20know.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EToday%20can%20I%20clone%20display%20every%20time%20computer%20starts%20without%20pre-configure%20computers%20one%20by%20one%20to%20clone%20display%3F%20With%20powershell%20or%20another%20command%2Futility%20that%20can%20be%20executed%20on%20start%20computer%20script.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1151940%22%20slang%3D%22es-ES%22%3E%3CLINGO-LABEL%3EWindows%20PowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1206000%22%20slang%3D%22en-US%22%3ERe%3A%20Cloning%20display%20on%20machine%20start%20script%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1206000%22%20slang%3D%22en-US%22%3E%3CP%3EThe%20only%20%22PowerShell%22%20solution%20I%20know%20of%20is%20just%20wrapping%20the%20displayswitch%20utility.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOne%20thing%20to%20try%20is%20running%20the%26nbsp%3B%3CSPAN%3EDisplayswitch%20%2Fclone%20script%20in%20a%20scheduled%26nbsp%3Btask%2C%20specifically%20using%20a%20user%20account%20and%20storing%20the%20password%20(though%20try%20without%20too).%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIf%20that%20works%20it's%20a%20case%20of%20figuring%20out%20how%20to%20deploy%20the%20task%20in%20a%20GPO%20or%20in%20the%20image.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EGood%20luck!%20Interested%20in%20knowing%20how%20you%20get%20on%20with%20this%20one.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Visitor

Hi, we have in my organization this scenario:

 

Windows computers on classrooms joined to a domain.

Same deployed images

Computers frozen with deepfreeze

Dual monitor configuration. Monitor for teacher and projector for students on vga/displayport ports

 

Every time the operating system image is deployed the screen is shown on single display (monitor or projector).

 

Some times the projector is turned off and the ctrl+alt+screen screen it's "hidden" on the turned-off display or its shown in projector that is in a hard-view angle for the teacher.

 

Displayswitch /clone is executed via user domain script (powershell) on this computers but has been impossible to execute this command on computer start domain script. Maybe security reasons of o.s., I don't know.

 

¿Hoy can I clone display every time computer starts without pre-configure computers one by one to clone display? With powershell or another command/utility that can be executed on start computer script.

 

Thanks.

 

1 Reply
Highlighted

The only "PowerShell" solution I know of is just wrapping the displayswitch utility.

 

One thing to try is running the Displayswitch /clone script in a scheduled task, specifically using a user account and storing the password (though try without too).

 

If that works it's a case of figuring out how to deploy the task in a GPO or in the image.

 

Good luck! Interested in knowing how you get on with this one.