Spectrum install or upgrade fails right after pre-installation stage. Pre-installation log doesn't show any error but there is SRAdmin SOCKET_ERROR error in Windows application log. If I run 'ipconfig /all' command I see Teredo IPv6 Tunneling configuration similar to the following:
If you ping the hostname, it gives the Teredo IPv6 address not the expected IPv4 address.
Windows Event Viewer shows the following SRAdmin error (Event ID=100)
SOCKET_ERROR: An existing connection was forcibly closed by the remote host.
If you stop Spectrum SRAdmin process and run the executable manually with --debug option and reproduce the problem the following message shows in the debug output
EMERG Error executing "E:/win32app/Spectrum\SS-Tools\lh_set.exe "E:/win32app/Spectrum\SS-Tools\lh_set.exe" "-q"". Create Process failed (1314): A required privilege is not help by the client.
EMERG SOCKET_ERROR: An existing connection was forcibly closed by the remote host.
Spectrum installed on Windows 2012 with Teredo IPv6 tunneling enabled.
1. Open a command prompt with administrator privileges (Start->Accessories->right click on Command Prompt, choose Run as Administrator)
2. Issue the following command:
netsh interface teredo set state disabled
3. Run "ipconfig /all" command and check if Teredo IPv6 interface is disappear. You may need to reboot, depending on your version of Windows.
After the installation completes, if you wish to re-enable Teredo at some point you can issue the following command:
netsh interface teredo set state type=default
Please refer to https://en.wikipedia.org/wiki/Teredo_tunneling for more information about Teredo IPv6 Tunneling.