Hello,
Issue with the remote access option:
Our script guys have found a small error in the script from the Remote Access option. We've fixed the script provided in the post. Replace the script that you currently have with the one from the post. If Remote Access is provided with the corrected script, the Advanced Parameters page should not give an error. However, for now, if you try to edit anything using the Advanced Parameters page, the user will probably not be able to obtain remote access.
we need to be able to modify terminal services tab via adv parameters
Currently, this will not be possible. By the next version to be available by the end of January, we are going to improve handling of the Remote Desktop Services Settings property, and it will be possible.
So how will I be able to view/edit terminal service tab if I can't revert back?
Try running the Custom Command with the modified script on the user that you mare experiencing issues with. This should correct the issue.
Differences between Advanced parameters and the form for editing users:
The thing is that there exists two Profile Paths that you've probably confused.
By default, if you want to specify a specific path to load a user's profile from, you can set it via the Profile Path property of the user's account (the LDAP name for the property is profilePath).
However, if you want Windows to use an alternative path for a user's profile when the user establishes a remote session, you can set it via the TerminalServicesProfilePath parameter stored in the Remote Desktop Services Settings (userParameters) property. In the Web interface, the parameter is also displayed as Profile Path on the Advanced Parameters page.
So, the Profile Path that you see on the page for editing users displays the value of the Profile Path (profilePath) property, however the Profile Path that you see on the Advanced Parameters page displays the value of the TerminalServicesProfilePath parameter stored in the Remote Desktop Services Settings property.