Windows 10 doesn't actually have a proper ad hoc network feature. You can, however, create something that looks and behaves like the ad hoc network feature on previous versions of Windows.
Before setting up an ad hoc network on Windows 10 and 8.1, you'll need Windows and client computers with wireless network adapters.
Know more @ what does contingent mean?
There are limitations of ad hoc wireless networking:
Ad hoc wireless networking only includes WEP-only security.
In this type of network, computers need to be within 300 feet.
When the host computer disconnects from the network, other users are disconnected and the ad hoc network is deleted.
A technical glitch in Windows can cause this error message to appear when making certain types of wireless connections, which is why Microsoft provided a fix for it in a service pack update for Windows Vista systems.
You might still find this error in other versions of Windows too, though. It can also occur on a home network for other reasons that might require you to reset your router or connect and then disconnect from the wireless connection.