Take Action After 60 Days
I am deploying Windows 10 In-Place Upgrades using MDT. During that process, I place a time stamp in the registry so I know when the upgrade is completed. The timestamp is placed by a batch file, "reg add HKLM\SOFTWARE\WOW6432Node\MyCompany\Software\InPlaceUpgrade /v datestamp /d "%DATE%" /t REG_EXPAND_SZ /f" and the format is "Fri 02/22/2019". I currently have a script that I can push or users can pull that will check for the Windows.old folder and remove it, what I'd like to do is eliminate the manual part, by myself or my users and have KACE inventory the timestamp, and after 60 days, run my script. Is this even possible or am I expecting too much from KACE. I have found a few Powershell scripts that retrieve the last time stamp for a registry key, and that date would work as well, I just don't know how what to do with the retrieved date.