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
0answers
14 views

how to switch between 2 connections on windows? [duplicate]

Is there a way (I guess there is) to switch between 2 internet connections on my windows 7/8/10 ? I have my wifi connected AND my USB android modem and I would like to switch programatically (command ...
0
votes
1answer
590 views

How to use netsh with Unicode network adapter names

I run my Windows 7 laptop in Spanish as it helps me learn that language. Recently I wanted to set up a DOS batch file to disable a number of network adapters - however in Spanish, the network adapter ...
2
votes
1answer
303 views

Command executes fine through cmd but not through PowerShell

This command doesn't work: netsh advfirewall set allprofiles firewallpolicy blockinboundalways,allowoutbound This command works: netsh advfirewall set allprofiles state on I've tried using invoke-...
0
votes
0answers
1k views

Why does “netsh interface delete interface” doesn't work?

Scenario: Windows XP Professional SP3 (Hyper-V VM) I'm trying to delete a specific network interface from my computer. First of all, i showed all interfaces using the netsh interface show interface ...
2
votes
1answer
3k views

Connect to Wireless Network without existing profile through NetSH

I'm currently coding a network app based on NetSH. Is there a way to connect to a wlan network without having to create a wlan xml profile? Sorry if the question is unclear or doesn't belong here... ...
1
vote
0answers
490 views

How to provide a DNS entry with hostednetwork?

I want to provide an AP for a mobile device via my Windows 8 Wi-Fi NIC netsh wlan set hostednetwork mode=allow ssid=hello key=hellohello netsh wlan start hostednetwork does the trick but the mobile ...
1
vote
1answer
201 views

Batch substitute for wifi on/off toggle win 8.1pro - automate hosted network

I'm using netsh to enable an hostednetwork AP and it works fine, but i wanted to make a step forward and try to query and enable the wifi adapter. Then the problem - if wifi toggle is switched off it ...
1
vote
0answers
2k views

Wi-Fi WPA2-Enterprise automate connection user/password prompt on windows 8.1

I am trying to automate the connection to a known wi-fi network on our Windows 8.1. I have read everything online about netsh exporting/importing profiles. Problem is after importing the profile for ...
2
votes
1answer
5k views

Cannot set static IP address using Netsh

I have followed this article to set the following environment: DC: Windows Server 2008 R2 Enterprise (Full Installation) - Domain controller for the lab network, contoso.com SQL-A: Windows Server ...
0
votes
1answer
503 views

Windows 8.1 - Enable WPA/TKIP

I need to join a WPA/TKIP authenticated network but Microsoft in their wisdom removed the ability to do this through the "Manually connect to a wireless network" GUI. I've been attempting to write ...
0
votes
0answers
1k views

Netsh command on Windows XP

When trying to change default gateway on windows xp on vm machine using the following command: set address name="Local Area Connection" source=dhcp addr=192.168.25.22 mask=255.255.255.0 gateway=192....
2
votes
1answer
2k views

netsh hostednetwork disable WPA2 encryption (open network)

Internet connection sharing in windows is nice and easy using Virtual Wifi Mini-Port Adapters and the netsh command: netsh wlan set hostednetwork mode=allow ssid=<mySSID> key=<password> ...
5
votes
2answers
31k views

How to redirect/route IP address to another IP address?

How to redirect/route an IP address to another IP address? E.g.: 10.10.10.10 -> 20.20.20.20 and then when I type in 10.10.10.10 in my browser, it connects to 20.20.20.20. Let's assume 10.10.10.10 ...
0
votes
2answers
128 views

can an IP be mapped to another IP in windows? [duplicate]

Can I map 146.112.61.106 IP address to my 127.0.0.1 adress ? so when I type 146.112.61.106 I got redirected to 127.0.0.1 ? (some netsh command maybe ?)
1
vote
2answers
12k views

Windows WiFi hotspot - clients can't connect

I configured a WiFi hotspot on Windows, using the command line: netsh wlan set hostednetwork mode=allow ssid=ProvaMi key=pippo123 netsh wlan start hostednetwork netsh interface ip set address "...

15 30 50 per page