Routing And Remote Access Service will not start - Service Specific Error 340 (0x154).

Posted on 2006-05-17
Last Modified: 2007-12-19
I have a problem with routing and remote access service on a Windows 2003 SBS server (I've posted in the standard W2K3 area as I don't think that this is an SBS specific issue). After restarting the server routing and remote access failed to start. I had made no changes to RRAS prior to restarting the server. The following error appeared in the system log.

Service Control Manager
Event ID: 7024
The Routing and Remote Access service terminated with service-specific error 340 (0x154).

After researching this error online I found a suggestion that this may be due to corrupt remote access policies and a fix would be to delete and recreate them. I deleted all three policies and tried to restart the service and it worked fine. I then added a policy to allow VPN access and tried to restart the service. It failed again with the same error described above. Does anyone have any ideas how I might fix this?

Thank you
Question by:ShinyApples
    LVL 74

    Accepted Solution

    In all likelihood, this error is being caused by a corrupt Internet Authentication Service database rather than the RRAS policies.  There is a KB article which describes how to repair the databases, and although it mentions errors which are not an exact match to yours it couldn't hurt to try.  Although before attempting this procedure it is advised that you execute a SYSTEM STATE backup.  Additionally if this does not work, your best remedy may be to restore the SYSTEM STATE from a recent backup if you have one available.

    The KB is

    Also, make sure that RRAS is being run under the Local System account by checking the properties in the Service Manager.

    Lastly, The SBS Topic area exists because there are MANY issues which are not handled the same way on an SBS even if it is a Server 2003 problem.  Many of the experts in the Windows Server 2003 have never worked with SBS and do not necessarily have direct experience in working with the interdependencies of the many services within a single machine.  So, you are always better off posting to the SBS Topic Area for ANYTHING which occurs on an SBS machine or on it's network.


    Expert Comment

    I was having the same problem in SBS-2003 followed the attached instructions and its all go now. Thanks heaps!!

    Author Comment

    Thanks for your advice guys - I will give this a go and let you know how I get on.


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
    Learn about cloud computing and its benefits for small business owners.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    729 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

    17 Experts available now in Live!

    Get 1:1 Help Now