前几天在YouTube上看到Linux系统DD成Windows,正好把我那台RN的vps换成Windows,带宽还高,美滋滋。

选择

找工具就找了好久,搜到的大部分已经失效了,应该是windows的iso下载链接失效了,
最后找到了两个可以用的,linux系统都选 Debian 10,win尽量选windows2012R2

  1. MeowLove/Network-Reinstall-System-Modify,按照教程来就好

    1
    2
    3
    wget --no-check-certificate -qO ~/Network-Reinstall-System-Modify.sh 'https://www.cxthhhhh.com/CXT-Library/Network-Reinstall-System-Modify/Network-Reinstall-System-Modify.sh' && chmod a+x ~/Network-Reinstall-System-Modify.sh

    bash ~/Network-Reinstall-System-Modify.sh -UI_Options

    半个小时就可以把系统装好,期间可以通过VNC查看进度,默认用户名:Administrator,密码:cxthhhhh.com,可以通过命令行改一下密码:net user administrator new_pwd
    之后就可以配置环境了,主要还是用来下载资源然后上传到Onedrive,用rclone挂载到本地就可以了

  2. sunpma大佬的,也把一些文件保存到了学校的od里了,吐过下面的链接失效了可以用自己网盘里的代替。

    说明

    • 无限制全自动dd安装Windows;

    • 突破没有VNC,没有救援模式,内存比dd包小的限制;

    • 使用Debian Live CD中的busybox做中间媒介,经过复杂的处理使本机的网络参数传进Windows操作系统中;

    • 即使没有DHCP能够让Windows获取网络参数,也能让Windows操作系统在开机的第一时间能够连通网络;

    • 本站所提供的脚本及安装包均来源于网络并通过测试;

    • 特别注意:脚本不适用于OpenVZ构架的服务器,请勿尝试;

      安装依赖

      更新系统
      1
      2
      3
      4
      5
      #Debian/Ubuntu:
      apt-get update

      #RedHat/CentOS:
      yum update
      必要依赖
      1
      2
      3
      4
      5
      #Debian/Ubuntu:
      apt-get install -y xz-utils openssl gawk file

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

      一键脚本

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

      1
      wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd '[Windows DD包直链地址]'
      精简版
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      17
      18
      19
      20
      21
      22
      23
      24
      25
      26
      27
      28
      29
      30
      31
      32
      # 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'
      完整版
      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      17
      18
      19
      20
      21
      22
      23
      24
      25
      26
      27
      28
      29
      30
      31
      32
      # DD Windows Server 2012 R2 Datacenter 64位 [账户administrator密码Password147]
      wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/cn_windows2012r2_administrator_Password147.gz'

      # DD Windows Server 2016 Datacenter 64位 [账户administrator密码Password147]
      wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/cn_windows2016_administrator_Password147.gz'

      # DD Windows Server 2019 Datacenter 64位 [账户administrator密码Password147]
      wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/cn_windows2019_administrator_Password147.gz'

      # DD Windows Server 2022 Datacenter 64位 [账户administrator密码Teddysun.com]
      wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/Win_Server2022_20344.1_x64_administrator_Teddysun.com.gz'

      # DD Windows10 Pro 20h1 19043.928 64位 [账户administrator密码Teddysun.com]
      wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/Win10_Pro_20h1_19043.928_x64_administrator_Teddysun.com.gz'

      # DD Windows10 Pro 20h2 19042.630 64位 [账户administrator密码Teddysun.com]
      wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/Win10_Pro_20h2_19042.630_x64_administrator_Teddysun.com.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/Whole/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/Whole/Win8.1_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/Whole/Win10_LTSC_64_Administrator_nat.ee.gz'

      # DD Windows10 2021LTSC 64位 [账户administrator密码Teddysun.com]
      wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/Win10_2021LTSC_64_administrator_Teddysun.com.gz'

      # DD Windows11 工作站专业版 21H2 64位 [账户administrator密码Teddysun.com]
      wget --no-check-certificate -qO InstallNET.sh 'https://sunpma.com/other/oss/InstallNET.sh' && bash InstallNET.sh -dd 'https://oss.sunpma.com/Windows/Whole/Win11_Pro_for_Workstations_21H2_administrator_Teddysun.com.gz'
      Oracle甲骨文

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

      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      17
      18
      19
      20
      21
      22
      23
      24
      25
      26
      # 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使用;

      1
      2
      3
      4
      5
      6
      7
      8
      # 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使用;

      1
      2
      3
      4
      5
      6
      7
      8
      9
      10
      11
      12
      13
      14
      15
      16
      17
      18
      19
      20
      # 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'

遇到的坑:

  • 不要重启!不要重启!!不要重启!!! 重要的事说三遍,不知道是机器的原因还是系统的原因,重启之后大概率会进不去了,只能重装系统了,也不要关机,和重启一样的。

  • 可以注销当前用户 再远程连接

  • 如果无法连接网络,需要VNC连接后,设置ip、子网掩码(255.255.255.0)、默认网关(前三个和ip一样,最后一位是1)、DNS(1.1.1.1,8.8.8.8)

    远程连接设置代理

    因为VPS在芝加哥,远程连接之后延迟很大,体验很不好,后来找过亚洲的VPS,奈何价格太贵,今天突然想到在远程连接的时候可以设置代理,这样延迟应该就会降低。

工具:SocksCap64

  1. 点击代理,添加代理,默认socks 5
  2. 点击程序,添加EXE程序,远程桌面的路径在C:\Windows\System32\mstsc.exe添加就可以了。

果然效果好了很多!

linux 三网测速

superspeed

1
bash <(curl -Lso- https://git.io/superspeed.sh)