public static Path getBackgroundDirectory() {
        Path ret = null;

        // Setting depends on the authui location. It is not possible to control if the directory is
        // already there.
        if (!isX86() && FileUtil.control(SystemInformation.getOSPath().resolve(SYSTEMFILE_AUTHUI_x64))) {
            ret = SystemInformation.getOSPath().resolve(SYSTEM_BG_DIR_x64);
        } else {
            ret = SystemInformation.getOSPath().resolve(SYSTEM_BG_DIR_x86);
        }

        return ret;
    }