static bool IsGroupDoesNotExistError(string error) { //required since 'Performance Monitor Users' does not exist on all windows OS. return error.Contains("1376"); }