Unfortunately the Terminal Service info is stored as a binary large object (blob) in property "userParameters". Please check this link. To access this info you need to acces the "msts*" properties as listed here. Use the Ldap-Display-Name format (msTSProfilePath) not the CN format (ms-TS-Profile-Path). Looks like your AD server must be >= Windows 2008.