Solved

windows firewall

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

Are your end users making ugly email signatures?

Have you left it up to your end users to create their own email signatures? Are they forgetting to add the company logo or using garish font colors? Take control and ensure all users have the same email signature.

Question has a verified solution.

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

Suggested Solutions

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

863 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now