Hi,
What I'm trying to do is to clone my display at workstation lock and switch to internal or external display at workstation unlock depending on the user.
I found a solution in another post : http://www.sevenforums.com/customization/94917-locked-computer-dual-monitor-3.html
The method 2 described seems to match my case but I can't manage to make it work... I created the tasks but nothing happen when I do Win+L...
Here is the description of the method :
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
METHOD 2: Scheduled Triggers
This workaround involves changing the display to duplicate screens when you lock your computer and changing it back to 2 screens when you unlock it.
To do this, we'll use task scheduler to run some command lines on a trigger. The triggers will be either unlock or locking of the computer.
%windir%\System32\DisplaySwitch.exe /extend to use two screens
%windir%\System32\DisplaySwitch.exe /clone to clone the screens
or we could also use
%windir%\System32\DisplaySwitch.exe /internal to use just one screen
So lets set this up
Create the First Task
Create the Second Task
It takes a few seconds to come up but it should work a-ok.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
If anyone could help ? Thanks !
What I'm trying to do is to clone my display at workstation lock and switch to internal or external display at workstation unlock depending on the user.
I found a solution in another post : http://www.sevenforums.com/customization/94917-locked-computer-dual-monitor-3.html
The method 2 described seems to match my case but I can't manage to make it work... I created the tasks but nothing happen when I do Win+L...
Here is the description of the method :
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
METHOD 2: Scheduled Triggers
This workaround involves changing the display to duplicate screens when you lock your computer and changing it back to 2 screens when you unlock it.
To do this, we'll use task scheduler to run some command lines on a trigger. The triggers will be either unlock or locking of the computer.
%windir%\System32\DisplaySwitch.exe /extend to use two screens
%windir%\System32\DisplaySwitch.exe /clone to clone the screens
or we could also use
%windir%\System32\DisplaySwitch.exe /internal to use just one screen
So lets set this up
Create the First Task
- Open the task scheduler by typing taskschd.msc into RUN or SEARCH and pressing ENTER
- Right Click on Task Scheduler (Local) and select 'Create Task'
- In the Create Task Window Type a Name for first the task (e.g. Single Display Lock)
- Type in a description (E.g. This task is triggered when Windows is locked and changes the display to a single display)
- Tick the 'Run with Highest Privilages' Box
- Change the 'Configure for' drop down box to "Windows 7, Windows Server 2008 R2"
- Select the TRIGGERS tab
- Click NEW
- In the Begin the Task Dropdown select "On workstation lock"
- in The Advanced Settings Select the "Delay Task for" box and type 3 Seconds in the box beside it. NOTE: you may need to increase this if it doesn't work for you.
- Click OK
- Select the ACTIONS tab
- Click NEW
- In the Program/Script box type the following %windir%\System32\DisplaySwitch.exe
- In the Add Arguments box type /clone
- Click OK
- Select the CONDITIONS tab
- Click OK to save and exit the new task
Create the Second Task
- Open the task scheduler by typing taskschd.msc into RUN or SEARCH and pressing ENTER
- Right Click on Task Scheduler (Local) and select 'Create Task'
- In the Create Task Window Type a Name for first the task (e.g. Extended Screen for Unlock)
- Type in a description (E.g. This task is triggered when Windows is unlocked and extends the screen to two monitors)
- Tick the 'Run with Highest Privilages' Box
- Change the 'Configure for' drop down box to "Windows 7, Windows Server 2008 R2"
- Select the TRIGGERS tab
- Click NEW
- In the Begin the Task Dropdown select "On workstation unlock"
- in The Advanced Settings Select the "Delay Task for" box and type 3 Seconds in the box beside it. NOTE: you may need to increase this if it doesn't work for you.
- Click OK
- Select the ACTIONS tab
- Click NEW
- In the Program/Script box type the following %windir%\System32\DisplaySwitch.exe
- In the Add Arguments box type /extend
- Click OK
- Select the CONDITIONS tab
- Click OK to save exit the new task
It takes a few seconds to come up but it should work a-ok.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
If anyone could help ? Thanks !
My Computer
- Computer type
- PC/Desktop
- OS
- Windows 7 Ultimate x64