# Proxychains on Windows
There have been times when I wanted to use the microsoft remote desktop application through a socks proxy in Windows.
This is mostly because sometimes xfreerdp in linux doesn't play nice with NLA and I don't have creds to run this command to disable it.
```
powershell (Get-WmiObject -class Win32_TSGeneralSetting -Namespace root\cimv2\terminalservices -ComputerName thecomputer -Filter "TerminalName='RDP-tcp'").SetUserAuthenticationRequired(0)
```
But I recently found a way...
https://github.com/shunf4/proxychains-windows
Download the binary
Unzip the package
Edit the proxychains.conf at the end to have:
```
socks5 127.0.0.1 1080
```
In the middle of the file you may notice IP-CIDR lines. These create direct routes for 10.x and 192.x you might want to comment them out.
Save the config
And open mstsc using proxychains specifying your config
```
proxychains_win32_x64.exe -f proxychains.conf mstsc.exe
```
