Menu
User

DropVPS Team

Writer: Cooper Reagan

How to Install V2ray on Windows server 2022

How to Install V2ray on Windows server 2022

Publication Date

09/28/2025

Category

Articles

Reading Time

7 Min

Table of Contents

V2Ray is a powerful proxy tool that helps bypass network restrictions, improve privacy, and optimize internet access. Running it on Windows Server 2022 allows you to create a stable, high-speed, and secure connection for your personal or business needs. Here’s a clear step-by-step setup guide.

Download V2Ray for Windows

  1. Go to the official V2Ray GitHub releases page:

  2. Find the latest Windows 64-bit package (usually named v2ray-windows-64.zip).

  3. Download and extract the zip file to a directory, for example:

C:\V2Ray

Configure the V2Ray Client

Inside the extracted folder, you’ll see a file named config.json. This is where you set your server details.

Open config.json with Notepad and edit the following values (replace with your actual server info):

{
  "inbounds": [
    {
      "port": 1080,
      "listen": "127.0.0.1",
      "protocol": "socks",
      "settings": {
        "auth": "noauth"
      }
    }
  ],
  "outbounds": [
    {
      "protocol": "vmess",
      "settings": {
        "vnext": [
          {
            "address": "your_server_ip",
            "port": 443,
            "users": [
              {
                "id": "your_uuid",
                "alterId": 0,
                "security": "auto"
              }
            ]
          }
        ]
      }
    }
  ]
}
  • address → your server’s IP or domain

  • port → server port

  • id → your UUID (get it from your provider or generate via UUID Generator)

Save the file after editing.

Run V2Ray

Open Command Prompt and navigate to the V2Ray folder:

cd C:\V2Ray
v2ray.exe

If everything is correct, you’ll see a message that V2Ray is running.

For easier management, you can also create a simple batch file (start.bat):

@echo off
cd C:\V2Ray
start v2ray.exe

Run start.bat whenever you need to launch V2Ray.

Set V2Ray to Run Automatically

To avoid manually starting it each time the server reboots:

  1. Press Win + R, type shell:startup, and hit Enter.

  2. Place the start.bat file in the Startup folder.

Now V2Ray will run on boot.

Configure Your Applications

Most apps or browsers can connect to V2Ray through the SOCKS5 proxy:

  • Address: 127.0.0.1

  • Port: 1080

For system-wide proxy, go to Settings → Network & Internet → Proxy, enable Manual Proxy, and enter the same IP and port.

Boost Your Server Experience

Setting up V2Ray on Windows Server 2022 gives you private, fast, and secure internet access. For reliable servers and smooth performance, check out DropVPS — optimized hosting for V2Ray and other networking tools.

Windows VPS
U
Loading...

Related Posts