IMDTouchKnowledge BaseShop main store

Explainer

Why a Windows 10 panel PC needs a controlled shutdown

Panel PCs and displays Published 8 min read

Short answer

A Windows 10 panel PC running SCADA and SQL must receive the operating system's shutdown command before machine power is removed. Cutting the supply interrupts file-system writes, database transactions and pending updates, and a clean reboot does not prove the records survived. Give the machine a SCADA shutdown button or remote task, a UPS with an automatic trigger for supply failures, and an interlock that removes power only after Windows is down.

On this page
  1. What cutting the supply actually interrupts
  2. Why Enterprise LTSB is not an embedded installation
  3. The shutdown path the operator should actually use
  4. Sizing the UPS hold-up for a SCADA and SQL panel PC shutdown
  5. Removing power only after Windows is down
  6. The decision for each case
  7. Questions asked

Yes — for the machine in question, a panel PC running Windows 10 Enterprise 2016 LTSB with a SCADA runtime and an SQL database on board, removing power is not an acceptable way to stop the computer. Windows is engineered to stop through its own shutdown sequence, and every layer on top of it — the file system, the drive cache, the SCADA historian, the database service — depends on receiving that sequence before the contactor opens. A write filter, where the image even has one, protects the system volume only, and a clean reboot afterwards proves nothing about the records. What follows is the mechanism, the shutdown path an operator will actually use, the UPS sizing that covers supply failures, and the decision for each way the machine stops.

What cutting the supply actually interrupts #

The damage happens while writes are in flight. NTFS journals its metadata, so a volume interrupted mid-write usually mounts again — but the next boot may open with a Check Disk repair (chkdsk C: /f) before Windows loads, and a volume that needs that repair after every stop is accumulating damage the journal does not undo.

Below the file system sit write-back caches. The drive buffers writes, the SCADA historian holds recent trend intervals in memory, and the database service keeps transactions in its buffer pool that are committed in name only until the log reaches the media. Power removed mid-interval turns that buffered work into lost records, or into a transaction-log recovery at restart. The recovery is real — the log replays, uncommitted work rolls back, the database opens consistent — but it restores consistency, not the readings the machine was writing when the supply fell.

Windows servicing is the least forgiving case: an update applying when the supply drops can leave the image in a state no disk check repairs, and a fixed shutdown window that expires while servicing is still running ends exactly like the cut it was meant to prevent. And note the trap in the boot itself: a panel that comes back cleanly after every cut proves only that the volume mounted. It says nothing about the trend, alarm and audit records written in the seconds before the cut, which are the first casualties and the hardest to notice missing.

Why Enterprise LTSB is not an embedded installation #

Windows 10 Enterprise 2016 LTSB is the long-term servicing branch of the desktop operating system. Out of the box it behaves like any office PC: no write filter active, nothing blocking or redirecting writes to the system volume. The write-filter tooling used on industrial machines exists in the Windows 10 line as the Unified Write Filter, successor to the Enhanced Write Filter of Windows Embedded Standard 7, and in disk mode its overlay can live as a file on any available volume, protected or not. Whether the unit in your cabinet has that feature present and enabled depends entirely on the image the machine builder installed, and it does nothing until it is configured.

Once enabled, the filter changes the exposure of the volume it protects: writes are held in the overlay instead of reaching the disk, so a hard cut cannot corrupt data that never landed there. It does not cover the rest of the machine. The database, its transaction logs, trend files, recipes and audit records must stay on writable storage outside the filter, which leaves them with exactly the exposure the filter removed from the system volume. No edition of Windows grants permission to cut power to that data — even embedded installations tolerate hard cuts for their protected volumes, not for anything that must persist.

Before crediting the installed unit with any embedded behavior, confirm what it actually runs: the checks in Verifying Windows 10 IoT is installed and activated on a panel PC separate a desktop image from an embedded one. How the filter is enabled, committed and bypassed for approved changes is its own procedure, covered step by step in Managing UWF on Windows 10 IoT HMI panels.

The shutdown path the operator should actually use #

Put the shutdown where the operator already works. A software button inside the SCADA runtime, restricted to the roles allowed to stop the machine, and a task launched remotely by the cell controller at end of shift are the same thing to the operating system: a request for the normal Windows shutdown task. That is the point of the design — the operator never exits the runtime, never hunts for a Start menu on a panel with no keyboard, and one command serves a machine or a whole line.

Sequence the button so each layer closes in order:

  • Inhibit new operator commands, so nothing creates process data after the sequence starts.
  • Let pending writes drain and close the files the runtime owns.
  • Stop the database service through its own documented stop path, never by cutting its supply.
  • Invoke the Windows shutdown task.
  • Block a second activation and show that shutdown is in progress, so nobody re-triggers it or opens the disconnect because the screen looks idle.

The order matters because each layer holds state the layer below does not know about: buffers in the runtime, files owned by the database, metadata in the file system. The shutdown task is what gives every layer its closing move. Test it against the running system before calling it done: after activation, no new alarm or trend writes appear, the runtime closes without a termination prompt, and Windows powers the panel down by itself.

Sizing the UPS hold-up for a SCADA and SQL panel PC shutdown #

A controlled command covers planned stops. Supply failures need stored energy and a trigger that fires with nobody present. The case here is the machine above — a panel PC running SCADA and SQL — and the inputs are example measurements standing in for values you take from the installed unit; substitute your own before relying on the result.

  • Panel PC draw at the UPS output, SCADA logging and SQL trends active: 60 W (example measurement).
  • Network switch the shutdown notification and database close depend on: 10 W (example measurement).
  • Time from loss of mains to the panel PC fully off, timed on the installed image with the trend buffer full: 3 minutes (example measurement).

The rule: the energy the battery must deliver is the total load multiplied by the shutdown time, doubled to cover battery aging, a cold cabinet and inverter losses that no fresh-battery runtime chart shows.

The arithmetic: (60 W + 10 W) × 3 min = 70 W × 3 min = 210 W·min, and 210 W·min ÷ 60 min/h = 3.5 Wh, so the doubled requirement is 7 Wh of deliverable energy at this load.

The result in runtime terms: 7 Wh at 70 W is 0.1 h, so a UPS whose published runtime curve shows more than 6 minutes at 70 W clears the example on paper.

The decision: on paper is not installed. The pass condition is the pull-the-plug test — open the machine's incoming supply on a scheduled stop, and the panel PC must reach its off state before the battery does, with the shutdown triggered automatically by the loss-of-mains signal. Under that stored energy, extend the runtime or shorten the sequence. And without the automatic trigger the capacity is irrelevant: a UPS that bridges the outage while Windows keeps running with nobody to command it only postpones the same hard cut.

Removing power only after Windows is down #

Planned stops need an interlock, not discipline. The machine-off sequence must gate power removal on shutdown completion, using a status output from the panel PC that drops when the operating system is down, or a supervised condition such as a runtime heartbeat the PLC polls. A fixed timer alone is the design to refuse: a servicing pass or a slow database close that overruns it leaves Windows half-shut when the contactor opens, which is the exact failure the sequence exists to prevent.

Prove both paths before handover. Planned: stop from the SCADA button and confirm the power-removal signal arrives only after the panel is off. Unplanned: open the incoming supply deliberately and confirm the loss-of-mains trigger starts the same sequence unattended. Run these on a bench with verified test tags and a test database where possible — the same discipline as How to Prove a PC-Based HMI Before Replacing Panel Terminals, and the checks there transfer directly to this sequence.

One boundary stays fixed: this gating governs the operator's normal stop only, and an emergency stop or safety function keeps its own designed power-removal action, never waiting on an operating system.

The decision for each case #

Hard power-off is rejected for this configuration in every case. What replaces it depends on how the machine stops:

  • Planned stop, operator present: the SCADA shutdown button or the remote task, then the interlock removes power on the completion signal. The contactor never opens first.
  • Supply failure, nobody present: a UPS sized by the worked example, with loss of mains wired to start the same shutdown automatically. Capacity without the trigger changes nothing.
  • Machine that must tolerate supply loss regardless: Unified Write Filter on the system volume, database, logs and trends on writable storage outside it, and an accepted residual risk that records in flight at the cut are gone. Damage reduction, not permission — the filter protects a volume you keep read-only, not the data you keep.
  • Panel PC already re-imaged once after corruption: commission the sequence above on it. If the unit cannot take a shutdown trigger and keeps losing the operating system anyway, the durable answer is a replacement industrial panel PC set up with the shutdown path from the start, not another recovery.

The operating system's shutdown requirement, the write filter's limits and the database's own recovery all point one way: give Windows its shutdown, hold enough stored energy to guarantee it through a supply failure, and let the interlock prove that power left last.

Questions asked

Is a power cut safer on an SSD than on a spinning disk?

No. An SSD buffers writes internally just as a hard disk does, so in-flight file-system and database writes are still lost or reordered when supply collapses. Only drives that document their own power-loss protection change that, and even then pending Windows servicing and uncommitted database work stay exposed. The controlled shutdown requirement is identical either way, so size the sequence and the storage independently.

Can startup repair and Check Disk replace a shutdown sequence?

No. Check Disk repairs file-system metadata after an improper shutdown, and startup repair can recover a damaged boot, but neither returns lost application records: trend, alarm and audit rows written near the cut stay gone. Repairs also cost boot time on a machine that stops daily. Treat them as recovery tools for accidents, and keep the shutdown path as the normal stop.

What if the panel PC has no status output showing Windows is down?

Gate on a supervised substitute instead of a timer. Let the machine PLC poll a runtime heartbeat that stops when the SCADA closes, or watch the network link to the panel go quiet. The condition must disappear because the operating system stopped, not because a fixed time elapsed, so a slow update or database close cannot leave Windows half-shut when the contactor opens.

Does Windows 10 IoT Enterprise make hard power-offs acceptable?

Only within narrow limits. The write filter must be present, enabled and configured on that unit, and it protects only the volumes you point it at. Any volume holding the database, logs or trends stays writable and stays exposed, and uncommitted records near the cut are lost regardless. Hard cuts become tolerable only when nothing persistent is being written — otherwise the shutdown requirement stands.

How often should the UPS be retested?

At every planned maintenance stop, repeat the pull-the-plug test. Battery capacity fades with age and heat, so a UPS that passed at commissioning can fail to carry the shutdown a few services later, and nothing in a runtime chart warns you. Log the measured time from supply loss to panel-off each time and compare it with the previous result, not with the datasheet.

Keep reading

  • Checklist

    Verifying Windows 10 IoT is installed and activated on a panel PC

    Verify that the panel PC boots, matches the Windows IoT edition ordered and reports its activation status. An OEM unit must be enabled for activation before shipment. Activation can remain deferred on an offline device, so confirm what the order requires before accepting it.

    Panel PCs and displays

  • Selection guide

    Choosing Between a Raspberry Pi and a Panel PC for HMI

    Classify the screen first. A Raspberry Pi running a Mono-based HMI is defensible only as a read-only production display with a UPS, read-only storage and a soak test behind it. Any screen that carries commands, setpoints or machine recovery belongs on a fanless industrial panel PC with an SSD, qualified restart and a front-panel IP rating matched to the environment.

    Panel PCs and displays

  • Selection guide

    HMI Panel PC RAM, SSD and Windows Selection Guide

    Order 4 GB of RAM as the default: the documented floor of one size lower suits only a panel running a single lightweight runtime such as AdvancedHMI. Take 128 GB of SSD storage unless logs are small or purged quickly, when 64 GB is enough. Order 64-bit Windows 10, ideally the IoT Enterprise LTSC build, and have RAM, SSD and the OS printed on the quotation before the enclosure is cut.

    Panel PCs and displays