mirror of
https://github.com/slorelee/wimbuilder2.git
synced 2025-05-06 18:25:51 +08:00
load DRIVERS hive
This commit is contained in:
parent
6ff6476fb1
commit
217bc4ba5f
@ -73,11 +73,19 @@ if ERRORLEVEL 1 set GetLastError=1
|
||||
:DEAL_SYSTEM
|
||||
if /i "x%2"=="xUNLOAD" (
|
||||
reg query HKLM\%1_SYSTEM /ve 2>nul 1>&2
|
||||
if ERRORLEVEL 1 goto :DEAL_NTUSER
|
||||
if ERRORLEVEL 1 goto :DEAL_DRIVERS
|
||||
)
|
||||
(REG %2 HKLM\%1_SYSTEM %COMMENT_STR% %FILEPATH%\SYSTEM)
|
||||
if ERRORLEVEL 1 set GetLastError=1
|
||||
|
||||
:DEAL_DRIVERS
|
||||
if /i "x%2"=="xUNLOAD" (
|
||||
reg query HKLM\%1_DRIVERS /ve 2>nul 1>&2
|
||||
if ERRORLEVEL 1 goto :DEAL_NTUSER
|
||||
)
|
||||
(REG %2 HKLM\%1_DRIVERS %COMMENT_STR% %FILEPATH%\DRIVERS)
|
||||
if ERRORLEVEL 1 set GetLastError=1
|
||||
|
||||
:DEAL_NTUSER
|
||||
if /i "x%2"=="xUNLOAD" (
|
||||
reg query HKLM\%1_NTUSER.DAT /ve 2>nul 1>&2
|
||||
|
@ -1,4 +1,5 @@
|
||||
\Windows\System32\config\DEFAULT
|
||||
\Windows\System32\config\DRIVERS
|
||||
\Windows\System32\config\SYSTEM
|
||||
\Windows\System32\config\SOFTWARE
|
||||
\Users\Default\NTUSER.DAT
|
||||
|
Loading…
x
Reference in New Issue
Block a user