|
原帖由 lxl1638 于 2009-7-2 00:02 发表
在啊,正想了解一个问题:
资源管理器explorer,点开始菜单处的[关机/注销]按钮没有弹出会话窗口,是因为注册表不全?或者是文件不全?或者是被ResHacker掉了所引起的?
另外,Win7peld.exe好象是通过 ...
explorer的[关机/注销]按钮没有弹出会话窗口是因为该功能已被除去。
Win7peldr是靠执行外部程式来实现目标的,不过,它本身有以下执行顺序:
It currently can do the following things.
1. First it reads section [preconfig] from Win7PE.cfg, and parse all his entrys.
Example
CODE
[preconfig]
hidewait|Explorer clid|regedit /s clid.reg
2. Then it reads sections [main] and [shells] , and start the default shell.
Example
CODE
[main]
screen=1024x768
wpeinit=background
;autorun=normal
mountprogram=no
defaultshell=Explorer
[shells]
Total Commander|totalcmd\totalcmd.exe
Explorer|x:\windows\explorer.exe
BS Explorer|BSExplorer\Explorer.exe
3. Then it reads section [autorun] , and parse all his entrys.
Example
CODE
[autorun]
wait|BGInfo|%SystemDrive%\Program Files\BGInfo\runBGinfo.exe
4. Then it installs the drivers, found in GetWindowsDir & "\Inf"
Then it creates shortcuts found parsing section [shortcut] using Shortcuts.exe
Example
CODE
[shortcut]
Desktop|WinDlg|%SystemDrive%\Program Files\Windlg\WinDlg.exe||
Diagnostic|WinDlg|%SystemDrive%\Program Files\Windlg\WinDlg.exe||
System Information|System Info|%SystemDrive%\Program Files\System Info\siw.exe||
Network|PENetwork|%SystemDrive%\Program Files\PENetwork\PENetwork.exe||
Desktop|PENetwork|%SystemDrive%\Program Files\PENetwork\PENetwork.exe||
Desktop|Disk Management|%SystemRoot%\System32\mmc.exe||/b %SystemRoot%\System32\diskmgmt.msc
Administrative Tools|Disk Management|%SystemRoot%\System32\mmc.exe||/b %SystemRoot%\System32\diskmgmt.msc
Administrative Tools|Computer Management|%SystemRoot%\System32\mmc.exe||/b %SystemRoot%\System32\compmgmt.msc
System|Startup Repair (win7)|x:\sources\recovery\startrep.exe||
System|System Recovery|x:\sources\recovery\recenv.exe||
5. Then it reads section [postconfig] , and parse all his entrys.
Example
[postconfig]
CODE
hidewait|Server|x:\windows\system32\net.exe start "LanmanServer"
6. Then it minimize to systemtray.
From there you can open it, and you can change the screenresolution.
Following startoptions/parameters are possible: (section [preconfig],[postconfig])
[autorun], )
wait - the program is launched in the standard window, before continue the job shutdown is waited for
nowait - stabdart window, not waiting for the shutdown
hidewait - hidden mode, waiting for the shutdown
hidenowait - hidden mode, not waiting for the shutdown |
|