There are a number of tutorials on how to repair and install windows 8 netwokrs.
In general, you remove all drives for all network devices.
The you install a driver, such as the Ethernet card driver.
This is hard to do, because you don't have a connection to the internet to download a new and/or updated driver for your 64 bit windows 8.
So you have to use a another PC to get the driver and put it on a USB flash drive and bring it to the sick PC.
Cone the driver is in place, you do the network wizard over again. You can use the same name for the PC.
Follow these steps to run the network setup wizard:
In Windows, right-click the network connection icon in the system tray. ...
Click Open Network and Sharing Center.
Click Set up a new connection or network. ...
Click Set up a new network. ...
Click Next, and then follow the on-screen instructions to set up a wireless network.
For HP, there is a tutorial about Wireless connection repair.
https://support.hp.com/us-en/document/c03314609You objective is to get windows to do the whole network stuff over again. This should take card of any files the got damaged.
This article might be an easy read...
How to Network Windows 8Expect this to take about twenty minuets once you have the drivers installed.
Hope that helps.
EDIT: Forgot a detail. For when a PC was off off the network for awhile, the security does not work. The router drops the PC from is list of know devices. The router wants you to press a button on the router to confirm that a arrange device is joining the network.
Sorry I don't know where this is documented.