How can I programatically configure Remote Desktop Services Session Host in Windows Server 2012 without a domain?


we build turn-key solutions customers, , years, have been doing this. looking script-based method of performing following actions:

  1. install remote desktop services session host
  2. configure "standard" settings: idletimeout, disconnected session behavior, temporary folders, encryption levels , such

my understanding, w2k12, of must done session collection.  i have powershell script performs install of remote desktop services - session host, connection broker, , web access (add-windowsfeature rds-rd-server, rds-connection-broker, rds-web-access) while not on domain, , stuck trying configure it.

when testing server on production domain, can following command run: ($strfqdn populated in script)

new-rdsessiondeployment -connectionbroker $strfqdn -webaccessserver $strfqdn -sessionhost $strfqdn

once off of domain (which requirement customer server builds, not allowed on domain, or until @ customer site) cannot command function expected. presented following output:

new-rdsessiondeployment : validation failed "rd connection broker" parameter.
<servername> unable connect server using windows powershell remoting. verify can
connect server.
@ c:\scripts\configurerds.ps1:23 char:1
+ new-rdsessiondeployment -connectionbroker $strfqdn -webaccessserver $strfqdn -se ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ categoryinfo : notspecified: (:) [write-error], writeerrorexception
+ fullyqualifiederrorid : microsoft.powershell.commands.writeerrorexception,new-rdsessiondeployment

the answer provided here (http://social.technet.microsoft.com/forums/en-us/winserverts/thread/cbffb2d4-ff9d-49ee-a9ce-a60db2262422) cop-out, why poorly designed. yes, more people moving ad world. why in world used justification bend on smaller customers? or, customers provide value-add on products? but, digress...

thoughts? how can accomplish simple task without putting system on domain? (well, simple in windows server 2003/8/8r2)


hi,

i trying involve familiar topic further @ issue. there might time delay. appreciate patience.
thank understanding , support.

regards,

clarence

technet subscriber support

if technet subscription user , have feedback on our support quality, please send feedbackhere.


please remember click “mark answer” on post helps you, , click “unmark answer” if marked post not answer question. can beneficial other community members reading thread.



Windows Server  >  Remote Desktop Services (Terminal Services)



Comments

Popular posts from this blog

Schannel Issue

Indexing Server

oclist /xml or /?