Solved

windows firewall

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

Independent Software Vendors: 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!

Question has a verified solution.

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

Suggested Solutions

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

751 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