Any way to stop mouse going off screen when turning off 2nd monitor?


james_uk

Well-known member
Local time
10:21 AM
Posts
35
OS
Windows 11
Hi, I have a system that I use for both personal and work.

When working, I use a 2nd monitor, and just want to leave this connected and don't want to keep plugging and unplugging it daily.

I am finding, when I turn the 2nd monitor off, my mouse still goes right off the screen as if it was still on.
Is there any way to set it so that when I turn it off, my system knows to fully stop the mouse going off screen?

Obviously, if I take the HDMI lead out the port out, it instantly stops.

Regards
James
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Asus ProArt Studiobook 16 OLED (H7604JI)
    CPU
    Intel i9 13980HX
    Motherboard
    Unknown
    Memory
    32GB
    Graphics Card(s)
    NVidia Geforce 4070
    Monitor(s) Displays
    16" Oled
    Hard Drives
    1TB
Hello James, :alien:

You can test using the method in the tutorial below to toggle on/off remove display to see if that may work better for you.

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
Hi, I have a system that I use for both personal and work.

When working, I use a 2nd monitor, and just want to leave this connected and don't want to keep plugging and unplugging it daily.

I am finding, when I turn the 2nd monitor off, my mouse still goes right off the screen as if it was still on.
Is there any way to set it so that when I turn it off, my system knows to fully stop the mouse going off screen?

Obviously, if I take the HDMI lead out the port out, it instantly stops.

Regards
James
I'm unable to test this at this moment, but memory says that it fixes this to choose the "Show only on 1" on the multiple displays drop-down list. Then when wanting to once again use both monitors, selecting "Extend these displays" on the drop-down list.

FWIW, this also seems to keep my Desktop Icons from phantomly creping over on to the other (off & non-visible) display.
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Homebuilt
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Gigabyte B550 Gaming X V2 MOBO (Rev 1.4)
    Memory
    32GB DDR4
    Graphics Card(s)
    AMD Radeon On-board Graphics
    Sound Card
    Realtek High Definition Audio (on board)
    Monitor(s) Displays
    Jlink FHD 32 Inch & VIZIO M322I - 32 Inch
    Screen Resolution
    1920 X 1080
    Hard Drives
    960 GB SanDisk Ultra II SSD - Internal
    480 GB Kingston A400 SSD - Internal
    3 TB Western Digital Green WDC 30EZRX-00DC0B0 HDD - Internal
    4 TB Seagate IronWolf HDD - Internal
    PSU
    Seasonic S12III
    Case
    Antec GX 500
    Cooling
    AMD 'Boxed' OEM CPU Fan
    Keyboard
    Dell Milti Media Wired
    Mouse
    Logitech M720 Triathlon Wireless Mouse
    Internet Speed
    480 Mbps
    Browser
    Chrome
    Antivirus
    Windows Defender
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkPad E595 20NF 15.6"
    CPU
    AMD Ryzen 5 - 3500U
    Motherboard
    Lenovo
    Memory
    16GB DDR4
    Graphics card(s)
    AMD Radeon Vega 8
    Sound Card
    AMD High Definition Audio
    Monitor(s) Displays
    16:9 IPS
    Screen Resolution
    1920 x 1080
    Hard Drives
    256 GB Samsung NVMe SSD
    Crucial 1TB SSD
    PSU
    Lenovo
    Case
    Lenovo
    Cooling
    Lenovo
    Mouse
    Wireless hand held trackball
    Keyboard
    Lenovo
    Internet Speed
    400 Mbps
    Browser
    Chrome
    Antivirus
    Windows Defender
altaylor is correct.
Switch display to the computer-only and only then turn the 2nd monitor off.
And turn the 2nd monitor back on before you switch to Extended display.

Switching can be done conveniently by using shortcuts to the built-in command rather than have to dive through the user interface.
Create a Display Switch shortcut - TenForumsTutorials
Shortcuts attached in a zipfile.
Name 1 PC display - Target field DisplaySwitch.exe /internal
Name 2 Duplicate displays - Target field DisplaySwitch.exe /clone
Name 3 Extend display - Target field DisplaySwitch.exe /extend
Name 4 External display - Target field DisplaySwitch.exe /external
and, not essential but sometimes of interest,
Name DisplaySwitch - Target field DisplaySwitch.exe
Name Settings, System, Display - Target field ms-settings:display

And if you ever need to, you can switch displays using just the keyboard without any of them being on i.e. when you cannot see your shortcuts.
Switch displays blindly - my post #5 - TenForums


All the best,
Denis
 

Attachments

  • SwitchDisplay shortcuts.zip
    5.4 KB · Views: 1
Last edited:

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
altaylor is correct.
Switch display to the computer-only and only then turn the 2nd monitor off.
And turn the 2nd monitor back on before you switch to Extended display.

Switching can be done conveniently by using shortcuts to the built-in command rather than have to dive through the user interface.
Create a Display Switch shortcut - TenForumsTutorials
Shortcuts attached in a zipfile.
Name 1 PC display - Target field DisplaySwitch.exe /internal
Name 2 Duplicate displays - Target field DisplaySwitch.exe /clone
Name 3 Extend display - Target field DisplaySwitch.exe /extend
Name 4 External display - Target field DisplaySwitch.exe /external
and, not essential but sometimes of interest,
Name DisplaySwitch - Target field DisplaySwitch.exe
Name Settings, System, Display - Target field ms-settings:display

And if you ever need to, you can switch displays using just the keyboard without any of them being on i.e. when you cannot see your shortcuts.
Switch displays blindly - my post #5 - TenForums


All the best,
Denis
Thank you for sharing your display shortcuts. I tested them on my desktop layout and they are perfect!
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Homebuilt
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Gigabyte B550 Gaming X V2 MOBO (Rev 1.4)
    Memory
    32GB DDR4
    Graphics Card(s)
    AMD Radeon On-board Graphics
    Sound Card
    Realtek High Definition Audio (on board)
    Monitor(s) Displays
    Jlink FHD 32 Inch & VIZIO M322I - 32 Inch
    Screen Resolution
    1920 X 1080
    Hard Drives
    960 GB SanDisk Ultra II SSD - Internal
    480 GB Kingston A400 SSD - Internal
    3 TB Western Digital Green WDC 30EZRX-00DC0B0 HDD - Internal
    4 TB Seagate IronWolf HDD - Internal
    PSU
    Seasonic S12III
    Case
    Antec GX 500
    Cooling
    AMD 'Boxed' OEM CPU Fan
    Keyboard
    Dell Milti Media Wired
    Mouse
    Logitech M720 Triathlon Wireless Mouse
    Internet Speed
    480 Mbps
    Browser
    Chrome
    Antivirus
    Windows Defender
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkPad E595 20NF 15.6"
    CPU
    AMD Ryzen 5 - 3500U
    Motherboard
    Lenovo
    Memory
    16GB DDR4
    Graphics card(s)
    AMD Radeon Vega 8
    Sound Card
    AMD High Definition Audio
    Monitor(s) Displays
    16:9 IPS
    Screen Resolution
    1920 x 1080
    Hard Drives
    256 GB Samsung NVMe SSD
    Crucial 1TB SSD
    PSU
    Lenovo
    Case
    Lenovo
    Cooling
    Lenovo
    Mouse
    Wireless hand held trackball
    Keyboard
    Lenovo
    Internet Speed
    400 Mbps
    Browser
    Chrome
    Antivirus
    Windows Defender
In addition: :alien:

 

My Computers

System One System Two

  • OS
    Windows 11 Pro for Workstations
    Computer type
    PC/Desktop
    Manufacturer/Model
    Custom self build
    CPU
    Intel i7-8700K 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz (F4-3600C18D-32GTZR)
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING (11GB GDDR5X)
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    2 x Samsung Odyssey G75 27"
    Screen Resolution
    2560x1440
    Hard Drives
    1TB Samsung 990 PRO M.2,
    4TB Samsung 990 PRO M.2,
    8TB WD MyCloudEX2Ultra NAS
    PSU
    Seasonic Prime Titanium 850W
    Case
    Thermaltake Core P3 wall mounted
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master 3
    Internet Speed
    1 Gbps Download and 35 Mbps Upload
    Browser
    Google Chrome
    Antivirus
    Microsoft Defender and Malwarebytes Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Galaxy S23 Plus phone
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 2in1 14-eu0098nr (2024)
    CPU
    Intel Core Ultra 7 155H 4.8 GHz
    Memory
    16 GB LPDDR5x-7467 MHz
    Graphics card(s)
    Integrated Intel Arc
    Sound Card
    Poly Studio
    Monitor(s) Displays
    14" 2.8K OLED multitouch
    Screen Resolution
    2880 x 1800
    Hard Drives
    2 TB PCIe NVMe M.2 SSD
    Internet Speed
    Intel Wi-Fi 7 BE200 (2x2) and Bluetooth 5.4
    Browser
    Chrome and Edge
    Antivirus
    Windows Defender and Malwarebytes Premium
Doesn't ⊞+P give you the same options?
Yes it does, however the shortcuts do offer an easier (for me anyway) "one click" solution for "getting 'er done".
 

My Computers

System One System Two

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Homebuilt
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Gigabyte B550 Gaming X V2 MOBO (Rev 1.4)
    Memory
    32GB DDR4
    Graphics Card(s)
    AMD Radeon On-board Graphics
    Sound Card
    Realtek High Definition Audio (on board)
    Monitor(s) Displays
    Jlink FHD 32 Inch & VIZIO M322I - 32 Inch
    Screen Resolution
    1920 X 1080
    Hard Drives
    960 GB SanDisk Ultra II SSD - Internal
    480 GB Kingston A400 SSD - Internal
    3 TB Western Digital Green WDC 30EZRX-00DC0B0 HDD - Internal
    4 TB Seagate IronWolf HDD - Internal
    PSU
    Seasonic S12III
    Case
    Antec GX 500
    Cooling
    AMD 'Boxed' OEM CPU Fan
    Keyboard
    Dell Milti Media Wired
    Mouse
    Logitech M720 Triathlon Wireless Mouse
    Internet Speed
    480 Mbps
    Browser
    Chrome
    Antivirus
    Windows Defender
  • Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkPad E595 20NF 15.6"
    CPU
    AMD Ryzen 5 - 3500U
    Motherboard
    Lenovo
    Memory
    16GB DDR4
    Graphics card(s)
    AMD Radeon Vega 8
    Sound Card
    AMD High Definition Audio
    Monitor(s) Displays
    16:9 IPS
    Screen Resolution
    1920 x 1080
    Hard Drives
    256 GB Samsung NVMe SSD
    Crucial 1TB SSD
    PSU
    Lenovo
    Case
    Lenovo
    Cooling
    Lenovo
    Mouse
    Wireless hand held trackball
    Keyboard
    Lenovo
    Internet Speed
    400 Mbps
    Browser
    Chrome
    Antivirus
    Windows Defender

Latest Support Threads

Back
Top Bottom