I am looking for a way how to turn off a laptop with Windows 7 very fast. Fastest way I know of is holding power button for 5 seconds. It is unsatisfying because it is long time and because I need to open the lid of the laptop Unplugging the power would be faster on a desktop computer. Unfortunately my laptop bad design doesn't allow me to remove battery fast enough. (Actually the batery can't be remved at all.)
I know about some adverse effects of turning the computer off this way. So I summarize what I care and don't care about: Some programs could have problems - I don't care. I am not sure if the file system of windows partition could get corrupted. - But I don't care. I am willing to format the partition and reinstall windows and all software if necessary.
On the second partition of the same drive and on the second drive I have data I care about. I need to make sure they wont get corrupted and I want to keep them usable (after reinstalling windows if neccecary). I hope it will be enough to not write anything to these partitions at the time of shutdown or that it will be enough to turn off applications using my data. Is it true? Or is it necessary to turn off some caching?
Another thing I care about is lifetime of my hardware. Can this fast turning off have some adverse effects? And how do I avoid them?
My windows is on SSD drive. I expect that the hardware of SSD won't have problems. Is it true? My data are are on HDD drive. Would it be safer to also ensure that any program ins't reading from the drive? Can I enforce somehow that the head will be parked and that it won't harm anything? (And what about other computer hardware configurations and operating systems? Are there any differences?)
And now questions about speed?
How Can I make it even faster and can I make a script or keyboard shortcut which will turn off or restart the computer this forceful way?
I have tried the application NotMyFault which makes the computer crash. (But it takes about 5 seconds, the computer restarts after crashing(I don't know how to reconfigure it to turninh off) and it isn't console application so I don't know how to script it and associate it with keyboard shortcut).
I also tried shutdown command and psshutdown from windows sysinternals but neighter looks like it could provide me the functionality I wan't (which is doing it forcefully instead of slowly killing processes).