Solved

windows firewall

Posted on 2007-04-04
1
245 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 50 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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

Configuring Remote Assistance for use with SCCM
Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
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…
Suggested Courses

617 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