30

I got one of those little lilliput external monitors for my laptop. When I close the lid on my laptop, it switches the primary display to external monitor. I want to prevent it from doing this, and instead just blank both screens but not alter the monitor configuration.

I looked at the Power Options "Change what to do when closing the lid" option, but that just gives options for Sleep, Hibernate or Do Nothing. I want to Do Nothing, and prevent the monitor reconfiguration. Any ideas?

Thanks in advance!

Oh, BTW, I'm running Windows 7 Ultimate on an Alienware with the ATI graphics card.

CLARIFY: My reasoning for this question is that I often carry my laptop back and forth between rooms, but not far enough that I'm going to shut it down and restart. Normally I just closed the lid and picked it up. The problem is, now when i close the lid, it switches the primary display to the external, and then when i reopen it, it switches back to the internal monitor. This then winds up futzing up layout things, such as gadgets and sticky notes.

eidylon
  • 1,829

5 Answers5

23

EDIT: I know this is an old question, but I thought it deserved a proper answer.

There is a way to solve this problem (at least with Windows 7). Bear in mind that this comes with a cost; here are the caveats

  1. Closing your laptop lid will not dim or turn off the screen.
  2. You have to change a device driver, which may be a bit scary for some people

Despite the above cons, I think the benefits outweighs it by a lot. There are ways to combat the first caveat too:

  • Set your monitor to dim in one minute and for it to turn off in 2 minutes within Power Options. That way, the monitor will not be unnecessarily on when you're not using the computer for more than 2 minutes. (this won't help if you're still using the other monitor)
  • Also, take a look at this link to create a shortcut to turn off your monitor.

I'm using a MacBook with Bootcamp; luckily, I can just turn down my brightness all the way so that it dims the screen completely. Some other laptop models may be able to do that as well.

Here are the steps:

  1. Open Device Manager (search it in the Start menu).
  2. In "System devices" find "ACPI lid".
  3. Open "ACPI lid" properties, and go to the "Driver" tab.
  4. Select "Update driver".
  5. Choose "Browse my computer for driver software" and "Let me pick.."
  6. Uncheck "Show compatible hardware".
  7. In "Manufacturer" select "(Standard system devices)", or in Windows 8, choose Microsoft as the manufacturer - different place, but the hack still works (at least in the 64bit Release Preview)
  8. For model, select "Volume manager".
  9. Restart the system and it works!

Source: http://forums.whirlpool.net.au/archive/1421975 - yakup's post

slhck
  • 235,242
Steve
  • 1,639
  • 17
  • 25
4

For Windows 7:

  1. Open the registry editor (regedit.exe)
  2. Navigate to the following key (you will have to identify the correct GUID for your display):

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Video\{********-****-****-****-************}\0000
    
  3. Create a new DWORD called LidAlwaysOpen and set its value to 1
  4. Reboot
Synetech
  • 69,547
Brett
  • 41
  • 2
4

The solution by Brett via Powershell (if you're too lazy)

To execute it:

  1. save script in some folder (LidAlwaysOpen.ps1)
  2. run cmd.exe as administrator
  3. type powershell
  4. type Set-ExecutionPolicy RemoteSigned (this will allow execution of Powershell stuff on your machine only)
  5. cd to folder you've saved script
  6. type ./LidAlwaysOpen.ps1

Script code:

foreach ($display in Get-ChildItem -Path Registry::HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Video) {
 New-ItemProperty -LiteralPath Registry::$display\0000 -Name LidAlwaysOpen -PropertyType DWORD -Value 1
}
raggzy
  • 41
1

Just to add to rob's answer. For example, on my hp 6715 there is a button (literally, a small button) which can be plainly seen (is a little above the wireless button) and the laptop top literally presses it when it is closed. If you have a similar on your you could theoretically cut it in half or something, and then it wouldn't turn off when the lid is closed.

However, this is highly (with a capital H) unrecommendable ...

Rook
  • 24,289
0

As far as I know, the laptop will always switch the built-in display off and reconfigure the external display as the primary when you close the lid. If it didn't, you would end up with programs and dialogs opening on the built-in display, but you would have no way to see them.

When you open the lid again, it should reconfigure the displays so the built-in is once again the primary.

The only ways I can think of to force the displays not to reconfigure are to either not close the lid all the way, or disable the mechanical or magnetic switch that detects when the lid has closed.

rob
  • 14,388