# HostHatch 与 RackNerd VPS一键DD脚本合集：轻松安装 Windows 系统

By [ 纽约vps推荐](https://paragraph.com/@vps-27) · 2025-03-13

---

在使用 VPS 时，安装或重装 Windows 系统有时会成为一个复杂的问题。本文将为大家整理在 HostHatch 和 RackNerd 等主机上使用的一键DD脚本合集，让你能够轻松完成 Windows 系统安装。

安装组件准备
------

首先，要确保 VPS 上安装基础依赖组件，这些组件是运行脚本的前提条件：

### Debian 或 Ubuntu 系统：

bash apt-get install -y xz-utils openssl gawk file wget screen && screen -S os

### RedHat 或 CentOS 系统：

bash yum install -y xz openssl gawk file glibc-common wget screen && screen -S os

如果安装出现问题，请刷新 Mirrors 缓存或更新镜像源：

#### 缓存刷新及更新：

*   **Debian/Ubuntu 系列**： bash apt update -y && apt dist-upgrade -y
    
*   **RedHat/CentOS 系列**： bash yum makecache && yum update -y
    

👉 [【建议收藏】2025年Racknerd最新优惠套餐整理汇总 - 每日更新可用活动优惠](https://bit.ly/Rack_Nerd)

一键智能DD脚本说明
----------

使用以下一键DD脚本，支持国内外各种 VPS 系统的安装，特别是对国内访问国外资源较慢的 VPS 安装优化效果显著。

### 下载及运行脚本：

bash wget --no-check-certificate -O [AutoReinstall.sh](http://AutoReinstall.sh) [https://d.02es.com/AutoReinstall.sh](https://d.02es.com/AutoReinstall.sh) && chmod a+x [AutoReinstall.sh](http://AutoReinstall.sh) && bash [AutoReinstall.sh](http://AutoReinstall.sh)

### 脚本特点：

1.  智能化安装，包含多种系统选项（包括 Windows 和 Linux）；
    
2.  支持 Oracle Cloud（甲骨文云）安装，新增专用选项；
    
3.  自动检测主机 IP，可手动输入，更加灵活。
    

25合1系统默认密码及选项
-------------

以下是脚本内置支持的25种操作系统及其默认密码列表：

1.  CentOS 7.7 - 默认密码：`Pwd@CentOS`
    
2.  CentOS 7 - 默认密码：`cxthhhhh.com`
    
3.  CentOS 8 - 默认密码：`cxthhhhh.com`
    
4.  Debian 11 - 默认密码：`Minijer.com`
    
5.  Debian 10 - 默认密码：`Minijer.com`
    
6.  Debian 9 - 默认密码：`Minijer.com`
    
7.  Ubuntu 20.04 - 默认密码：`Minijer.com`
    
8.  Windows Server 2019 - 默认密码：`cxthhhhh.com`
    
9.  Windows Server 2016 - 默认密码：`cxthhhhh.com`
    
10.  Windows 10 LTSC Lite - 默认密码：`www.nat.ee`
    
11.  更多选项详见脚本中列表。
    

特别注意：

*   对于甲骨文 VPS 请选择选项 23-25；
    
*   自定义镜像可以选择选项99并提供镜像URL。
    

自定义镜像DD方法
---------

如果希望自定义安装自己的 Windows 镜像，可使用以下脚本填写镜像直连地址后运行：

bash wget --no-check-certificate -qO [InstallNET.sh](http://InstallNET.sh) '[https://d.02es.com/InstallNET.sh](https://d.02es.com/InstallNET.sh)' && bash [InstallNET.sh](http://InstallNET.sh) -dd '\[你的镜像URL\]'

注意事项
----

*   在谷歌云等环境下，系统自动获取到的子网掩码可能为 `255.255.255.255`，若发生这种情况需手动修改为 `255.255.255.0`；
    
*   Oracle Cloud 的甲骨文云建议基础系统选择 Ubuntu，避免因原系统为 CentOS 而导致安装失败。
    

使用一键DD脚本，重装系统从此不再复杂，快速高效完成 Windows 和其他操作系统安装。希望本文对你有所帮助！

---

*Originally published on [ 纽约vps推荐](https://paragraph.com/@vps-27/hosthatch-racknerd-vps-dd-windows)*
