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: Prevent shutdown when not initiated by user

02 Mar 2015   #11
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

This article has a free program you can play with.
Donít Sleep: Prevent Windows Shutdown, Sleep, Hibernate, Restart

Looks like if can prevent shutdown, but allow sleep and hibernate.
You would probably need to disable Shutdown blocking when you want to do a shutdown ?


My System SpecsSystem Spec
.
02 Mar 2015   #12
brunoais

WinNT 6.1 Pro x64 Build 7601
 
 

Quote   Quote: Originally Posted by DavidE View Post
This article has a free program you can play with.
Donít Sleep: Prevent Windows Shutdown, Sleep, Hibernate, Restart

Looks like if can prevent shutdown, but allow sleep and hibernate.
You would probably need to disable Shutdown blocking when you want to do a shutdown ?
As I thought, it doesn't work. Windows doesn't care a program doesn't want to turn itself off. It just kills the "annoying" process and moves on.
My System SpecsSystem Spec
02 Mar 2015   #13
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

If you go back to the idea of using Shawn's tutorial and Local Security Policy,
Here is an MS article with ideas for running a script on low battery.
How can I run a custom command/script when the battery state reaches low/critical level

Maybe you could get a script to run a hibernate command from your account with shutdown authority ???
My System SpecsSystem Spec
.

Reply

 Prevent shutdown when not initiated by user




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Sidebar prevent computer shutdown!
After a fresh SP1 install (with all updates) i encounter this (quite common apparently..) which is the sidebar freezing during shutdown and altering its process. So far i couldn't fix this. Probably some will respond "just turn off that sh**" but no i have some nice (and clean) widget i wanna...
General Discussion
Installing rights to standard user or prevent an admin user something
I tried to google this and it seems neither is possible but I wanted to hear the truths from the horses mouth. I have a Win 7 Pro x64 computer with 2 users who boths needs to be able (this really is a must) install software on the computer but they can't have access to each other's private...
General Discussion
Prevent Shutdown ????????????????????
I have to do a lot of works on my PC. But my son also play games from another standard user account. So he always shutdown my PC and I loose all my works. So is there any way to prevent shutdown while other users are logged on.
General Discussion
prevent screen-shutdown when switching user.
Is there a way that i can prevent the computer from turning off the screen while switching user? My screen reacts really slow when it gets turned off, then on again by the computer, so its just turns black for ages.
General Discussion
Programming: How to prevent shutdown using VB?
Hello, sorry if i post in wrong thread. I'm in project to build an i-cafe software for my own i-cafe. I need the code to prevent windows 7 for shutdown if my application still running. My current code work fine in windows xp without any problem, but not in vista and 7. There are anyone here can...
General Discussion
Prevent Network Card shutdown on ethernet cable removal
I need to know if this is a Windows 7 issue... I am running software which is licensed through my network card ID. I have recently bought a new laptop, running Windows 7 for the first time. Unless there is a network cable plugged in, I have no access at all to my card and so the software does...
Network & Sharing


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 01:05.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App