Solved

Cannot Add VPN to Windows Server 2012 R2

Posted on 2014-12-30
4
199 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
  • 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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Join & Write a Comment

In my previous Experts Exchange Articles (http://www.experts-exchange.com/ARTH_1864316.html?arthOrderBy=3&arthSort=1#arth), most have featured Basic and Intermediate VMware Topics.  As a Virtualisation Consultant, we implement many different virtual…
In my previous 24 VMware Articles (http://www.experts-exchange.com/ARTH_1864316.html?arthOrderBy=3&arthSort=1#arth), most featured Intermediate VMware Topics. My next series of articles concentrated on topics for the VMware Novice;   If you would…
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…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now