Automatic Shutdown of Windows PCs

Ken Roach

Lifetime Supporting Member + Moderator
Join Date
Apr 2002
Location
Seattle, WA
Posts
17,496
Hi guys,

What's the current state-of-the-art for automatically shutting down an HMI PC ?

Windows CE and Windows Embedded have very good corruption prevention, but I've been presented with a machine that doesn't have a UPS and runs a full Windows 7 Professional all-in-one PC.

My current policy during shop testing is to include a Shutdown button for the HMI software (Indusoft Web Studio), then use the touchscreen and the Windows Start button to do a full shutdown of the Windows computer.

Operators and installers are unlikely to be as gentle with it as I am.

Do you use that approach, or do you try to have the HMI software issue a shutdown command to Windows so there's just one step ?

Or do you insist on a UPS with a PC data connection and software utility like APC Powerchute ?

Or do you just open the disconnect and hope for the best ?
 
I have seen it done several ways... I think you need to do it automatic as much as possible, W7 needs to reboot a lot and install updates

I just read about W9 and it looks better then 8.1, I think its best to skip 8 like Vista

The last one I worked on they ran a task manager shut down/reboot once a month, this HMI was just watching a process not really controlling anything
 
I've not really had much issue with full Win7 installs and corruption, but (and with MS there usually is a 'but' in there) one thing that can happen is the instance where power is interrupted during initial boot. On those occasions the default it to run Startup Repair. Then you need to connect a keyboard and select a different option from the menu.

To have it ignore errors and try to start normally:

Code:
bcdedit /set {default}   bootstatuspolicy ignoreallfailures
For any serious problems with corruption, I'll keep an image of the drive (made with Clonezilla) handy and restore the image. Usually, the 5-10 minutes to restore the image is quicker that trying to repair a corrupted driver.
 
Thanks for the suggestions and comments, guys.

Making a clone of the HDD when we deliver the machine always seems to fall to the bottom of the task list, but it ought to be higher. On this machine, it will be !
 

Similar Topics

Hello, I need to create an automatic transfer panel that connects to the generator when the mains power is cut. I can draw up to 60kW and draw up...
Replies
0
Views
106
Hello everyone, I'm having trouble solving this one and was hoping someone could help. I have a AB CompactLogix L16ER PLC connected to a AB...
Replies
2
Views
604
Hello everyone, I was hoping someone with a lot of experience with Automatic Device Configuration would chime in with any of your thoughts on this...
Replies
6
Views
1,876
Hello. At my job I get from clients lists of their inputs and outputs (hundreds of them) and what they want the program to do. So I have to type...
Replies
2
Views
1,362
For some reason the PLC (TM221CE16T) saves all Memory Bits and Memory Words automatically so after a cold restart it restores not only %MW0 to...
Replies
18
Views
4,939
Back
Top Bottom