added check to atexec command as the technique only works on Windows >= Vista