Is it possible to add a user to the allowed rdp accounts from the commandline?
Sure, you can use the
This would add the domain user domian\jscott to the local group Remote Desktop Users. If you'd like to add a non-domain user, simply leave off the domain prefix:
This would add the local user keyoke to the local group Remote Desktop Users.