netsh advfirewall firewall add rule action=allow protocol=any remoteip=localsubnet profile=any
netsh advfirewall firewall add rule action=allow protocol=any profile=any remoteip=10.0.0.0/8
netsh advfirewall firewall add rule action=allow protocol=any profile=any remoteip=172.16.0.0/12
netsh advfirewall firewall add rule action=allow protocol=any profile=any remoteip=192.168.0.0/16
netsh advfirewall set currentprofile settings remotemanagement enable