Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

windows firewall

Posted on 2007-04-04
1
Medium Priority
?
247 Views
Last Modified: 2011-09-20
I have installed SP2 on a Windows XP Pro machine, but am unable to
turn the firewall on. When I try to run it from the security window,
it says it cannot turn on Internet Connection Sharing. When I run
SERVICES.MSC, and try to turn the Windows Firewall/Internet Connection
Sharing on, I get the following error message:

Error 123: The file name, directory name or volume label syntax is
incorrect.

In looking at the "Path to executable:" window, sure enough, it says:

\SystemRoot\C:\WINNT\System32\svchost.exe -k netsvcs

which is exactly what it should say, except for the \SystemRoot\
entry, which I assume is what is causing the firewall not to start.
Unfortunately, I can find no way to edit that window to take out the
offending entry. Anyone know how to correct this problem? Thanks.
0
Comment
Question by:brownt18
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 34

Accepted Solution

by:
sramesh2k earned 150 total points
ID: 18851120
Path to executable should be:

"%Systemroot\system32\svchost.exe -k netsvcs"

Or the expanded path, such as:

C:\WINDOWS\system32\svchost.exe -k netsvcs

To fix the settings, you may use the "sharedaccess.reg" file available in this page:
http://windowsxp.mvps.org/sharedaccess.htm

-or-

To fix it manually in the registry, use these steps:

Click Start, Run and type regedit.exe
Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SharedAccess

Double-click "ImagePath" and set its data to:

"C:\Windows\system32\svchost.exe -k netsvcs"

Assuming that Windows is installed in C:\Windows. If not, adjust the path/driveletter accordingly.
0

Featured Post

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
By default Outlook 2016 displays only one time zone in the Calendar. The following article explains how to display two time zones in one calendar view.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…

670 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