Skip to content

Instantly share code, notes, and snippets.

@Postrediori
Last active April 10, 2024 09:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Postrediori/70c3db1c9488fd00fa18b4e76c90caed to your computer and use it in GitHub Desktop.
Save Postrediori/70c3db1c9488fd00fa18b4e76c90caed to your computer and use it in GitHub Desktop.
Windows HowTos

Windows HowTos

Force "Details" folder view to show standard columns in folders with music files

  • Go in to the folder's Properties
  • Select the Customize tab
  • Under the section What kind of folder do you want? change the Optimize this folder for: option from Music to General Items.

Source: https://superuser.com/a/1478697/1860262

Enable incoming ping

  • Open Windows Defender Firewall with Advanced Security by running WF.msc
  • In Inbound rules folder navigate to File and Printer Sharing (Echo Request ICMP...-In)

To filter IP addresses that are allowed to ping the machine

  • Open Properties of the rule
  • On the Scopes tab under Remote IP addresses list click Add and specify the IP address

Source: https://theitbros.com/allow-ping-icmp-echo-requests-on-windows-firewall/

Redirect IP in Windows

Identify loopback Idx (first column):

netsh int ip sh int

Add redirect rule:

netsh int ip add addr <IDX> <IP>/32 st=ac sk=tr

Verify that it works by running a sniffer or from command line

tracert -d <IP>

Remove the rule:

netsh int ip delete addr <IDX> <IP>

Source: https://serverfault.com/a/712997/480471

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment