Updated windows agent