无忧启动论坛

标题: server 2012 r2 with update 原生 wimboot [打印本页]

作者: 2012raps    时间: 2014-4-12 18:29
标题: server 2012 r2 with update 原生 wimboot
本帖最后由 2012raps 于 2014-4-12 18:36 编辑

pcbeta id: nidnil
windows server 2012 r2 update 無法原生 wimboot 是由於缺少 \Windows\System32\drivers\wof.sys 以及相應的注冊表項,其他的與 windows 8.1 with update 無異。

請在winpe5.1環境下完成以下操作
在完成
1. wim文件導出 :dism /Export-Image /WIMBoot /SourceImageFile:原.wim文件路徑 /SourceIndex:所選鏡像編號 /DestinationImageFile:目標.wim文件路徑 /scratchdir:臨時文件夾
2. 建立指針文件:dism /Apply-Image /ImageFile:目標.wim文件路徑 /ApplyDir:指針分區如c: /Index:1 /WIMBoot /scratchdir:臨時文件夾
后,將 X: 分區的 Windows\System32\drivers\wof.sys 複製到 指針分區的對應文件夾之下,如 c:\Windows\System32\drivers
然後打開命令提示符,輸入 reg load HKLM\temp 指針分區\Windows\System32\config\system 要將指針分區替換爲盤符如c:
然後將下面内容用記事本保存爲任意後綴爲 .reg 的文件,如 add.reg ,并運行。運行完之後再次打開命令提示符,輸入  reg unload HKLM\temp ,之後用 bcdboot 建立引導即可。

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\temp\ControlSet001\Services\EventLog\System\Microsoft-Windows-OverlayFilter]
"ProviderGuid"="{46c78e5c-a213-46a8-8a6b-622f6916201d}"
"EventMessageFile"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,\
  00,6f,00,74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,\
  5c,00,64,00,72,00,69,00,76,00,65,00,72,00,73,00,5c,00,77,00,6f,00,66,00,2e,\
  00,73,00,79,00,73,00,00,00

[HKEY_LOCAL_MACHINE\temp\ControlSet001\Control\WMI\Autologger\EventLog-System\{46c78e5c-a213-46a8-8a6b-622f6916201d}]
"Enabled"=dword:00000001
"EnableLevel"=dword:00000000
"LoggerName"="EventLog-System"
"MatchAnyKeyword"=hex(b):00,00,00,00,00,00,00,80
"MatchAllKeyword"=hex(b):00,00,00,00,00,00,00,00
"EnableProperty"=dword:00000001

[HKEY_LOCAL_MACHINE\temp\ControlSet001\Services\Wof]
"DisplayName"="Windows Overlay File System Filter Driver"
"ErrorControl"=dword:00000001
"Group"="FSFilter Compression"
"Start"=dword:00000000
"Type"=dword:00000002
"DependOnService"=hex(7):46,00,6c,00,74,00,4d,00,67,00,72,00,00,00,00,00

[HKEY_LOCAL_MACHINE\temp\ControlSet001\Services\Wof\Instances]
"DefaultInstance"="Wof Instance"

[HKEY_LOCAL_MACHINE\temp\ControlSet001\Services\Wof\Instances\Wof Instance]
"Altitude"="40700"
"Flags"=dword:00000000

[HKEY_LOCAL_MACHINE\temp\ControlSet001\Services\Wof\Parameters]

作者: 2012raps    时间: 2014-4-12 20:35
……增量備份 DISM /Capture-CustomImage /CaptureDir:C: 似乎有一個先決條件,就是 指針文件 不能與 引導文件 在同一個分區中,否則會因爲 bcd 被改變而無法啓動
作者: ljycslg    时间: 2014-4-12 20:53
2012raps 发表于 2014-4-12 20:35
……增量備份 DISM /Capture-CustomImage /CaptureDir:C: 似乎有一個先決條件,就是 指針文件 不能與 引導 ...

恩,我遇到了,不过很简单,bcdboot重新生成引导就行了
作者: LWX_LWX    时间: 2020-2-28 18:37
楼主,你好, server 2012 r2 with update 原生 wimboot制作有详细点吗?谢谢。
作者: gs358906    时间: 2020-2-28 19:04
菜鸟表示看不明白,看来这里高手多
作者: huang1987    时间: 2023-10-25 08:23
谢谢分享




欢迎光临 无忧启动论坛 (http://bbs.c3.wuyou.net/) Powered by Discuz! X3.3