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
"Matt Kellner (MS)" wrote:
> 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 ((E-Mail Removed))
> STE, Windows Embedded Group
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
> ===============================
>
> "KeS" <(E-Mail Removed)> wrote in message
> news:44C2A47C-7A5A-4DD4-92AD-(E-Mail Removed)...
> >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
> >
>
>
>
|