[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Cannot Add VPN to Windows Server 2012 R2

Posted on 2014-12-30
4
Medium Priority
?
502 Views
Last Modified: 2016-01-18
Hello, I'm trying to add VPN to a Windows Server 2012 R2.  I followed the steps outlined at the Microsoft page:

---------------------------------------

In the Initial Configuration Tasks window, under Customize This Server, click Add roles. By default, Initial Configuration Tasks starts automatically when you log on.

Open Server Manager by clicking Start, Administrative Tools, and then click Server Manager. Then, under Roles Summary, click Add roles.

In the Add Roles Wizard, do the following:
Click Next or click Select Server Roles.

In the list of server roles, select Network Policy and Access Services. Click Next twice.

In the list of role services, select Routing and Remote Access Services to select all the role services for Routing and Remote Access Services. You can also select individual server roles.

Proceed through the steps in the Add Roles Wizard to complete the installation.


---------------------------------------

The installation fails to complete.  The error message is:  "The request to add or remove features on the specified server failed The operation cannot be completed"

I searched this site, and found hints to remove registry entries to removing pending reboots. None of those existed.  I even tried this:  Dism /Online /Cleanup-Image /RestoreHealth, which did not solve the problem.

Any help on this is greatly appreciated.

Thanks,

-Ted
0
Comment
Question by:tedwill
[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
  • 3
4 Comments
 
LVL 7

Accepted Solution

by:
Deadman earned 2000 total points
ID: 40524110
This steps or configuration applies to Windows Server 2008

Follow this steps to complete VPN installation
http://www.thomasmaurer.ch/2014/01/how-to-install-vpn-on-windows-server-2012-r2/

http://technet.microsoft.com/en-us/library/dn383580.aspx
0
 

Author Comment

by:tedwill
ID: 40524198
I followed the steps, and ran into the same problem.  I later tried Powershell and was able to get the first line to work, but the second line failed with the same error:

Install-WindowsFeature RemoteAccess -IncludeManagementTools
Add-WindowsFeature -Name DirectAccess-VPN -IncludeManagementTools
0
 

Author Comment

by:tedwill
ID: 40524324
Here is the exact error:

PS C:\Users\administrator.PSLZCPA> Add-WindowsFeature -Name DirectAccess-VPN -IncludeManagementTools
Add-WindowsFeature : The request to add or remove features on the specified server failed.
The operation cannot be completed, because the server that you specified requires a restart.
At line:1 char:1
+ Add-WindowsFeature -Name DirectAccess-VPN -IncludeManagementTools
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : DeviceError: (@{Vhd=; Credent...Name=localhost}:PSObject) [Install-WindowsFeature], Exce
   ption
    + FullyQualifiedErrorId : DISMAPI_Error__Failed_Reboot_Required,Microsoft.Windows.ServerManager.Commands.AddWindow
   sFeatureCommand

Success Restart Needed Exit Code      Feature Result
------- -------------- ---------      --------------
False   No             Failed         {}
0
 

Author Closing Comment

by:tedwill
ID: 41418414
Thanks!
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
A procedure for exporting installed hotfix details of remote computers using powershell
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

649 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