Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [netsh]

The tag has no usage guidance.

0
votes
1answer
37 views

Windows route selection and “route print -6” vs “netsh interface ipv6 show route”

So I'm using Windows 10 and I need to redirect some IPv6 multicast traffic to a specific interface (a USB-Ethernet adapter to be more specific). By default all multicast traffic is going to my WiFi ...
5
votes
1answer
198 views

How to toggle Wi-Fi in Windows 10 via the command line?

If I try to connect to a wireless network using netsh wlan connect when the Wi-Fi toggle switch is off, the following error is displayed: Function WlanGetAvailableNetworkList returns error ...
1
vote
2answers
85 views

Can't enable “Wi-Fi” interface via command line (Windows 10)

I'm trying to figure out how to enable the "Wi-Fi" interface in Windows 10, so that I can connect to a wireless network later using netsh wlan connect. After starting cmd with administrative ...
0
votes
2answers
94 views

netsh error: The process cannot access the file because it is being used by another process

It is a server running Windows Server 2016 Essentials. Intuit, in all their infinite wisdom, wanted me to run this command on our file server: netsh int ipv4 add excludedportrange protocol=udp ...
3
votes
0answers
45 views

What privelges do I need to run wlan report on windows 10

I have started a powershell/cmd session with admin priveledges and run netsh wlan show wlanreport but it tells me that You must run this command from a command prompt with administrator privilege. ...
1
vote
1answer
48 views

Add firewall rule while Windows Firewall service is disabled

While Windows Firewall service is disabled trying to apply this ↓ command netsh advfirewall firewall add rule name="My App (HTTP-In)" dir=in action=allow protocol=TCP localport=1234 remoteip=...
0
votes
0answers
30 views

How to manualy change IP address from command line but leave DNS on auto? [duplicate]

Is there a way in Windows like in Ubuntu, to only manualy change IP address and leave my DNS auto configured. When I execute this: netsh interface ip set address name="Ethernet" static 192.168.0.100 ...
0
votes
0answers
101 views

Dhcp server on windows 2008r2 gives this error: “unable to determine the dhcp server version”

I have two dhcp server on my lan and each of them is running on a dc (windows 2008r2). i'd like to manage both of the dhcp server from the command line with the netsh command by domain\administrator ...
0
votes
0answers
34 views

Netsh batch file, wont remember the gateway

I'm making a little batch file to change some network adapter settings: Can anyone please explain why this works: netsh interface ipv4 set address name="Local Area Connection" static 192.168.1.11 ...
0
votes
1answer
58 views

netsh in command line to change adaptor settings?

I have been playing around with netsh to make some changes to the network adpater on a machine called "Local Area Connection" I would like to change the IP, SUBNET, GATEWAY & DNS IP: 192.168.1.10 ...
0
votes
1answer
70 views

How to find out IP address and default gateway in XP in cmd when DHCP is enabled?

When DHCP is disabled and network is setup manually, I can run netsh interface ip show config to see IP address and default gateway. However, when DHCP is enabled I can see only that DHCP is enabled ...
1
vote
1answer
47 views

Can't connect to a wireless network using cmd

Im trying to connect my phone to my PC via FTP and open the FTP with Windows Explorer using the cmd. Below are the codes: @echo off echo Setup connection to ftp 192.168.43.1 ipconfig | findstr /...
0
votes
1answer
595 views

How to use Netsh wlan when SSID contains whitespace?

I cannot use netsh WLAN command when the network I am trying to work with contains whitespace. For eg: While working with a network with SSID "Some Network" C:\Users\Padmanava>netsh wlan show ...
0
votes
0answers
36 views

Windows 10 assign a static IP address and name to an ethernet port based on PCI address

Is there a way (from the command line) to assign a static ip and name assignment to an ethernet adapter based on the PCI bus/device/function number of the NIC? I am able to do this with the netsh CLI ...
0
votes
1answer
124 views

NETSH - How to import WIFI profile when WIFI NIC is not present

I'm currently in process of creating standardised Winndows 10 image for kisok PC. Now the problem I'm facing is that during install, when I try to preload WIFI profile using netsh wlan add profile ...

15 30 50 per page