[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1027
  • 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 192.168.0.0 /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 192.168.0.0 /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&

Thanks,

Hemant



0
JatinHemant
Asked:
JatinHemant
  • 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
https://filedb.experts-exchange.com/incoming/ee-stuff/4962-ICSStartingError.JPG 

View all files for this question
https://filedb.experts-exchange.com/incoming/ee-stuff/4962-ICSStartingError.JPG 

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...

Hemant
0
 
dreamyguyCommented:
Hey Jatin!
Here's what you need to do.
Open the registry editior and go to the following location..
Hkey_Local_Machine\System\CurrentControlSet\Services\SharedAccess

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

(Without the quotes)

This should work!
0
 
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"

0
 
JatinHemantAuthor Commented:
Hi dreamyguy !

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

Thanks again.

Regards,

Hemant

0
 
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,

Hemant
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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