Solved

Cannot Add VPN to Windows Server 2012 R2

Posted on 2014-12-30
4
369 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 500 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
OfficeMate Freezes on login or does not load after login credentials are input.
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 steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

734 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