Windows-安装

镜像\映像格式

ISO格式、Isolation

光盘镜像:可以用光盘进行存储的镜像

1、需要专用工具软件才能操作ISO文件 --比如UltraISO、WinISO、WinImage、Daemon Tools、Alcohol等虚拟光驱软件

2、需要一步步的点“下一步”

3、纯净

1、GHO\WIM\ESD只是ISO的一部分
GHO格式

使用Ghost软件备份的硬盘分区或整个硬盘的所有信息

1、安装过程中无需配合,不用等待着它并配合着它点击“下一步”

2、容易捆绑软件、安装快

3、相同镜像、体积最大

1、在PE下操作方便

WIM格式

Windows Imaging Format

Windows基于文件的镜像格式

1、不记录硬件信息,可经过离线装载进行功能修改

 

Windows PE系统

1、定义:可以在移动存储设备中运行的的小型系统

2、作用:安装、维护正式的系统

首推共两款:WePE、FirPE

卷影复制:可以复制被占用的文件

可启动:WIM设置为可启动

image

安装方式

  • 镜像地址
    • https://www.microsoft.com/zh-cn/software-download/
    • https://msdn.itellyou.cn/
  • 无人值守、自动安装:autounattend.xml
  • 制作安装U盘:Ventoy、Rufus
  • 常见问题
    • 需要登录:(no@thankyou.com、a@a.com)
    • 不能远程:不要装windows家庭版

autounattend.xml

作用:执行Windows 10/11的无人参与安装

使用方法:ios文件解压成文件夹,文件夹添加autounattend.xml=少数设备能自动安装,其它要用rufus制作启动U盘

相关工具:https://schneegans.de/windows/unattend-generator/、NTlite工具

常用操作:

  • 关闭防火墙:netsh advfirewall set allprofiles state off
  • 关闭出错自动重启:reg add "HKLM\SYSTEM\CurrentControlSet\Control\CrashControl" /v AutoReboot /t REG_DWORD /d 0 /f
  • 关闭熄屏和睡眠:
    • powercfg /change monitor-timeout-ac 0
    • powercfg /change standby-timeout-ac 0
    • powercfg /change monitor-timeout-dc 0
    • powercfg /change standby-timeout-dc 0
  • 暂停更新
    • reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v FlightSettingsMaxPauseDays /t reg_dword /d 7000 /f
    • reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v PauseFeatureUpdatesStartTime /t reg_sz /d 2023-06-01T00:00:00Z /f
    • reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v PauseFeatureUpdatesEndTime /t reg_sz /d 2222-06-01T00:00:00Z /f
    • reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v PauseQualityUpdatesStartTime /t reg_sz /d 2023-06-01T00:00:00Z /f
    • reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v PauseQualityUpdatesEndTime /t reg_sz /d 2222-06-01T00:00:00Z /f
    • reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v PauseUpdatesStartTime /t reg_sz /d 2023-06-01T00:00:00Z /f
    • reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings" /v PauseUpdatesExpiryTime /t reg_sz /d 2222-06-01T00:00:00Z /f
  • 开启唤醒定时器
    • powercfg -SETACVALUEINDEX SCHEME_CURRENT SUB_SLEEP bd3b718a-0680-4d9d-8ab2-e1d2b4ac806d 1
    • powercfg -SETDCVALUEINDEX SCHEME_CURRENT SUB_SLEEP bd3b718a-0680-4d9d-8ab2-e1d2b4ac806d 1
  • 开启远程控制
    • reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /v fDenyTSConnections /t REG_DWORD /d 0 /f

 常见分区

  • ESP分区:全称EFI system partition、用于 EFI 启动、系统引导分区 (必须)
  • MSR分区:微软的”替补分区“
  • WRE分区:恢复分区
posted @ 2026-06-09 15:15  Fēngwèi  阅读(6)  评论(0)    收藏  举报