• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1051
  • Last Modified:

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

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&



  • 3
2 Solutions
JatinHemantAuthor Commented:
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...

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!
Farhan KaziSystems EngineerCommented:
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"

JatinHemantAuthor Commented:
Hi dreamyguy !

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

Thanks again.



JatinHemantAuthor Commented:
Thanks to all of you

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

Thanks again,

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Worried about phishing attacks?

90% of attacks start with a phish. It’s critical that IT admins and MSSPs have the right security in place to protect their end users from these phishing attacks. Check out our latest feature brief for tips and tricks to keep your employees off a hackers line!

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now