# Duplicate RunAlways SFC whenever there are Windows updates

**URL:** <https://forum.inductiveautomation.com/t/duplicate-runalways-sfc-whenever-there-are-windows-updates/12801>\
**Category:** Ignition\
**Created:** [March 16, 2017, 4:01pm UTC](https://forum.inductiveautomation.com/t/duplicate-runalways-sfc-whenever-there-are-windows-updates/12801 "2017-03-16T16:01:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan](https://avatars.discourse-cdn.com/v4/letter/j/aeb1de/32.png) [@Jonathan](https://forum.inductiveautomation.com/u/Jonathan)\
**Post date:** [March 16, 2017, 4:01pm UTC](https://forum.inductiveautomation.com/t/duplicate-runalways-sfc-whenever-there-are-windows-updates/12801/1 "2017-03-16T16:01:09Z")

</div>

Any time our ignition server restarts due to windows updates the next day all are RunAlways SFC have duplicate instances running. this causes problems because the SFCs fight for resources when they both fire off.

we are running services in a master/backup configuration and we are currently running version 7.8.4

---

<div class="post-metadata">

**Author:** ![Aaron.Huffman](https://avatars.discourse-cdn.com/v4/letter/a/b9e5f3/32.png) [@Aaron.Huffman](https://forum.inductiveautomation.com/u/Aaron.Huffman)\
**Post date:** [March 17, 2017, 11:59pm UTC](https://forum.inductiveautomation.com/t/duplicate-runalways-sfc-whenever-there-are-windows-updates/12801/2 "2017-03-17T23:59:37Z")

</div>

You might try this script at the beginning of your SFC, which will kill other instances of the chart:

```auto
sfc = system.sfc.getRunningCharts()
for row in system.dataset.toPyDataSet(sfc):
        if row[1] == chart.chartPath:
                if row[0] != chart.instanceId:
                        system.sfc.cancelChart(row[0])
```
