I have a (wired) network consisting of two Windows 7 (x86) PCs, a HP network printer, and a gigabit network switch. There's no router or DCHP, so they all have fixed IPs in the 192.168.0.xxx region. There's very little chance of any other devices being added to this network and there will never be internet access.
One of the computers is frequently used to remote desktop in to the other. Files are transferred by a shared folder in both directions from both machines. Both machines belong to the same homegroup.
The problem is this: When either computer is rebooted, they do not recognise the network, and designate it as "public". They won't share folders or accept incoming remote desktop requests from this public network. Is there a way to either make all networks default to "Home", or a script (powershell/cmd both acceptable) run on startup/network connection to make the network tagged as home?