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

Questions tagged [netsh]

The tag has no usage guidance.

0
votes
1answer
10 views

Netsh interface ip set dns register

One of the parameters of the command Netsh interface ip set dns is register. What is its purpouse? I do not understand the explanations given in the help. Which value is set to this parameter if I set ...
1
vote
1answer
68 views

netsh reset caused net to fail with VPN

So I ran the these lines to fix making a hotspot (would not assign IP address). netsh winsock reset catalog netsh int ipv4 reset reset.log After this, the net works fine. But when I connect with my ...
0
votes
0answers
30 views

Remove Wi-Fi known network from command line / net shell (profile not saved)

Is it possible to remove a Wi-Fi known network (see below) from the command line / net shell in Windows? Not a profile Known network from Windows 10: Settings -> Network & Internet -> WiFi -> ...
0
votes
1answer
64 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
383 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
131 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
221 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
99 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
82 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
185 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
39 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
93 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
124 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
52 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 /...

15 30 50 per page