Windows 8/10 (Windows server) change network type to private – solved
Maybe you was facing the same situation. If you reconnect server or PC to network the default network type has changed to public, and you are cut off from remote desktop and etc. But in Windows 8/10 sometimes is’t change network as easy as it should. So there is little work around what works every time.
Power shell is your friend
run power shell elevated ( right click -> run as administrator )
run first command
mark your connection name
run second command with name of your connection