Windows 10 Tips

From Briki
Revision as of 16:53, 12 February 2021 by Andrew (talk | contribs) (Running rsyncd automatically)
Jump to: navigation, search

Monitor Switcher

https://sourceforge.net/projects/monitorswitcher/

Monitor Test Patterns

Setup MPC-BE

Rename Network

https://www.howtogeek.com/364291/how-to-change-or-rename-the-active-network-profile-name-in-windows-10/

Installing WSL

https://docs.microsoft.com/en-us/windows/wsl/install-win10

Note: If you see Error 0x80370102, you may need to enable virtualization in your motherboard BIOS: https://ourcodeworld.com/articles/read/1283/how-to-enable-amd-virtualization-on-the-aorus-x570-motherboard

Running rsyncd automatically

  • Set `RSYNC_ENABLE=true` in /etc/default/rsync
  • Create `/etc/rsyncd.conf` with the contents (for example):
 [users]
     path = /mnt/c/Users
     comment = Users
     read only = true
  • WSL2 virtual machines run on a separate NATed network, so we need to forward the rsync port from the real LAN to the virtual machine:
 netsh interface portproxy add v4tov4 listenport=873 listenaddress=0.0.0.0 connectport=873 connectaddress=127.0.0.1
  • Go to Settings -> Update & Security -> Windows Security -> Firewall & network protection -> Advanced Settings -> Inbound Rules -> New Rule...
    • Select "Port"
    • Set "Specific local ports" to 873
    • Select "Allow the connection"
    • Select only "Private"
    • Set the "Name" to "rsync"
  • NOTE:* WSL2 runs on a virtual NATed network, so the WSL2 host can't be contacted from other machines (this would require bridge mode)