Microsoft KB Archive/311953

= How to enable the Routing and Remote Access service silently from a command prompt =

Article ID: 311953

Article Last Modified on 10/31/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server

-



This article was previously published under Q311953





IN THIS TASK
SUMMARY
 * Enable RRAS from a command prompt

Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
By default, when you install Windows 2000, the Routing and Remote Access service is disabled. You can use Routing and Remote Access Administrator to enable the service by right-clicking the server, and then clicking Configure and Enable Routing and Remote Access. This article describes how to create a .reg file you can use to enable Routing and Remote Access silently from a Windows 2000 command prompt.

You can use the ConfigureFlags value in the following registry key to enable Routing and Remote Access:

HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES\REMOTEACCESS

To enable Routing and Remote Access, you can set the value of the ConfigureFlags value to 1.

back to the top

Enable Routing and Remote Access from a command prompt
Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.  Paste the following text in a Notepad text (.txt) file:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteAccess]

&quot;ConfigurationFlags&quot;=dword:00000001

 Save the file by naming it EnableRas.reg. At a command prompt, type regedit /s \enableras.reg, and then press ENTER.

Here,  is the path of the folder that contains the EnableRas.reg file.

Additionally, for workgroup computers and stand-alone servers, you can enable Routing and Remote Access in Incoming Connections mode.

To enable Routing and Remote Access in Incoming Connections mode, follow these steps:   Paste the following text in a Notepad text (.txt) file: Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\RemoteAccess\Parameters]

&quot;IcConfigured&quot;=dword:00000001  Save the file by naming it Incomingcon.reg.</li> At a command prompt, type regedit /s  \incomingcon.reg, and then press ENTER.

Here,  is the path of the folder that contains the Incomingcon.reg file.</li></ol>

back to the top

Keywords: kbenv kbhowto kbhowtomaster KB311953

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.