---
title: "Alternate Property Stores"
url: https://docs.zeroc.com/ice/3.8/runtime/properties-and-configuration/alternate-property-stores
language: matlab
docs_index: https://docs.zeroc.com/llms.txt
---

> For an index of every page, see [llms.txt](https://docs.zeroc.com/llms.txt).

# Alternate Property Stores

Programming language: MATLAB. Other languages: [C++](https://docs.zeroc.com/ice/3.8/runtime/properties-and-configuration/alternate-property-stores/cpp.md), [Java](https://docs.zeroc.com/ice/3.8/runtime/properties-and-configuration/alternate-property-stores/java.md), [Python](https://docs.zeroc.com/ice/3.8/runtime/properties-and-configuration/alternate-property-stores/python.md).

Ice can load properties from the Windows registry.

## Loading Properties from the Windows Registry

On Windows, you can store properties under a key in `HKEY_LOCAL_MACHINE` or `HKEY_CURRENT_USER`. To load them, set [Ice.Config](https://docs.zeroc.com/ice/3.8/runtime/properties-and-configuration/using-configuration-files/matlab.md) to the path of this key with an `HKLM\` or `HKCU\` prefix, respectively:

```powershell
client --Ice.Config=HKLM\MyCompany\MyApp
```

Ice then loads the values of `HKEY_LOCAL_MACHINE\MyCompany\MyApp`: the name of each value is the name of a property, such as `Ice.Trace.Network`, and its data is the property value. You can also pass an `HKLM\` or `HKCU\` path to `Properties.load`.

Ice loads string values only, including for numeric properties: store `Ice.Trace.Network` as the string `3`, not as a `DWORD`. An expandable string (`REG_EXPAND_SZ`) can refer to environment variables, such as `%ICE_HOME%`, which Ice expands.

## See Also

- [Using Configuration Files](https://docs.zeroc.com/ice/3.8/runtime/properties-and-configuration/using-configuration-files/matlab.md)
