2019-10-31

LENOVO T410

After installing my Lenovo T410 to Windows 10, Windows 10 can not find the driver for the PCI Serial Port.
VEN_8086&DEV_3B67&SUBSYS_216217AA&REV_06\3&b1bfb68&0&B3

It need "Intel Management Engine Interface 6.2 and Serial Over LAN (SOL) Driver".

2019-10-07

如何啟動 "Acronis TrueImage PE and ISO" in UEFI mode with grub2

source from : [分享] Acronis TrueImage 2019, 2018, 2017, 2016 PE and ISO; Acronis Backup 11.7 PE

I was make new version Acronis True Image 2018, 2017, 2016 PE and ISO
You can boot in UEFI mode with grub2. Use this code in menu

menuentry "Acronis True Image Home 2018 ISO" {
set quiet=1
set gfxpayload=1024x768x32,1024x768
set mbrcrcs=on
set isofile="/iso/ati18cn.iso"
search --set -f $isofile
loopback loop $isofile
linux (loop,msdos1)/dat10.dat lang=zh_CN quiet force_modules=usbhid
initrd (loop,msdos1)/dat11.dat (loop,msdos1)/dat12.dat
boot
}
menuentry "Acronis True Image Home 2018 ISO ElTorito" {
set quiet=1
set gfxpayload=1024x768x32,1024x768
set mbrcrcs=on
set isofile="/iso/ati18cn.iso"
search --set -f $isofile
loopback loop $isofile
echo mount the El Torito floppy image
loopback ElTorito (loop)232+224000
#ls (ElTorito)/
linux (ElTorito)/dat10.dat lang=zh_CN quiet force_modules=usbhid
initrd (ElTorito)/dat11.dat (ElTorito)/dat12.dat
boot
}

menuentry "Acronis True Image Home 2017 ISO" {
set quiet=1
set gfxpayload=1024x768x32,1024x768
set mbrcrcs=on
set isofile="/iso/ati17cn.iso"
search --set -f $isofile
loopback loop $isofile
linux (loop,msdos1)/dat10.dat lang=zh_CN quiet force_modules=usbhid
initrd (loop,msdos1)/dat11.dat (loop,msdos1)/dat12.dat
boot
}
menuentry "Acronis True Image Home 2017 ISO ElTorito" {
set quiet=1
set gfxpayload=1024x768x32,1024x768
set mbrcrcs=on
set isofile="/iso/ati17cn.iso"
search --set -f $isofile
loopback loop $isofile
echo mount the El Torito floppy image
loopback ElTorito (loop)232+208000
#ls (ElTorito)/
linux (ElTorito)/dat10.dat lang=zh_CN quiet force_modules=usbhid
initrd (ElTorito)/dat11.dat (ElTorito)/dat12.dat
boot
}

menuentry "Acronis True Image Home 2016 ISO ElTorito" {
set quiet=1
set gfxpayload=1024x768x32,1024x768
set mbrcrcs=on
set isofile="/iso/ati16.iso"
search --set -f $isofile
loopback loop $isofile
echo mount the El Torito floppy image
loopback ElTorito (loop)232+184000
#ls (ElTorito)/
linux (ElTorito)/dat10.dat lang=13 quiet force_modules=usbhid
initrd (ElTorito)/dat11.dat (ElTorito)/dat12.dat
boot
}

menuentry "Acronis True Image Home 2016 ISO" {
set quiet=1
set gfxpayload=1024x768x32,1024x768
set mbrcrcs=on
set isofile="/iso/ati16.iso"
search --set -f $isofile
loopback loop $isofile
linux (loop,msdos1)/dat10.dat lang=13 quiet force_modules=usbhid
initrd (loop,msdos1)/dat11.dat (loop,msdos1)/dat12.dat
boot
}

menuentry "Acronis True Image Home 2016 - Extract ISO" {
linux /acronis/dat10.dat lang=13 vga=791 mbrcrcs=on quiet force_modules=usbhid
initrd /acronis/dat11.dat /acronis/dat12.dat
boot
}

menuentry "Acronis Disk Director Home 12 ISO ElTorito" {
set quiet=1
set gfxpayload=1024x768x32,1024x768
set mbrcrcs=on
set isofile="/iso/add12.iso"
search --set -f $isofile
loopback loop $isofile
echo mount the El Torito floppy image
loopback ElTorito (loop)220+161792
#ls (ElTorito)/
linux (ElTorito)/dat5.dat quiet
initrd (ElTorito)/dat4.dat
boot
}

menuentry "Acronis Backup Advanced 11.7" {
set quiet=1
set gfxpayload=1024x768x32,1024x768
set mbrcrcs=on
set isofile="/iso/abr11cn.iso"
search --set -f $isofile
loopback loop $isofile
loopback ElTorito (loop)228+368000
#ls (ElTorito)/
linux (ElTorito)/abr64ker.dat product=bootagent media_for_windows quiet
initrd (ElTorito)/abr64ram.dat (ElTorito)/dat8.dat
boot
}

menuentry "Acronis Snap Deploy 5 Standalone Utility" {
set quiet=1
set gfxpayload=1024x768x32,1024x768
set mbrcrcs=on
set isofile="/iso/asd5s.iso"
search --set -f $isofile
loopback loop $isofile
echo mount the El Torito floppy image
loopback ElTorito (loop)208+154000
#ls (ElTorito)/
linux (ElTorito)/dat4.dat quiet
initrd (ElTorito)/dat5.dat
boot
}

menuentry "Acronis Snap Deploy 5 Master Image Creator" {
set quiet=1
set gfxpayload=1024x768x32,1024x768
set mbrcrcs=on
set isofile="/iso/asd5m.iso"
search --set -f $isofile
loopback loop $isofile
echo mount the El Torito floppy image
loopback ElTorito (loop)208+146000
#ls (ElTorito)/
linux (ElTorito)/dat8.dat quiet
initrd (ElTorito)/dat9.dat
boot
}

menuentry "Acronis Snap Deploy 5 Agent" {
set quiet=1
set gfxpayload=1024x768x32,1024x768
set mbrcrcs=on
set isofile="/iso/asd5a.iso"
search --set -f $isofile
loopback loop $isofile
echo mount the El Torito floppy image
loopback ElTorito (loop)208+148000
#ls (ElTorito)/
linux (ElTorito)/dat16.dat quiet
initrd (ElTorito)/dat17.dat
boot
}

=======================================================================
Multi Language code (for version 2017)
- PE : Change value language=en to region code (zh_CN only need zh...)

- ISO: Use region code (can found when change region from acronis website)
Edit file BOOTIA32.XML, BOOTX64.XML;
Arguments=" lang=zh_CN; quiet"

BOOTWIZ.CFG
KERNEL dat10.dat lang=zh_CN force_modules=usbhid quiet

=======================================================================
Multi Language code (for version 2016) (thanks waterchu for ideas)
- PE
REG.exe Add HKLM\Software\Acronis /f /v "language" /T REG_DWORD /D "13"
...............DWORD.............
1-ENGLISH; 11-BRAZIL; 13-CHINESE; 14-CHINESET; 8-CZECH; 6-DUTCH; 27-ESPANA; 2-GERMAN; 25-INDIAN; 15-ITALIAN; 9-JAPAN; 3-KOREAN; 5-POLISH; 19-PORTUGUESE; 0-RUSSIAN; 12-SPANISH; 17-FRENCH

- ISO: Edit file BOOTIA32.XML, BOOTX64.XML;
Arguments=" lang=13; quiet"

BOOTWIZ.CFG
KERNEL dat10.dat lang=13 force_modules=usbhid quiet

If Extract ISO and boot with Grub4dos

title Acronis True Image 2016
find --set-root --ignore-floppies --ignore-cd /acronis/dat10.dat
kernel /acronis/dat10.dat lang=13 vga=791 mbrcrcs=on force_modules=usbhid quiet
initrd /acronis/dat11.dat /acronis/dat12.dat

If try with Recovery Manager (F11), only need extract folder Recovery Manager from original ISO
..........Grub2 (Boot with grub2 can use Recovery Manager)
menuentry "Acronis True Image Home 2016 - F11" {
linux /Recovery\ Manager/kernel64.dat lang=13 vga=791 mbrcrcs=on force_modules=usbhid quiet
initrd /Recovery\ Manager/ramdisk_merged64.dat /Recovery\ Manager/DAT12.DAT
boot
}
....................Grub4dos............
title Acronis True Image Home 2016 - F11
find --set-root --ignore-floppies --ignore-cd /Recovery\ Manager/kernel.dat
kernel /Recovery\ Manager/kernel64.dat lang=13 vga=791 mbrcrcs=on force_modules=usbhid quiet
initrd /Recovery\ Manager/ramdisk_merged64.dat /Recovery\ Manager/DAT12.DAT

========================== ?????????????????????? ==========================
For old acronis version, need replace new driver (Snapapi64.dll only for Acronis True Image 2015, Disk Director 2012x64 - delete old snapapi.dll, copy and rename snapapi64.dll to snapapi.dll)
http://pan.baidu.com/s/1kTD8Jnp

If you try use on real system, try to uninstall driver first. If 64bit, use Fltsrv64. Right Click on snapman_uninstall.inf, fltsrv_uninstall.inf and select Install. Also you can update snapman & Flisrv driver.
http://pan.baidu.com/s/1i3m80rN

First, Right Click on \Uninstall\fltsrv64\fltsrv_update.inf, update snapman & Flisrv driver.
Then, run CMD as administrator, run \ATIH2016_x64\acronis.cmd to install.

Finally, run \ATIH2016_x64\TrueImage.exe successfully.

感覺, 將 Acronis TrueImage 安裝在 Real System 會拖累系統效能, 而且麻煩. 似乎沒有破解的必要
我比較懶, 直接下載 Bootable iso 放到USB 救援工具, 再以 grub2/grub4dos 啟動
至於 bootable iso/PE 檔案產生的方法 : 使用網路上已經安裝並破解成功之後的 Acronis TrueImage, 執行 acronis->TrueImageHome->MediaBuilder.exe 便可取得

2019-10-04

HDD LOW LEVEL FORMAT TOOL 4.40 REPACK (& PORTABLE) BY ELCHUPACABRA

官方網站所提供的免費 LLF Tool, 有執行速度的限制 
==> Free for personal/home use (speed is capped at 180 GB per hour which is 50 MB/s)


1. download HDD LOW LEVEL FORMAT TOOL 4.40 REPACK (and PORTABLE) BY ELCHUPACABRA

2. cd "HDD LOW LEVEL FORMAT TOOL 4.40 REPACK (and PORTABLE) BY ELCHUPACABRA"

3. You will see the following files:
    "HDD Low Level Format Tool 4.40.exe" and 3 *.cmd batch files (can be ignored)

4. double click "HDD Low Level Format Tool 4.40.exe"
5. follow the steps shown below to generate "HDDLLFTool" directory and programs







6. "HDDLLFTool" contain the following files

Run "cmd" as administrator
tree HDDLLFTOOL /A /F

|   HDDLowLevelFormatPortable.exe <--- b="">用此檔案啟動 LLF
|
+---App
|   +---AppInfo
|   |   |   appicon.ico
|   |   |   appicon_128.png
|   |   |   appicon_16.png
|   |   |   appicon_32.png
|   |   |   appicon_75.png
|   |   |   appinfo.ini
|   |   |   EULA.txt
|   |   |
|   |   \---Launcher
|   |           Custom.nsh
|   |           HDDLowLevelFormatPortable.ini ( 名稱必須與 HDDLowLevelFormatPortable.exe 一致)
|   |
|   \---HDDLLF
|           HDDLLF.EXE
|
\---Data
    +---HDDLLF
    |       llftool.4.40.agreement
    |       llftool.license
    |
    \---settings
            HDDLowLevelFormatPortableSettings.ini

2019-10-02

winpe修改制作

指令及重要設定檔 (以 USBOX 4.0/Hiren's BootCD PE x64 為例)
以 7z.exe 打開 64pe.wim & tools.7z

- /boot/pe/64pe.wim/windows/system32/PECMD.exe
- /boot/pe/64pe.wim/windows/system32/PECMD.ini
- /tools/tools.7z/REGDOC.CMD
- /tools/tools.7z/TOOLS.ini
- .../windows/system32/startnet.cmd
- .../windows/system32/winpeshl.ini
- .../windows/system32/wpeinit.exe
- .../windows/system32/Win10PE.cfg ( for Hiren's BootCD PE x64 )

PECMD命令詳解 : part1, part2

2019-09-15

GImageX --- 修改 windows PE 檔 xxx.wim

感覺蠻好用的

Youtube 教學

官網

使用案例

wimlib:一個開源的類似imagex的處理wim神器,(由於imagex最新版識別不了wimboot和esd鏡像,早已經被微軟拋棄)沒有Dism的各種限制支持ESD直接導出為wimboot鏡像或常規壓縮的鏡像。

類似的軟件, 還有 wimtool, 但還是推薦使用 GImageX

2019-09-03

Windows OS 啟動程序

XP : MBR->PBR->ntldr->boot.ini->(ntoskrnl)

Vista/W7/W10 : MBR->PBR->bootmgr->/boot/BCD->winload.exe->(ntoskrnl)
Vista/W7/W10 : UEFI->PBR->bootmgfw.efi->/EFI/microsoft/boot/BCD->winload.efi->(ntoskrnl)

BCD 可透過 bcdedit.exe/EasyBCD/Bootice (建議)/WMI/Visual BCD Editor 修改設定


2019-08-01

關於“sfc /scanow命令無法修復”的問題

建議您使用以下命令嘗試對您的系統執行修復操作,然後查看效果。

按“Windows徽標鍵+X”,啟動“Windows PowerShell(管理員)”,依次輸入以下命令:

Dism /Online /Cleanup-Image /ScanHealth 

Dism /Online /Cleanup-Image /CheckHealth 

DISM /Online /Cleanup-image /RestoreHealth 

重開機

sfc /scannow

[update 2025/05/29] background.wav, foreground, remove.wav 損毀, 執行上述命令有效

如何檢視「系統檔案檢查程式」程序的詳細資料

如需檢視 CBS.Log 檔案所含的詳細資料,您可使用 Findstr 命令將資訊複製至 Sfcdetails.txt 檔案,然後檢視 Sfcdetails.txt 中的詳細資料。 若要執行這項操作,請依照下列步驟執行:
  1. 如先前步驟 1 所述,請開啟提升權限的命令提示字元。
  2. 在命令提示字元輸入下列命令,然後按下 ENTER:
    findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt" 
    注意:Sfcdetails.txt 檔案包含每次「系統檔案檢查程式」工具在電腦上執行時的詳細資料。 該檔案包含「系統檔案檢查程式」工具未修復的檔案相關資訊。 確認日期與時間項目,以判斷上次執行「系統檔案檢查程式」工具時找到的問題檔案。
  3. 從您的桌面開啟 Sfcdetails.txt 檔案。
  4. Sfcdetails.txt 檔案會使用以下格式:
    Date/Time SFC detail
    下列範例記錄檔包含無法修復檔案的項目:
    2007-01-12 12:10:42, Info                  CSI    00000008 [SR] Cannot 
    repair member file [l:34{17}]"Accessibility.dll" of Accessibility, Version = 
    6.0.6000.16386, pA = PROCESSOR_ARCHITECTURE_MSIL (8), Culture neutral, 
    VersionScope neutral, PublicKeyToken = {l:8 b:b03f5f7f11d50a3a}, Type 
    neutral, TypeName neutral, PublicKey neutral in the store, file is missing
     


如何以手動方式用已知的良好檔案複本取代損毀的系統檔案

透過 Sfcdetails.txt 檔案的詳細資訊判斷損毀且無法修復的系統檔案後,請先找出損毀檔案的所在位置,接著以手動方式用已知的良好檔案複本取代損毀的系統檔案。 若要執行這項操作,請依照下列步驟執行:

注意:您可以從另一台執行相同 Windows 版本的電腦取得已知的良好檔案複本。 您可以在該電腦執行「系統檔案檢查程式」程序,以確定您想要複製的系統檔案為良好檔案。
  1. 取得損毀系統檔案的系統管理所有權。 若要執行這項操作,請在提升權限的命令提示字元中,複製並貼上 (或輸入) 下列命令,然後按下 ENTER:
    takeown /f Path_And_File_Name
    注意Path_And_File_Name 預留位置代表損毀檔案的路徑與檔案名稱。 例如,輸入 takeown /f C:\windows\system32\jscript.dll。 
    命令提示字元下,系統管理員權限的命令已成功
     
  2. 授予管理員損毀系統檔案的完整存取權。 若要執行這項操作,請複製並貼上 (或輸入) 下列命令,然後按下 ENTER:
    icacls Path_And_File_Name /GRANT ADMINISTRATORS:F
    注意Path_And_File_Name 預留位置代表損毀檔案的路徑與檔案名稱。 例如,輸入 icacls C:\windows\system32\jscript.dll /grant administrators:F
    以系統管理員權限的命令提示字元
     
  3. 用已知的良好檔案複本取代損毀的系統檔案。 若要執行這項操作,請複製並貼上 (或輸入) 下列命令,然後按下 ENTER:
    複製 Source_File Destination
    注意Source_File 預留位置代表您電腦上已知良好檔案的路徑及檔案名稱,而 Destination 預留位置代表損毀檔案的路徑及檔案名稱。 例如,輸入 copy E:\temp\jscript.dll C:\windows\system32\jscript.dll