Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Change display settings on Workstation lock

28 Apr 2013   #1

Windows 7 Ultimate x64
 
 
Change display settings on Workstation lock

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 : Locked computer dual monitor

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
  1. Open the task scheduler by typing taskschd.msc into RUN or SEARCH and pressing ENTER
  2. Right Click on Task Scheduler (Local) and select 'Create Task'
  3. In the Create Task Window Type a Name for first the task (e.g. Single Display Lock)
  4. Type in a description (E.g. This task is triggered when Windows is locked and changes the display to a single display)
  5. Tick the 'Run with Highest Privilages' Box
  6. Change the 'Configure for' drop down box to "Windows 7, Windows Server 2008 R2"
  7. Select the TRIGGERS tab
  8. Click NEW
  9. In the Begin the Task Dropdown select "On workstation lock"
  10. 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.
  11. Click OK
  12. Select the ACTIONS tab
  13. Click NEW
  14. In the Program/Script box type the following %windir%\System32\DisplaySwitch.exe
  15. In the Add Arguments box type /clone
  16. Click OK
  17. Select the CONDITIONS tab
  18. Click OK to save and exit the new task

Create the Second Task
  1. Open the task scheduler by typing taskschd.msc into RUN or SEARCH and pressing ENTER
  2. Right Click on Task Scheduler (Local) and select 'Create Task'
  3. In the Create Task Window Type a Name for first the task (e.g. Extended Screen for Unlock)
  4. Type in a description (E.g. This task is triggered when Windows is unlocked and extends the screen to two monitors)
  5. Tick the 'Run with Highest Privilages' Box
  6. Change the 'Configure for' drop down box to "Windows 7, Windows Server 2008 R2"
  7. Select the TRIGGERS tab
  8. Click NEW
  9. In the Begin the Task Dropdown select "On workstation unlock"
  10. 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.
  11. Click OK
  12. Select the ACTIONS tab
  13. Click NEW
  14. In the Program/Script box type the following %windir%\System32\DisplaySwitch.exe
  15. In the Add Arguments box type /extend
  16. Click OK
  17. Select the CONDITIONS tab
  18. 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 System SpecsSystem Spec
.

02 May 2013   #2

Windows 7 Ultimate x64
 
 

anyone ?
My System SpecsSystem Spec
02 May 2013   #3

Windows 8.1 Pro | Windows 7 Home Premium 64-bit SP1
 
 

I have never tried that, but I would try method 3
My System SpecsSystem Spec
.


Reply

 Change display settings on Workstation lock




Thread Tools



Similar help and support threads for2: Change display settings on Workstation lock
Thread Forum
DPI Display Size Settings - Change Tutorials
How to create batch script to lock workstation then log off. General Discussion
Lock Down System Restore Settings Backup and Restore
track / log user ctrl+alt+del lock and unlock workstation System Security
Lock Workstation problems General Discussion
Lock Workstation taking too long General Discussion
Display error, leading to computer lock, with dump BSOD Help and Support

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 03:02 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33