2.2.1.1.5 Expanding Environment Variables

Certain attributes MAY contain a reference to the environment variables "%systemroot%" or "%systemdrive%".

Clients MUST attempt to expand "%systemroot%" and "%systemdrive%" environment variables. Clients MUST attempt to replace "%systemroot%" with the repository value on the client computer read from key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion" value "SystemRoot" and MUST attempt to replace "%systemdrive%" with the first two characters of that same value.<4>

Expanding environment variables other than "%systemroot%" and "%systemdrive%" is not part of this protocol.

Show: