Link to home
Start Free TrialLog in
Avatar of CampnJim
CampnJim

asked on

New-SessionDeployment failed - you cannot restart the local server

Hello,

Trying to install RDS on a Server 2012 installation, using the powershell commands.

New-SessionDeployment -ConnectionBroker Server1.Domain.local -WebAccessServer Server1.Domain.local -SessionHost Server1.Domain.local

It fails with the errors:

New-SessionDeployment:  Validation failed for the "RD Session Host" Parameter. Server1.Domain.local    You cannot restart the local server.
Avatar of Adam Brown
Adam Brown
Flag of United States of America image

Are you running in an elevated Powershell session? Run powershell as an administrator or turn off UAC and try again.
Avatar of CampnJim
CampnJim

ASKER

How do i do that from the command line?  I installed 2012 w/o the GUI.
ignore the last comment, i got it.  Though i'm pretty sure it runs as admin by default.

Same error msg.

Edit:  Turned off UAC and rebooted, no change.
ASKER CERTIFIED SOLUTION
Avatar of CampnJim
CampnJim

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
To close the ticket, reinstalled server and issue is no longer there.