Need netsh reference for various Windows versions - netsh

After searching over and over again I can't seem to find a netsh command reference per windows version. I'm using Python to run some netsh commands but the customers may have different Windows versions: Vista ,XP, win7, win10, win8, Windows server etc..
Did anyone encounter a full reference per Windows version?
I'm looking for this since I bumped into one difference today between XP and win7:
XP -> netsh interface ip show config
win7 -> netsh interfate ipv4 show config ( this one would fail in XP - the image below shows why)
Thanks for your help,
Sivan

Related

Ideas on how to get around Windows 11 ARM not supporting IIS

My new Macbook Pro running on an M1 Max (ARM) chip just came in. I installed Parallels and Windows 11 Preview for ARM, and Visual Studio installs / launches / builds my solution beautifully. Unfortunately the turn windows features on or off dialog doesn't have the option for installing IIS, and others have posted that this is not supported in Windows 11 for ARM.
Our dev team runs multiple ASP.NET Core 3.1 websites locally under IIS using subdomains, e.g.: https://auth-dev.mydomain.com, https://web-dev.mydomain.com, https://webapi-dev.mydomain.com. This was easy to set up in IIS using the bindings dialog, I could specify for port 443 (https) to use a certain subdomain and our dev SSL certificate.
Now I need to figure out how to make this work on Windows 11 ARM. Developing on an inferior non-Macbook Pro laptop doesn't seem like a great solution for .NET devs, I have to assume others with M1 chip Macbook Pros have run into this same issue. What are my options?
I first started looking into using IIS Express, but it seems like every website has to run on a different port, whereas I need them all to run on port 80 (just with different subdomains.) I'd be fine with them running on different ports if there was a way to forward those various ports to the subdomains, but it doesn't seem like the windows HOSTS file supports that.
I also looked into using the Apache web server for Windows, but I read somewhere that it doesn't support running ASP.NET Core apps.
OS build 22563.1 supports IIS. I'm not sure if this is the first build that supports it, but I checked after the last automatic windows update and the IIS features are available; they were not before. I am on a m1 Mac using Parallels with the Windows Insider Preview ARM image.
Edition: Windows 11 Pro OS
Build: 22563.1
Experience: Windows Feature
Experience Pack 1000.22563.1.0
I'm using Windows 11 & IIS Express on a MacBook Pro M1 Max (via Parallels) and it is working fine. Of course, for developing environment!
You can download IIS Express from
https://www.microsoft.com/download/details.aspx?id=48264
You can download the ASP.NET Core Runtime or .NET 5.0 SDK to allow you run to run ASP.NET applications on Windows, Mac or Linux.
See https://support.microsoft.com/en-us/windows/downloads-for-windows-32490f9b-01ee-c13e-b2af-b5057c2d34e8

[WCF]configure a Port with an SSL certificate with Httpcfg.exe

I tried to configure a Port with an SSL certificate, this could be achieved by Httpcfg.ext tool, but I failed to find in my windows 10, I try to download it from http://www.microsoft.com/en-us/download/details.aspx?id=18546, but it only supports Windows XP, could you share us how to use Httpcfg.exe in Windows 10?
HttpCfg.exe is not available for Windows 10. You may want to check out Configuring HTTP and HTTPS on MSDN. It states that httpcfg is used on Windows XP and Windows Server 2003, whereas you should use netsh for pretty much any Windows operating system from Vista on.
If you are looking to do this programmatically then you could investigate using the HTTP Server API.

Hyper-v network driver not signed

I've recently moved a Virtual machine from a server to another one.
Both the servers are running Windows Server 2012 R2 as the guest host.
The generation 2 VM run almost perfectly, but it doesn't recognize the network adapter.
Integration services are updated (if I try to re-install it it says they are already updated and doesn't let me repair it).
On device manager I see the exclamation mark left to the adapter.
If I let it search for drivers in C:\Windows it says that the "Network adapter for Hyper-V" is found, but it isn't digitally signed, so it won't be installed.
Anyone could help me making this adapter work?
I couldn't figure out how to remove and re-install integration services either...
Ok, I found a solution.
I had to Disable Driver Signature Enforcement in the advanced boot options.

VMNET0 is missing from virtual network editor of vmware workstation 10

I have installed VMware-workstation-full-10.0.3-1895310 on windows 8.1. Although VMware brige protocol is enabled in my LAN adapter but still I am unable to add and switch VMNET0 to bridged mode.
It says "Cannot change network to bridged: There are no unbridged host network adapters"
So far I have tried the following things:
I have reinstalled it many times
I have restore default settings of virtual network editor
Have also checked that Vmware bridge protocol is enabled
Have checked that whether vmnetbridge service is running or not
have done almost everything present on forums
I had this same problem also. I also run Kaspersky AV, and tried bigapple99's suggestion and unticked Kaspersky Antivirus NDIS 6 filter. This made the NIC show up in the editor, but didn't fix the problem. I noticed I was running the editor as Administrator when it was showing up, so I tried running VMWare Workstation as Administrator too. It worked! I tried reticking the Kaspersky filter, and reopening VMWare Workstation as Administrator, and it still works :) Best of both works, I'll just Run as Administartor now.
I had the same problem after upgrading windows 10. "Repair" VMware workstation version fixed the problem. I'm using VMware Workstation 11.1.3.
It's wired in network editor the "Bridged To" showing nothing in the drop down list (at least it should show "Automatic"). Can you try to untick the Kaspersky Antivirus NDIS 6 filter in LAN property to see whether your NIC will show up in the editor?
I had the same problem today and I thought I'd come back to you since no one answered your post yet.
My problem was coming from Kaspersky AV.
Remove VMWare
Remove Kaspersky AV
Re-Install VMWare
Re-Install Kaspersky
Hope it'll be of some help.
Best,
Alex

the windows phone emulator wasn't able to create the virtual machine

I just installed it on my windows 8. It's NOT running on a VM but is running at a macbook with bootcamp.
When I try to emulate my app, I get this first error:
But then I click "Retry" and give the permission, so it runs normally.
But then, when the windows phone window appears, I get a "loading" screen and then this error appears:
Just for better tagging the post I will write the error: "something happened while creating a switch: Xde couldn't find an IPv4 adress for the host machine"
You must enable virtualization in BIOS and go to Control Panel->Programs->Turn Windows features on or off and choose Hyper-V.
I had this problem.
1- Open the Control Panel.
2- Then programs.
3- Turn Windows features on or off.
4- Further selection for hyper-v.
5- Restart the computer.
6- Repeat the previous steps but put the selection on hyper-v.
7- Restart the computer.
Enjoy ^_^
Not sure if you got to the solution, but I just had the same situation. It turns out that older VPN clients may have compatibility problems with Windows 8. I solved the issue by uninstalling VPN client (and also making sure Hyper-V was enabled).