Fixing the windows agent scanner.