• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1773
  • Last Modified:

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.
0
CampnJim
Asked:
CampnJim
  • 4
1 Solution
 
Adam BrownSr Solutions ArchitectCommented:
Are you running in an elevated Powershell session? Run powershell as an administrator or turn off UAC and try again.
0
 
CampnJimAuthor Commented:
How do i do that from the command line?  I installed 2012 w/o the GUI.
0
 
CampnJimAuthor Commented:
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.
0
 
CampnJimAuthor Commented:
Closing, I reinstalled the server and it's working now.
0
 
CampnJimAuthor Commented:
To close the ticket, reinstalled server and issue is no longer there.
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now