Solved

windows firewall

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

785 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