This is message I get trying to rebuild the broken default startup project in VS2017
**1>------ Build started: Project: CppProjectTest, Configuration: Development_Editor x64 ------
1>Performing 1 actions (4 in parallel)
1>[1/1] Link UE4Editor-CppProjectTest.dll
1>LINK : fatal error LNK1181: cannot open input file ‘ws2_32.lib’
1>ERROR : UBT error : Failed to produce item: C:\Unreal
Projects\CppProjectTest\Binaries\Win64\UE4Editor-CppProjectTest.dll
1>Total build time: 1.93 seconds (Local executor: 0.00 seconds)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command ““C:\Program Files\Epic Games\UE_4.16\Engine\Build\BatchFiles\Build.bat” CppProjectTestEditor Win64 Development “C:\Unreal Projects\CppProjectTest\CppProjectTest.uproject” -waitmutex” exited with code 5. Please verify that you have sufficient rights to run this command.
1>Done building project “CppProjectTest.vcxproj” – FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========**
Also I uninstalled VS2017 then reinstalled VS2017 directly from the UE4 project creation browser in the C++ section, then attempted to create a simple default project with no starter content. The thing is just plain broke. They gotta fix it I think.