private PdfCreatorSettings LoadDefaultUserSettings(PdfCreatorSettings defaultSettings) { var defaultUserStorage = new RegistryStorage(RegistryHive.Users, @".DEFAULT\" + InstallationPathProvider.SettingsRegistryPath); var data = Data.CreateDataStorage(); // Store default settings and then load the machine defaults from HKEY_USERS\.DEFAULT to give them prefrence defaultSettings.StoreValues(data, ""); defaultUserStorage.ReadData("", data); // And then load the combined settings with default user overriding our defaults var settings = (PdfCreatorSettings)DefaultSettingsBuilder.CreateEmptySettings(); settings.ReadValues(data); return(settings); }