Solved

New-SessionDeployment failed - you cannot restart the local server

Posted on 2013-06-05
5
1,617 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 41

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

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

If your vDisk VHD file gets deleted from the image store accidentally or on purpose, you won't be able to remove the vDisk from the PVS console. There is a known workaround that is solid.
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.
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

617 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