Stack Exchange Network

Stack Exchange network consists of 175 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
2k views

Windows 10 Hosted Network and Ad Hoc connection with two wireless interfaces

I have one heck of a problem that I cannot seem to overcome. I have two wireless network adapters that I am trying to use for a slightly complicated network topology. There are no routers, switches ...
1
vote
1answer
884 views

netsh command to block URL from firewall

I am trying to block a URL with the firewall using netsh command, but without success. This is how I block an IP: netsh advfirewall firewall add rule name="Block URL" remoteip=<ip_to_block> dir=...
0
votes
1answer
7k views

Access Point mode in USB WiFi adapters in Windows

Some USB Adapters, for example, many of the chips such as RTL8191SU, have option to set mode to either Station, or Access Point, or Soft AP. In Station Mode, it acts just as a WiFi client. In ...
1
vote
1answer
1k views

Netsh the filename directory name or volume label syntax is incorrect

I would like to change an IP address in a Wireless network connection with a cmd line. I have tried: Netsh -c "interface ipv4" set address name=”Wireless Network Connection” static 192.168.168.6 255....
0
votes
1answer
679 views

Windows 7 hosted network use one adapter to receive and second adapter to create hostednetwork

Is it possible to use one WiFi adapter just for connecting to router to catch the WiFi. Then, use the 2nd adapter to create hosted network in windows? The following commands do not seem to have an ...
1
vote
0answers
5k views

Using netsh wlan to create a hidden network

I currently use the command netsh wlan set hostednetwork mode=allow ssid=“someId” key=“somePassword” in windows 10 to create a wireless network and share my cabled internet connection via wlan. Is ...
0
votes
1answer
1k 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 ...
4
votes
1answer
1k 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
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
751 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
394 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
2k 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 ...
3
votes
1answer
4k 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
511 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
223 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 ...

15 30 50 per page