10 lines
386 B
Plaintext
10 lines
386 B
Plaintext
# portforward windows localhost to wsl
|
|
`netsh interface portproxy add v4tov4 listenport=1080 listenaddress=127.0.0.1 connectport=1080 connectaddress=$(hostname -I)`
|
|
|
|
# update computer account group membership (without reboot)
|
|
`klist -lh 0 -li 0x3e7 purge`
|
|
`gpupdate`
|
|
|
|
# install "ad users and computers"
|
|
`Add-WindowsCapability -online -Name Rsat.ActiveDirectory.DS-LDS.Tools~~~~0.0.1.0`
|