The task scheduled to run upon reboot to clear ShimCache entries should run the program with an extra flag that indicates that polling for kill switch should be continued. Cleanup of registry and shimcache should only be performed after the kill switch is activated.
Tasks:
[ ] Accept additional flag in command line arguments to indicate that the kill switch has yet to be activated, and should continue polling. Alternatively, use the current -s flag used to specify running shimcache removal functionality
[ ] Add the new flag to the task that is currently being created to clear the shimcache after system reboot
[ ] Refactor code to poll for kill switch before performing cleanup, if --killswitch-ip and --killswitch-port arguments are provided
[ ] Refactor code to not require -f argument if the new flag is set
[ ] Refactor code to run process only if -f argument is provided
The task scheduled to run upon reboot to clear ShimCache entries should run the program with an extra flag that indicates that polling for kill switch should be continued. Cleanup of registry and shimcache should only be performed after the kill switch is activated.
Tasks:
-s
flag used to specify running shimcache removal functionality-f
argument if the new flag is set-f
argument is provided