DD Windows 一键脚本(GCP谷歌云Oracle甲骨文Azure微软云OVH云)

说明

  • 无限制全自动dd安装Windows;
  • 突破没有VNC,没有救援模式,内存比dd包小的限制;
  • 使用Debian Live CD中的busybox做中间媒介,经过复杂的处理使本机的网络参数传进Windows操作系统中;
  • 即使没有DHCP能够让Windows获取网络参数,也能让Windows操作系统在开机的第一时间能够连通网络;
  • 本站所提供的脚本及安装包均来源于网络并通过测试;
  • 特别注意:脚本不适用于OpenVZ构架的服务器,请勿尝试;

安装依赖

更新系统

#Debian/Ubuntu:
apt-get update

#RedHat/CentOS:
yum update

必要依赖

#Debian/Ubuntu:
apt-get install -y xz-utils openssl gawk file

#RedHat/CentOS:
yum install -y xz openssl gawk file

一键脚本

示例脚本,补全DD包直连地址后运行即可;

wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd '[Windows DD包直链地址]'

精简版DD包

如果没有自己的DD包,可以使用博主提供的包,从以下版本中选择自己需要的系统,然后输入一键脚本即可;

# DD Windows Server 2008 R2 64位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win_Server2008R2_sp1_64_Administrator_nat.ee.gz'

# DD Windows Server 2012 R2 64位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win_Server2012R2_64_Administrator_nat.ee.gz'

# DD Windows Server 2016 64位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win_Server2016_64_Administrator_nat.ee.gz'

# DD Windows Server 2019 64位 精简版 [账户Administrator密码WinSrv2019dc-Chinese]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win_Server2019_64_Administrator_WinSrv2019dc-Chinese.gz'

# DD Windows Server 2022 64位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win_Server2022_64_Administrator_nat.ee.gz'

# DD Windows7 32位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win7_86_Administrator_nat.ee.gz'

# DD Windows7 sp1 64位 企业精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win7_sp1_64_Administrator_nat.ee.gz'

# DD Windows8.1 64位 专业精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win8.1_64_Administrator_nat.ee.gz'

# DD Windows10 2016LTSB 64位 企业深度精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win10_2016LTSB_64_Administrator_nat.ee.gz'

# DD Windows10 2019LTSC 64位 企业深度精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win10_2019LTSC_64_Administrator_nat.ee.gz'

# DD Windows10 2021LTSC 64位 企业深度精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win10_2021LTSC_64_Administrator_nat.ee.gz'

Oracle甲骨文

此DD包仅适用于Oracle甲骨文DD安装Windows使用;(注意:不适用于新出的ARM框架机型)

# DD Windows7 sp1 64位 企业精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win7_sp1_64_Administrator_nat.ee.gz'

# DD Windows8.1 64位 企业精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win8.1_64_Administrator_nat.ee.gz'

# DD Windows10 2016LTSB 64位 企业深度精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win10_2016LTSB_64_Administrator_nat.ee.gz'

# DD Windows10 2019LTSC 64位 企业深度精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win10_2019LTSC_64_Administrator_nat.ee.gz'

# DD Windows10 2021LTSC 64位 企业深度精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win10_2021LTSC_64_Administrator_nat.ee.gz'

# DD Windows Server 2008 R2 64位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win_Server2008R2_sp1_64_Administrator_nat.ee.gz'

# DD Windows Server 2012 R2 64位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win_Server2012R2_64_Administrator_nat.ee.gz'

# DD Windows Server 2016 64位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win_Server2016_64_Administrator_nat.ee.gz'

# DD Windows Server 2022 64位 企业深度精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win_Server2022_64_Administrator_nat.ee.gz'

阿里云

以下DD包适用于阿里云DD安装Windows使用;

# DD Windows7 32位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Aliyun_Win7_86_Administrator_nat.ee.gz'

# DD Windows10 2019LTSC 64位 企业深度精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Aliyun_Win10_2019LTSC_64_Administrator_nat.ee.gz'

# DD Windows10 2021LTSC 64位 企业深度精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Aliyun_Win10_2021LTSC_64_Administrator_nat.ee.gz'

Azure微软云

以下DD包适用于Azure微软云DD安装Windows使用;

# DD Windows Server 2008 R2 64位 精简版[账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win_Server2008R2_sp1_64_Administrator_nat.ee.gz'

# DD Windows Server 2012 R2 64位 精简版[账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Oracle_Win_Server2012R2_64_Administrator_nat.ee.gz'

# DD Windows Server 2016 64位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win_Server2016_64_Administrator_nat.ee.gz'

# DD Windows Server 2022 64位 精简版 [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win_Server2022_64_Administrator_nat.ee.gz'

# DD Windows7 sp1 64位 企业精简版 Hyper-V Xen Nvme [账户Administrator密码nat.ee]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win7_sp1_64_Hv_Xen_Nvme_Administrator_nat.ee.gz'

# DD Windows8.1 64位 适量精简版 [账户Administrator密码Vicer]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win8.1_64_Administrator_Vicer.gz'

# DD Windows10 2019LTSC 64位 企业适量精简版 [账户Administrator密码Vicer]
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Win10_2019LTSC_64_Administrator_Vicer.gz'

其它脚本
先使用以下命令及脚本重新安装系统为Debian 10然后再使用此脚本选择自定义链接Custom image安装Windows
Debian 10默认登录账号和密码:root / Pwd@Linux

# 更新系统及必要依赖
apt-get install wget sudo net-tools xz-utils openssl gawk file wget  -y
apt-get update -y
apt-get upgrade -y
apt-get install -y xz-utils openssl gawk file
apt-get install -y xz-utils openssl gawk file wget screen && screen -S os
apt-get install virt-what -y
virt-what
apt-get install build-essential libpcsclite1 -y

# 一键脚本命令
wget --no-check-certificate -O AutoReinstall.sh https://git.io/AutoReinstall.sh && bash AutoReinstall.sh

# DD Windows7 sp1 64位 企业精简版 Hyper-V Xen[账户Administrator密码nat.ee]
https://oss.sunpma.com/Windows/Win7_sp1_64_Hv_Xen_Administrator_nat.ee.gz

GCP谷歌云

GCP谷歌云OVH云服务器等需要指定网络参数安装的方式,示例为GCP谷歌云

# 将X.X.X.X替换为自己的网络参数.
# --ip-addr :IP Address/内网IP地址
# --ip-mask :Netmask   /子网掩码
# --ip-gate :Gateway   /网关
wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh --ip-addr X.X.X.X --ip-mask X.X.X.X --ip-gate X.X.X.X -dd 'DD包 直链地址'

例:
替换--ip-addr后面的X.X.X.X为你自己的内网IP,注意查看ip-gate网关信息是否于你机器的网关相同;
在GCP谷歌云 Debian / Ubuntu 测试成功, CentOS 未测试;
账户:Administrator 密码:nat.ee
GCP谷歌云 香港

wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh --ip-addr X.X.X.X --ip-mask 255.255.255.0 --ip-gate 10.170.0.1 -dd 'https://oss.sunpma.com/Windows/Win7_sp1_64_Administrator_nat.ee.gz'

GCP谷歌云-台湾

wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh --ip-addr X.X.X.X --ip-mask 255.255.255.0 --ip-gate 10.140.0.1 -dd 'https://oss.sunpma.com/Windows/Win7_sp1_64_Administrator_nat.ee.gz'

连接上后如果遇到无法打开网页的情况,修改DNS即可

8.8.8.8
8.8.4.4

OVH

此DD包仅适用于OVH云服务器DD Win使用
说明:OVH需要使用网络参数进行安装,博主并未进行测试,这里仅提供直链安装包;

# DD Windows7 64位 精简版 [账户administrator密码www.80host.com]
https://oss.sunpma.com/Windows/OVH_Win7_64_administrator_www.80host.com.gz

关于激活

可以使用本博客搭建的KMS进行激活
传送门:https://sunpma.com/kms.html

如果不能使用KMS激活,可以试试下面的Key(不一定都能成功激活)

# Windows 7 企业版
KMS密钥:33PXH-7Y6KF-2VJC9-XBBR8-HVTHH / RHTBY-VWY6D-QJRJ9-JGQ3X-Q2289 / H8PDJ-H4NKW-3GKH7-YHKJ7-4C2JR

# Windows 8.1 专业版
KMS密钥:GCRJD-8NW9H-F2CDX-CCM8D-9D6T9

# Windows 10 LTSC 2019 企业版
KMS密钥:M7XTQ-FN8P6-TTKYV-9D4CC-J462D

# Windows Server 2019 数据中心版
KMS密钥:WMDGN-G9PQG-XVVXX-R3X43-63DFG

右键以管理员身份运行CMD(命令提示符),依次执行下面的命令;

slmgr.vbs -upk
slmgr.vbs -ipk KMS密钥
slmgr.vbs -ato
slmgr.vbs -dlv

Windows 7 旗舰版可能无法使用KMS进行激活,可以使用以下工具永久激活
激活工具:https://sunpma.lanzoux.com/i0ohrjljzwb

Windows服务器开启Ping功能,打开系统运行服务 Win+R 输入命令

## 开启Ping ##
netsh firewall set icmpsetting 8
## 关闭Ping ##
netsh firewall set icmpsetting 8 disable

发表评论

250 条评论

  1. rdae

    2024年了 2008 R2 64位 精简版密码nat.ee还是密码错误

  2. Kunkun

    阿里云的机器,装上之后无法使用iis服务,有其他的服务器版本吗?大大,适配阿里云机器的

  3. 求而不得

    大哥,完整版系统可以上传个网盘吗, 我可以提供账号,太需要完整版的了,或者给个链接也行,感谢感谢

    1. sunpma
      @求而不得

      上传了一份到OneDrive,需要的自取。
      https://1drv.ms/f/s!AruFhprnmu-qjQR9y0kBP3GLfcOh

      1. 求而得
        @sunpma

        老哥,甲骨文注册账号有什么心得吗,我死活注册不了

        1. sunpma
          @求而得

          没有,纯粹看运气~~

      2. 求而得
        @sunpma

        大哥,你这个网盘是在什么那个服务商上部署的?上传速度也太快了,下载随便能到40m+

        1. sunpma
          @求而得

          哪个网盘?oss.sunpma.com吗?这个不能上传吧?只能下载,部署在甲骨文首尔。

          1. 求而得
            @sunpma

            哦哦,那个永久免费那个?我一直注册不了账号,很烦,是的没错,别的地方下载对服务器来说应该就是上传吧

      3. 求而得
        @sunpma

        感谢感谢

  4. 未知

    完整版的winserver没有了

    1. sunpma
      @未知

      https://1drv.ms/f/s!AruFhprnmu-qjQR9y0kBP3GLfcOh

    2. sunpma
      @未知

      暂时没机器存放了~~

      1. 未知
        @sunpma

        大佬, gcp用原来的完整版镜像可以登录, 用精简版的无法连接是什么原因呢

        1. sunpma
          @未知

          可能缺什么依赖吧,我也不太清楚,很久没弄过了~~

        2. 未知
          @未知

          winserver2012r2 精简版不行, 完整版可以

  5. 远程服务器安装2012R出现提示jin不了系统 press ESC in 1 seconds to skip startup.nsh,any other key to continue 。上个月一样的 操作是可以

  6. jiakai

    大哥,这个网盘是用哪个开源项目搭建的啊,真不错。里面除了有windows镜像外,我还发现了音乐mv,有一首《山丘》,正好是我喜欢的歌曲。

    就是这个网站:https://oss.sunpma.com/
    不会是博客主题handsome自带的吧?

    1. sunpma
      @jiakai

      https://sunpma.com/1001.html

  7. quack

    Anyone know which specific one is english for Oracle section, i cant seem to get the win7 into english from chinese.

    pls help!

  8. rayz

    你好,测试了 windows2012 2016 , 成功安装,但是C盘空间都只有11.9gb, 但我预设的是 30gb的硬盘,请问如何解决,谢谢

    1. rayz
      @rayz

      己解决,谢谢。

  9. Sanjoy

    nat.ee password is not working for windows 7 x64 SP1 lite. please help.

  10. jerry

    远程服务器dd win7成功,ipmi可以连接远程桌面,本地系统的远程桌面却无法连接服务器

    1. jerry
      @jerry

      dd之后没有外网

  11. pctech

    大神您好。请问甲骨文win2008有没有带iis功能的。精简的安装不了。安装了那个完整2012装不了。

  12. 小小苏

    DD Windows10 2019LTSC 64位
    成功后一直有人和我抢登管理员账户是为什么

  13. echb

    谢谢作者的分享,很好用,我在腾讯清凉云上装了win server 2008

  14. 谷歌云

    能不能标注下哪些是谷歌云的DD包,测试起来弄了一下午

  15. admin

    您好 Windows Server 2008 R2 64位 精简版 这个镜像密码nat.ee一直进不去系统啊 提示密码错误,其他的正常,博主 真实密码是多少呢

  16. 难受

    为什么一直循环安装啊?大佬

  17. SunPma.com

    此网站无法提供安全连接oss.sunpma.com 使用了不受支持的协议。
    ERR_SSL_VERSION_OR_CIPHER_MISMATCH
    协议不受支持
    客户端和服务器不支持一般 SSL 协议版本或加密套件。

  18. SunPma.com

    好像下载出现问题了,不能下载报错

    1. Dean
      @SunPma.com

      是的,下载不了

  19. 淹死的鱼

    Goole 云HK wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh --ip-addr 10.170.0.3 --ip-mask 255.255.255.0 --ip-gate 10.170.0.1 -dd 'https://oss.sunpma.com/Windows/Win7_sp1_64_Administrator_nat.ee.gz'
    测试了不下20次 各种镜像,每次都是能远程,密码不对。不输入密码,显示账号禁用。请问什么原因呢?

    1. SunPma.com
      @淹死的鱼

      是那个版本有问题,你要换个版本,以前我遇到过

  20. 淹死的鱼

    wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh --ip-addr 10.170.0.3 --ip-mask 255.255.255.0 --ip-gate 10.170.0.1 -dd 'https://oss.sunpma.com/Windows/Win7_sp1_64_Administrator_nat.ee.gz'
    测试了不下20次 各种镜像,每次都是能远程,密码不对。不输入密码,显示账号禁用。请问什么原因呢?