Netsh.exe does not treat the string ”Netshxxx ” the same as the string “Netsh xxx” when the quotation marks are not the correct character code
Netsh.exe accepts parameters within the ” ” (character code 0022), and when ” ” (character code 201D) is used Netsh.exe treats the quotes as a part the parameter. When coping the commands from one place to another or to the command prompt window, that copy retains ” ” (character code 201D) and the configuration is incorrect.
As a result, even though it appears that the configuration has been set correctly, as the command execution returns successful, the configuration is not set correctly and it may be difficult to figure out the problem with the syntax.
For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB971750.