# One-click Windows Proxy

####

**Run this command to instantly start a proxy server and enable it for Windows.**

```
powershell -ExecutionPolicy Bypass -NoProfile -Command "irm https://raw.githubusercontent.com/anyone-protocol/anon-install/main/windows/start_proxy.ps1 | iex"
```

#### **Read Me**

This command runs a script that downloads a executable Anyone client from [GitHub](https://github.com/anyone-protocol/ator-protocol/releases/) and executes the client with the configuration below:

```
SocksPort 127.0.0.1:9055
SocksPolicy accept 127.0.0.1
SocksPolicy reject *
HTTPTunnelPort auto
```

The script automatically configures proxy settings on Windows and enables the proxy.

```
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name "ProxyEnable" -Value 1
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name "ProxyServer" -Value "socks=127.0.0.1:9055"
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name "ProxyOverride" -Value "<local>"
```

The script disables the proxy when **'Ctrl+C'** is initiated.

```
Set-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name "ProxyEnable" -Value 0
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name "ProxyServer" -ErrorAction SilentlyContinue
Remove-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Internet Settings" -Name "ProxyOverride" -ErrorAction SilentlyContinue
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.anyone.io/connect/scripts/windows.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
