Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

New-SessionDeployment failed - you cannot restart the local server

Posted on 2013-06-05
5
Medium Priority
?
1,723 Views
Last Modified: 2013-06-12
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
Comment
Question by:CampnJim
  • 4
5 Comments
 
LVL 43

Expert Comment

by:Adam Brown
ID: 39223660
Are you running in an elevated Powershell session? Run powershell as an administrator or turn off UAC and try again.
0
 

Author Comment

by:CampnJim
ID: 39223793
How do i do that from the command line?  I installed 2012 w/o the GUI.
0
 

Author Comment

by:CampnJim
ID: 39223812
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
 

Accepted Solution

by:
CampnJim earned 0 total points
ID: 39228961
Closing, I reinstalled the server and it's working now.
0
 

Author Closing Comment

by:CampnJim
ID: 39240403
To close the ticket, reinstalled server and issue is no longer there.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Loops Section Overview

885 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question