The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
14 views

“Element not found” error when adding dns via netsh command

When trying to add dns entries via netsh commands, I get "Element not found" errors. netsh interface ip set dns “Wi-FI” static 10.0.0.1 1 What is the correct command format for setting both primary ...
0
votes
0answers
21 views

Can't connect to the hosted network after running some commands

I have been using a hosted network as the WIFI hotspot in my Windows 10 system for a while. It has been working fine until I ran some commands for a completely different purpose. As my windows 10 apps ...
1
vote
0answers
31 views

How do I add add urlacl to already used 443 port?

I am trying to give uralacl to my user ad\user running this command: netsh http add urlacl url=http://+:443/ user=ad\user but getting this error: Url reservation add failed, Error: 183 Cannot ...
0
votes
0answers
13 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
68 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 ...
0
votes
0answers
80 views

Wireless Network Connection not getting IP address assigned by DHCP

I have an issue with my Windows 7 laptop such that, whenever I go to change IPv4 settings through respective "Network Connection property" dialogue boxes for each network interface, I always get this ...
1
vote
1answer
46 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 ...
0
votes
0answers
164 views

How to use windows command-line (netsh) to connect a “Group policy profiles” wifi

There is a wifi belongs to "Group policy profiles". But no matter how, I cannot use netsh wlan connect [parameters] to connect this wlan by windows command line. Here the details: > netsh wlan ...
0
votes
0answers
35 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 ...
0
votes
0answers
28 views

Can I use netsh mbn to control (mobile) carrier auto-select / manual-select?

Can I use netsh mbn to control (mobile) carrier auto-select / manual-select? How? In Windows 10, I manually selected another carrier being abroad and using roaming, and after that auto-select ...
1
vote
1answer
79 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
114 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
64 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 ...
0
votes
0answers
381 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 ...
1
vote
1answer
314 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
0answers
133 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
281 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 ...
1
vote
0answers
262 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> ...
0
votes
0answers
58 views

netsh wlan hostednetwork mode=disallow vs netsh wlan stop hostednetwork

Setting mode allow|disallow services but can anyone tell me what going behind the scene,why I can't start hosted network after disallowing the mode.And one more thing how to share interface using ...
1
vote
1answer
2k 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
31 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 ?)
0
votes
0answers
52 views

How do I connect to my own HostedNetwork?

I don't want to make a hotspot - I want to play a video game I am one of those who have missed windows 7 ad-hoc network since upgrading to windows 8. It used to be reasonably simple to set up a ...
1
vote
1answer
1k 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 ...
0
votes
0answers
123 views

Blocking whatsapp / IM apps on Windows 7 firewall

I'm using a hosted network which I created and shared the local internet with it. netsh wlan set hostednetwork mode=allow ssid="OWNWIFI" key="12345678" netsh wlan start hosted network So I'm trying ...
0
votes
0answers
52 views

netsh output in a batch file skips showing my ip address

So, I wrote a simple batch file to set a static IP and then have it reflected back to the console: @echo off netsh interface ipv4 set address "Local Area connection" static 192.168.1.100 ...
0
votes
1answer
309 views

How to add/delete rules in Windows Firewall [closed]

I need to implement a tool which adds and deletes rules in Windows Firewall. The rules can be inbound or outbound, forbidding communication on specified protocols, IPs and ports. I am having trouble ...
0
votes
0answers
49 views

netsh wlan will not show computers on network

I am using the following command to create a WiFi Hotspot: netsh wlan set hostednetwork mode=allow ssid=SSID_NAME key=PASSWORD netsh wlan start hostednetwork pause There is just one problem though, ...
0
votes
0answers
1k views

netsh wifi hotspot config max clients

I've set up a wifi hotspot on my computer using netsh commands. I would like to know if it is possible to change the max number of clients ("netsh wlan show hostednetwork" shows maxclients=100). I ...
2
votes
1answer
389 views

Batch - Renaming network interfaces based on index with WMIC and netsh

I have two Intel NIC's that I need to rename based on their index numbers, WMIC is nice in that it seems to always return index numbers in numerical order so we can take the output directly without ...
1
vote
0answers
63 views

Different WiFi signal strengths on different commands

I'm connected to a WiFi network AIRWOLF. The two following commands on Windows 7 show different signal strengths. Why? netsh wlan show networks mode=bssid netsh wlan show interfaces The ...
1
vote
0answers
238 views

Windows 8.1 as captive portal

At my workplace we are creating an embedded solution based on a very compact computer running Win 8.1. The machine will run our server software, will have only lan and wifi access, and must expose a ...
5
votes
2answers
2k views

Force refresh (re-scan) wireless networks from command line?

How can I force Windows to re-scan for available wireless networks from the command line? (i.e. I'm looking for the command-line equivalent of pressing F5 on the GUI.)
0
votes
0answers
62 views

netsh causes syntax error in Win8

I create a .bat file for change network using netsh: netsh interface ip set address name=Wireless source=static addr=192.168.43.100 mask=255.255.255.0 gateway=192.168.43.1 In Windows-7 work fine, ...
0
votes
0answers
47 views

Netsh Wlan Show Network High Delay

Command Line netsh wlan show network shows that my network delay is very high, 60-180 seconds. Is there a way I can reduce this? Unfortunately I don't have admin privileges on the computer.
0
votes
1answer
196 views

Delocalize netsh output

I was wondering if anyone knew of a way (or if it is even possible) to get the "non-localized" (English) output of netsh on an OS that has a different language installed. i.e. instead of receiving ...
3
votes
1answer
764 views

Internet Connection Sharing with Wireless Hosted Network (WHN) is not providing a DNS server for WHN clients

On Windows 8, I'm using a wireless hosted network with ICS. I have one interface connected to internet, and my WiFi interface as a wireless access point. The interface that is connected to internet is ...
1
vote
0answers
244 views

Is netsh based forwarding to 127.0.0.1 possible at all?

I've been trying to get netsh forward a port on the lan interface to another port on 127.0.0.1 The reason for this is that I need external machines to ssh into my vagrant virtual machine and I don't ...
4
votes
2answers
7k views

Remove hostednetwork password

I've set up my own Nintendo HomePass relay to get StreetPass from home, but recently something has changed and it doesn't work anymore. I've read I have to change some settings to make it work again, ...
0
votes
1answer
988 views

netsh advfirewall open TCP ports 80 and 443 for outgoing traffic

I need to do the following with netsh advfirewall commands: Open TCP ports 80 and 443 for outgoing traffic to dc.services.visualstudio.com and f5.services.visualstudio.com. How can I do this?
1
vote
1answer
588 views

Windows 7 - netsh wlan show profiles: Access is denied

If I try to run the command netsh wlan show profiles I receive the error: Function WlanGetProfileList returns error 5: Access is denied This happens regardless if I run the command prompt as an ...
0
votes
1answer
2k views

DHCP issues, possibly related to Netgear N300 (DGN2200)

Installed 'new' Netgear N300 (DGN2200-100UKS model number) Day 1: Install Changed router IP to 192.168.1.1 Setup DHCP range to 192.168.1.50 - 100 All clients connected and working, 4 Pc's ...
2
votes
2answers
4k views

Wireless SSID in Windows 8.1 changes to “<networkname> 2” upon first connection

Note: I would rather comment David's answer in: Unable to connect to wireless after upgrading to Windows 8.1 from 8, but I don't have the required 50 reps to do so. I recently upgraded to Windows 8.1 ...
0
votes
0answers
72 views

How to create new localhost interface in Windows?

In *unix you can write: sudo ifconfig lo0 127.0.2.1 up But how to do this command line in Windows?
0
votes
0answers
135 views

Netsh firewall: allow a port just for a single interface

In Win7 with netsh I would like to allow a listening port only on a single interface and block it on all the other interfaces. With the GUI this is possible using the "Protected Network ...
0
votes
0answers
82 views

How to ban thousands of IP addresses on 2008 Server

I'm trying to block the Tor Project network from my webserver as many spam/malicous scripts are using it to flood my API. I've tried almost every method possible it seems there is NO WAY to append ...
2
votes
0answers
188 views

Creating hosted network with netsh when having to select the adapter

I'm on Win7. I usually create a hosted network by creating then executing a process that runs netsh wlan hostednetwork mode=allow ssid=MYSSID key=MYPASSWORD keyusage=temporary. So far, no problem. ...
0
votes
1answer
154 views

Wireless on Laptop no longer works. Finds Access Points, but connections are limited. Phone connects fine

Recently the WiFi on my laptop is no longer working. At home, I cannot connect to my home network, and the network at work does not connect either - at both places I have limited connections This all ...
6
votes
2answers
17k views

WIndows Hosted Network

I have created a hosted network in my windows7 system. The netsh wlan show hostednetwork command gives the output Hosted network settings ----------------------- Mode : Allowed ...
0
votes
0answers
373 views

sharing via wifi an internet connection obtained via bluetooth

I have a working internet connection on my w8.1 laptop, this connection is done via a bluetooth network connection to my iPhone, in tethering. I'd like to share this connection via wifi to my other ...
0
votes
4answers
133 views

Did a command in Command Prompt, should I change them?

I was following a tutorial online for creating a WiFi hotspot and it said to do this line in command prompt (as administrator): netsh wlan set hostednetwork mode=allow ssid=www.FastTechBuzz.com ...