1
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 startport=55368 numberofports=5
The error message I get back is:
The process cannot access the file because it is being used by another process.
So does anyone know what file are we talking about and what process might have it opened?
Well..... that is how I ran it at the command prompt (as administrator). According to Intuit one of their services running on the server and Microsoft's DNS Server are using the same port and this command was supposed to exclude the range in question from being used. Since both services are running on the same server I wouldn't think it should mess with the firewall should it? – Refurb – 2018-06-11T21:07:39.880
Right.... Ok, did you have the Microsoft DNS Server stopped at the time you ran the command? It would need to be stopped and then restarted after the command has executed successfully (at which point, presumably, it would start on different ports). – Your Computer Genius – 2018-06-11T21:24:53.410
Haven't tried it yet but their instructions do say to stop both services before issuing the command. I am just very curious as to what and where this file is just in case the command does something detrimental and I need to reverse it by editing the file. – Refurb – 2018-06-12T14:32:32.720
The command just removes ports from the dynamic range that Windows will use.
You should be able to craft a netsh command that reverses it. See https://support.microsoft.com/en-us/help/929851/the-default-dynamic-port-range-for-tcp-ip-has-changed-in-windows-vista