How do I disable the Windows firewall for a Direct connection (RAS

G

Guest

I have an installation of XPE SP2 images where I need to disable the Windows
firewall on a per-connection basic.

The device has a 'Locale Area Connection' and a direct connection (RAS,
using COM1) and the firewall are enabled on both connections.

Obvious I cannot control the direct connection using netsh. The command
'netsh firewall set opmode=disable interface="<direct connection>"' failed
'The interface was not found'.

I could off cause use the firewall control applet, but this is not an
option, need to automate the task.

Thanks in advance,
KeS
 
M

Matt Kellner \(MS\)

Hi KeS. I'm not sure if you've tried this already or not, but if you
haven't, try typing 'netsh firewall show opmode' - this should show you a
list of all the current configurations and their operational states for each
one, including the Local Area Connection interface and whatever the name for
your direct connection is. This may reveal the correct name of your direct
connection, and then you should be able to plug that in to the 'netsh
firewall set" command.

Hope this helps. =)

--
Matt Kellner ([email protected])
STE, Windows Embedded Group

This posting is provided "AS IS" with no warranties, and confers no rights.
===============================
 
G

Guest

Hi Matt,

The 'netsh firewall show opmode' does not show the direct connection, here
is the result of the command:

Domain profile configuration:
-------------------------------------------------------------------
Operational mode = Enable
Exception mode = Enable

Standard profile configuration (current):
-------------------------------------------------------------------
Operational mode = Enable
Exception mode = Enable

Local Area Connection firewall configuration:
-------------------------------------------------------------------
Operational mode = Enable

And the result does not change even if I disable the direct connection from
the firewall control applet.

Any suggestions?
KeS
 

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

Top