Solved

XP Power Settings: "Shut down" option not available for "When I close the lid of my portable computer"

Posted on 2004-10-04
7
685 Views
Last Modified: 2011-10-03
Hi experts,

I have been building laptops using windows 2000.  These laptops power scope equipment that travel in a van which my companies engineers use for testing.  To make things simple I have configured the laptop to power up and login when you open the lid and power down when you close the lid.

I have just started using windows XP.  In the Power settings the "Shut down" option is not available for "When I close the lid of my portable computer."  This is an option which is available in 2000.

Does anyone know how I can do this in XP?

Much appreciated,
Jack.
0
Comment
Question by:jackallan
7 Comments
 
LVL 8

Expert Comment

by:amirinamdar
Comment Utility
0
 
LVL 36

Accepted Solution

by:
Zyloch earned 400 total points
Comment Utility
Hi jackallan,

Unfortunately, Windows XP just isn't built to do this. There may be alternative ways or programs, I'll search for you, but it doesn't look too good.

Regards,
Zyloch
0
 
LVL 36

Expert Comment

by:Zyloch
Comment Utility
This page http://msdn.microsoft.com/library/default.asp?url=/library/en-us/kmarch/hh/kmarch/k102_db841434-fe00-448d-b5bb-2c35d1ad0ec4.xml.asp shows a kernel call that can detect the lid closing (a bit down, it's a Power State option). If you detect it, probably you can execute your own command, i.e. shutting down the computer.

I suggest possibly trying to post in the Programming section with the link. Maybe also try VB with this link: http://support.microsoft.com/default.aspx?scid=kb;en-us;316440 (not sure if you can really do it with VB) or maybe in C++?

Regards...
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 2

Author Comment

by:jackallan
Comment Utility
Hrm seems a bit extreme...  I'd like to avoid any development if possible.  Thanks though.
I wonder why Microsoft in its infinite wizdom chose to remove this feature?  
0
 
LVL 36

Expert Comment

by:Zyloch
Comment Utility
You never know. Maybe they're afraid you'll lose some important document if you shutdown by accident--although Stand By kind of is the same thing, right?
0
 
LVL 7

Assisted Solution

by:Worked4me
Worked4me earned 100 total points
Comment Utility

  You best option may be to enable Hibernation and set the Laptop to Hibernate
  when the lid is closed.  On the hibernation tab it says it says stores everything
  that was in memory to the hard disk and then shutsdown.
  Once you enable hibernation you will have the option to select it in the drop down
  box on When I close the lid of my computer.

  Good Luck.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now