I had to restore a server and when trying to get to the network to access the backup I had an error saying there was no IP address.
I tried running
name="Local Area Connection" static IPAddress subnet mask gateway
but I received an error: unknown connection.
To fix this we need to first run wpeinit from the command prompt and then run
name="Local Area Connection" static IPAddress subnet mask gateway