SysPrep itself should also change the SID automatically, thus no need for external tools. So, just run an admin script every night that collects SIDs (e.g. via registry, as suggested) and then compares them with a list of existing SIDs. Fastest way would be to have a .INI file for this.
_________________________
There are two types of vessels, submarines and targets.