-
Notifications
You must be signed in to change notification settings - Fork 1
netsh
Jasper Zanjani edited this page Jan 5, 2021
·
1 revision
Enable port forwarding ("portproxy
") to a WSL2 distribution (src)
netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=2222 connectaddress=172.23.129.80 connectport=2222
Configure DNS to be dynamically assigned
netsh interface ip set dns "Wi-Fi" dhcp
Delete Wi-Fi profiles
netsh wlan delete profile name=*
Turn off Windows firewall
netsh advfirewall set allprofiles state off
Enable firewall rule group
netsh advfirewall firewall set rule group=”File and Printer Sharing” new enable=yes
Show Wi-Fi passwords (src
netsh wlan show profile wifi key=clear
Check/reset WinHTTP proxy
netsh winhttp show proxy
netsh winhttp reset proxy
- ADCSAdministration
- ADCSDeployment
- ADDSAdministration
- ADDSDeployment
- Cluster
- DCBQOS
- DHCPServer
- Diagnostics
- DISM
- DNSServer
- Dedup
- GroupPolicy
- Hyper-V
- iSCSITarget
- iSCSI
- LocalAccounts
- Management
- NLB
- PackageManagement
- SR
- Utility
- WB
- WDS
- WSMan.Management
- WSUS
- cmdkey.exe
- dcgpofix.exe
- ddpeval.exe
- dism.exe
- djoin.exe
- dnscmd.exe
- dsamain.exe
- dsquery.exe
- netdom.exe
- ntdsutil.exe
- wbadmin.exe
- wdsutil.exe