Questions tagged [netsh]

netsh is the command name for the NetShell utility, which is used as a scripting interface for monitoring and configuring network interfaces, firewall, routing and remote access under Microsoft Windows.

Useful links: NETSH on technet. NETSH on SS64 help pages.

410 questions
-1
votes
1 answer

How to disbale/enable logically wifi on Windows?

To meet the constraints of my company, I must on a machine authorize only one active connection on a network. For this I need to control the activation or desactivation of wifi. With netsh utility i can enable/disable physically the network card. To…
Skacofonix
  • 19
  • 5
-1
votes
1 answer

CMD command netsh wlan export profile folder=c:\ key=clear rseulting in: The filename, directory name, or volume label syntax is incorrect

I am trying to create XML files for each of the wireless networks on my computer, containing their passwords, in a general solution (without knowing the exact names of each network) as shown here: Netsh WLAN Commands for Windows 10 – Here’s a Full…
StrangeSorcerer
  • 304
  • 5
  • 11
-1
votes
1 answer

Is there a way to check if a SIM card is inserted in a Notebook?

We would like to do a statistic, over all notebooks, to check if they have a SIM card inserted. Is there a way to check this? I played already around with netsh, but maybe is there an easy query, just for checking if a SIM is inserted.
ITRevSup
  • 1
  • 1
-1
votes
1 answer

Powershell variables not accepted by Netsh

I am trying to pass Netsh some variables and it refuses to accept them. Can you advise how I can call Netsh within a PowerShell script to set IP address, Subnet, DNS etc by using preset variables? Environment: Windows 2008 r2 with PS 4 - so I don't…
blop001
  • 15
  • 1
  • 3
-1
votes
2 answers

No driver selected running netsh to activate tunnel for ipv6

I am trying to run netsh commands to activate a tunnelbroker tunnel in Windows 10. The first command works fine. When I attempt the second command (netsh interface ipv6 add v6v4tunnel interface=IP6Tunnel localaddress=xxxxxxx remoteaddress=…
Hosehead
  • 19
  • 3
-1
votes
1 answer

Remove multicast group associated to an interface

with a c# application using the function : clientUDP.joinMulticastGroup(MulticastGroup) i can add a multicast address to a specific interface. The problem is: each time i run my application i add a multicast group to the a network interface, but…
-1
votes
1 answer

Connected device IP address not found in ARP command

I am hosting a virtual network allowing devices connect via the access point and then start tcp/ip communication with the devices. However, the device is connected as shown in the picture, but not found in "arp -a" command (an ip-mac address…
Simon Leung
  • 109
  • 3
  • 14
-1
votes
1 answer

Using NETSH command with variables through batch file

I am unable to find a way to create a dynamic batch file for NETSH commands. I have created static files to give IP and DNS address(es). I want to know how do I enable user input and put those values in the succeeding command? For example: netsh…
Parth Maniar
  • 147
  • 5
-1
votes
1 answer

netsh.exe message translations

Where can I find all messages translated into different languages for netsh.exe? My problem is that I run netsh.exe to handle a Wi-Fi hotspot in my application and read/parse the output to see what happened. Now the problem is, that I cannot really…
Vili
  • 888
  • 1
  • 10
  • 25
-1
votes
1 answer

netsh wlan from usb disk

I have an external harddisk with a Windows 8 OS installed. I connected the HDD to my current machine by using an USB-Connection. I used several WIFI networks on my old machine and I Need to get the keys for the wireless networks. I know how to get…
thardes2
  • 1,162
  • 12
  • 28
-1
votes
1 answer

How do I use a list to loop a process in cmd?

I have a netsh profiler that I want to get detailed information for each loop found. private void wifiButton_Click(object sender, EventArgs e) { Process cmd = new Process(); cmd.StartInfo.FileName = "netsh.exe"; …
Joe Pearson
  • 149
  • 1
  • 2
  • 13
-1
votes
2 answers

How to change IP address using network-shell with argument as IP

I am trying to run the below batch script using PHP (it runs fine from command prompt) to change the IP using the argument passed @echo off setlocal enabledelayedexpansion netsh int ip set address "EDU_LAN_Connection" static 172.31.%1.110…
Chetan
  • 387
  • 1
  • 4
  • 11
-1
votes
1 answer

How to block all but a specific list of IP addresses on a given port using IPSEC on Windows?

I have a list of IP addresses. L={x.x.x.x,y.y.y.y,...etc} I want to block all IP addresses except for the ones in the above list. How to do using IPSEC commands in windows machine? I tried to figure out from the following Microsoft link. But no luck…
Aditya
  • 11
  • 2
-1
votes
1 answer

NETSH Command in Windows 7

I had read an article about making a wifi connection in Windows 7 using the Command Prompt. I have followed all the instructions from opening CMD to set up internet connection sharing. It is a process that I do: Opening cmd and enter the command…
Fahmi NF
  • 1
  • 1
  • 2
-2
votes
1 answer

Is there a way to disable IPv6 for a specific network adapter without the Control Panel in Windows 10

If you go to the network adapter settings in Windows, right-click an adapter, and click "Properties", you can see all supported protocols, configure, activate and de-activate them. I added a photo how this looks like, if your system language is…
ixolius
  • 202
  • 1
  • 11
1 2 3
27
28