It is also not possible to save the network profile of an ad hoc wireless connection if the connection has been created/initiated by another computer.
It is not possible to keep track of the network profile for an ad hoc wireless connection that was set up by another device.