Firewall services

G

Guest

I am trying to configure ports to allow services through the firewall.
However, there seems to be a service that was not pulled in with the
dependency check.

Everytime I attempt netshell commands to add a portopening, show services or
show state, anything for that matter, I get the error: "The service has not
been started."

I believe this statement is in reference to the Shared Access service
associated with the Windows Firewall/Internet Connection Sharing in XP Pro,
however, I do not know how to bring this into XP Embedded.

Does anyone know what other component I need to bring in or settings I need
to modify, to bring this service in?
 
G

Guest

CLARIFICATION:

I have brought in the Windows Firewall/Internet Connection Sharing
Component, but I do not know how to bring the Shared Access service into XP
Embedded. (or the service that the error is referencing)
 
L

Larry Waibel

Yes, there's a missing file for that. We had to make our own component to
include 'HNetcfg.dll'.
 
G

Guest

Hi Larry,

Thank you for you advice. However, the 'HNetcfg.dll' file is already
included in my image. However, it still gives me the errors: 'The service has
not been started.'

Any other suggestions?
 
G

Guest

Hi Larry,

When I do 'net start' from the command line, it says:

'net' is not recognized as as internal or external command, operable program
or batch file.
 
G

Guest

I meet the same problem as you .
I copy these files (net.exe, net1.exe, net.hlp, neth.dll) to your target
image and I can use the "net start'.But after I use "net start" from the
command line , I find Windows FireWall/Internet Connection Sharing (ICS)
doesn't appear in the started service list .
I still don't know how to start the service !!
 
G

Guest

Hi Larry,

Actually, I added the component to allow for 'net' commands and when typing
'net start', I get a list of services that are running:
COM+ Event System
Cryptographic Services
DCOM Server Process Launcher
Distributed Transaction Coordinator
DNS Client
Event Log
HID Input Service
IPSEC Services
Logical Disk Manager
Network Connections
Plug and Play
Protected Storage
Remote Procedure Call (RPC)
Security Accounts Manager
Shell Hardware Detection
SNMP Service
TCP/IP NetBIOS Helper
Themes
Windows Management Instrumentation
Windows Time
Wireless Zero Configuration
Workstation



I also tried to start the sharedaccess service by typing ' net start
sharedaccess' only to get the error: The executable program that this service
is configured to run in does not implement the service.

Any suggestions???

Thank you in advance!
 
L

Larry Waibel

I'm afraid that knowing about the missing .dll when trying to NOT use the firewall was
the extent of what I know; sorry.
 
K

KM

Renee,
I also tried to start the sharedaccess service by typing ' net start
sharedaccess' only to get the error: The executable program that this service
is configured to run in does not implement the service.

Any suggestions???

Have the Filemon running at the point when you launch the 'net start sharedaccess' command.
It is very likely that you would see missing files (and therefore can figure out missing components easy) right away.

If not, try woith Regmon. Maybe some reg.entries are missing from your runtime.
 
G

Guest

I FINALLY figured it out!!!!

What I changed:
Go to the Service Control Manager Component
->Registry Data
->HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Svchost\netsvcs
(REG_MULTI_SZ format)
->add 'Sharedaccess' to the list of values

This worked for me! I hope it helps you as well!!!

Thanks to everyone for your help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top