System.Configuration.ConfigurationFileMap fileMap = new ConfigurationFileMap("Z:SettingsappSettings.config"); //Path to your config file
System.Configuration.Configuration configuration = System.Configuration.ConfigurationManager.OpenMappedMachineConfiguration(fileMap);