Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: what is the windows 7 form of this netsh command?

31 May 2012   #1
raloop

Windows 7
 
 
what is the windows 7 form of this netsh command?

netsh fire ad porto tcp 134 p134 ENABLE SUBNET

I want to open port 134, TCP, for local subnet.

it's incoming so for a server running on port 134. and only my LAN should have access.


My System SpecsSystem Spec
.
31 May 2012   #2
logicearth

Windows 10 Pro (x64)
 
 

My System SpecsSystem Spec
31 May 2012   #3
raloop

Windows 7
 
 

yes i've seen that kind of link but as one can see from that link , documentation for it, it's rather trickier than the way it was in windows xp. I'm hoping somebody might know how.
My System SpecsSystem Spec
.

31 May 2012   #4
logicearth

Windows 10 Pro (x64)
 
 

Code:
netsh advfirewall firewall add name="Rule name" dir=in action=allow localport=134 remoteip=localsubnet
May or may not work. Its trickier because Windows 7 has a real firewall..hence "with Advance Security" applied to the name.
My System SpecsSystem Spec
31 May 2012   #5
raloop

Windows 7
 
 

Quote   Quote: Originally Posted by logicearth View Post
Code:
netsh advfirewall firewall add name="Rule name" dir=in action=allow localport=134 remoteip=localsubnet
May or may not work. Its trickier because Windows 7 has a real firewall..hence "with Advance Security" applied to the name.
no if you paste that in the cmd prompt and push the enter key, you will see it gives an error message.. You could get it less wrong by saying add rule name but it still doesn't do it it just fails and lists the options and sets the errorlevel to 1 'cos it didn't do it.

hopefully somebody is familiar with it and can get it right.
My System SpecsSystem Spec
Reply

 what is the windows 7 form of this netsh command?




Thread Tools





Similar help and support threads
Thread Forum
Force an IP to a MAC on virtual network (using netsh wlan command)
Hi I'm creating as virtual network on my PC using netsh wlan commands and it's working great. However, at this point a need came to me to force a particular IP to a MAC address. Ofcourse it will be an IP that is allowed. All I need is to force a connecting device (with a static MAC) to have the...
Network & Sharing
My Windows 7 64bit Home Premium does not have a COMMAND or COM command
When I am told to go to START/SEARCH and type in COMMAND, so I can RUN as Admin, it finds neither COM.exe or COMMAND.exe so I can "Run as Admin" in the DOS windows. It use to. I do have a RUN command that will bring up the DOS window but when executing some commands like CHKDSK it tells me I...
General Discussion
The custom form could not be opened. Outlook will use an outlook form
Hi I have just installed Outlook 2002 on a Windows 7 Professional OS. I exported the Email Messages from WLM to Outlook. All went well until I opened any of the Outlook shortcuts, Inbox, Sent Items, etc. When I click on any of these, I get the pop-up: "The custom form could not be opened. Outlook...
Microsoft Office
netsh mbn show interfaces results in command not found on Win7 64Bit
Hi, I'm trying to run "netsh mbn show interfaces" from a .bat or .jar file on a Win7 64bit system but every time I run my file, it results in "The following command was not found mbn show interfaces". When I run that same command in a cmd.exe prompt, the result is correct and as expected. ...
Network & Sharing
Use of free form file names in Command Prompt
Can someone advise me how to specify files names that contains a space, e.g. the name "this file" in Command Prompt. I tried using " and ' to quote the file name, but none works Thanks
General Discussion
netsh advfirewall add- how to prevent multiple entries by command line
Hi Im using a little script to enter "add rule" to the firewall in Win 7 f.e. netsh advfirewall firewall add rule name="Firefox Updater" dir=out program="%ProgramFiles% (x86)\Mozilla Firefox\updater.exe" enable=yes profile=any action=allow This works fine so far. But if i start the...
System Security

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 22:48.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App