def METHOD_NAME() -> None:
    """
    On Windows, raise if current shell does not have the administrative rights.
    Do nothing on Linux.
    :raises .errors.Error: If the current shell does not have administrative rights on Windows.
    """
    if not POSIX_MODE and shellwin32.IsUserAnAdmin() == 0:  # pragma: no cover
        raise errors.Error('Error, certbot must be run on a shell with administrative rights.')