def split_key_path_to_hive_and_path(key_path):
    """Return a (hive, path) tuple given a full key path"""
    path_parts = key_path.split("\\")
    hive = path_parts[0]
    path = "\\".join(path_parts[1:])
    return hive, path