Windows Firewall/Internet Connection Sharing (ICS) service fails to start...

Posted on 2007-10-09
Last Modified: 2016-08-29
Hi friends !

I faced a problem when starting Internet Connection Sharing (ICS) services. Here is the detail&

I am running Windows XP Professional Service Pack 2 on a computer that has two network cards. I have internet connection from ISP on one of my network card (named External). It has public IP address. Another network card (named Internal) is connected to the LAN switch and all the LAN PCs are also connected to the same LAN switch.

On the External NIC Card, Previously I had enabled ICS Service and shared the External NIC Card. So all the internal PCs were automatically configured in /24 range and they used the Shared Connection of External NIC Card on the ICS Server.

Two days before, I found that internal PCs are not getting internet. I checked the ICS Server and I found that shared hand was below the External NIC Card. All the Internal PCs also had the range /24 ranges. I was surprised why the internal PCs were not able to connect to internet.

Then I went in Control Panel--->Administrative Tools---->Services---->Windows Firewall/Internet Connection Sharing (ICS) and double click it. I noticed that in the Path to execute, the path was wrong, it was like this:

Path to execute:
\SystemRoot\\SystemRoot\\SystemRoot\\SystemRoot\\SystemRoot\\SystemRoot\C:\WINDOWS\System32\svchost.exe k netsvcs       (Wrong Location)

It is obvious that this path is wrong as the right path to execute is:
C:\WINDOWS\system32\svchost.exe -k netsvcs     (Right Location)

The path might be changed due to virus or some other issues like bad Operating system file. I am not sure about it but I know that the previous path is bad.

So when I tried to start the service, I couldnt start. ( I was quite sure that the service will not start as the execution  path is wrong.)

I installed Kaspersky 6.0 and updated it and scanned the computer and found some worms and deleted them but the path was still the wrong path.

I want to know how can we modify the Path to execute setting in a service ? Is there any way to do it in Registry ?

I am going to send the picture of the error screen in my next post. I request you to see that post.

Please help me in this regard&



Question by:JatinHemant

    Author Comment

    Please look on the following link. This link is for the Error Screen (Windows Firewall/Internet Connection Sharing (ICS) service:

    Direct link to your file

    View all files for this question

    I request you to see the link. Please don't avoid this link. It will make everything clear. The path to execute the service is corrupted.

    Waiting for your replies...

    LVL 9

    Accepted Solution

    Hey Jatin!
    Here's what you need to do.
    Open the registry editior and go to the following location..

    Change the value of ImagePath to "%SystemRoot%\system32\svchost.exe -k netsvcs"

    (Without the quotes)

    This should work!
    LVL 26

    Assisted Solution

    You can also change this path using SC command line utility:

    Click Start -> Run -> Cmd.exe

    SC CONFIG SharedAccess binpath= "%SystemRoot%\system32\svchost.exe -k netsvcs"


    Author Comment

    Hi dreamyguy !

    Thanks for your fantastic reply. Your solution really worked. I am really impressed.

    Thanks again.




    Author Comment

    Thanks to all of you

    Previously I was just closing the question as I got the answer but unfortunately Internet got disconnected.

    Thanks again,


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    SHARE your personal details only on a NEED to basis. Take CHARGE and SECURE your IDENTITY. How do I then PROTECT myself and stay in charge of my own Personal details (and) - MY own WAY...
    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…

    760 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

    7 Experts available now in Live!

    Get 1:1 Help Now