无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站广告联系 微信:wuyouceo QQ:184822951
楼主: slore
打印 上一主题 下一主题

[原创] (2022-02-02 更新) Re:WIN10XPE - 从零开始构建的全功能PE

    [复制链接]
2281#
发表于 2019-10-18 15:38:33 | 只看该作者
slore 发表于 2019-10-18 07:40
exec('/hide', 'taskkill /f /im explorer.exe') for now.

lua_helper/shell_helper.lua,you can c ...

kill explorer command is available in many applications we use. is there a way to make the lua system compatible with this code instead of changing them one by one?

for example, it was stuck in the kill explorer command when installing office.

点评

Why not kill explorer.exe in Office2007 's install batch file? I don't know why you need kill explorer in lua. If you want do some refresh , with lua script, you can create function for refresh w  详情 回复 发表于 2019-10-18 16:23
回复

使用道具 举报

2282#
 楼主| 发表于 2019-10-18 16:23:48 | 只看该作者
本帖最后由 slore 于 2019-10-18 16:27 编辑
gazi06 发表于 2019-10-18 15:38
kill explorer command is available in many applications we use. is there a way to make the lua sys ...


Why not kill explorer.exe in Office2007 's install batch file?

I don't know why you need kill explorer in lua.
If you want do some refresh , with lua script, you can create function for refresh without killing it.

Of cause you can also create kill () function in Lua_helper.

kill ('explorer.exe')

function kill(proc)
  exec('/hide','taskkill /f /im ' .. proc)
end

点评

because I have this command in many applications. for example when installing an external drive, etc. I embed this command batch file but it doesn't work  详情 回复 发表于 2019-10-18 17:09
回复

使用道具 举报

2283#
发表于 2019-10-18 17:09:40 | 只看该作者
slore 发表于 2019-10-18 16:23
Why not kill explorer.exe in Office2007 's install batch file?

I don't know why you need kill ...

because I have this command in many applications. for example when installing an external drive, etc.
I embed this command batch file but it doesn't work

点评

Why you need convert them into lua? write the origin codes into Startup\ xxx.ini, call it with Pecmd.exe.  详情 回复 发表于 2019-10-18 17:50
回复

使用道具 举报

2284#
 楼主| 发表于 2019-10-18 17:50:08 | 只看该作者
本帖最后由 slore 于 2019-10-18 17:53 编辑
gazi06 发表于 2019-10-18 17:09
because I have this command in many applications. for example when installing an external drive, e ...


Why you need convert them into lua?

write the origin codes into Startup\  xxx.ini,
call it with Pecmd.exe.
If you have lots of custom codes in pecmd.ini,
Why not use the PECMD as the loader?


Or you mean you need a kill.exe?
What about use tskill.exe command?

点评

my main problem is the explorer restart problem like in the video. It jammed. this also applies to other applications attach://403062.gif  详情 回复 发表于 2019-10-18 21:31
回复

使用道具 举报

2285#
发表于 2019-10-18 19:14:38 | 只看该作者
本帖最后由 我是小青蛙 于 2019-10-18 20:38 编辑

我还是没找到网络这个键值,来了点笨方法直接用镜像里的DEFAULT,看来默认的注册表里就有,好像是导入了什么键值导致网络图标无法显示,这样哪里看的干净多了只有一个图标跟系统一样,然后修护下其它键值就行了。

QQ截图20191018191049.png (51.33 KB, 下载次数: 276)

QQ截图20191018191049.png
回复

使用道具 举报

2286#
发表于 2019-10-18 21:27:03 | 只看该作者
實在找不到為什麼administrator切去SYSTEM會被砍explorer.exe
  1. rem Switch to SYSTEM
  2. if not "%USERNAME%"=="SYSTEM" (
  3.   "%ProgramFiles%\WinXShell\WinXShell.exe" -luacode SwitchSession^('SYSTEM'^)
  4.   goto :EOF
  5. )

  6. rem Switch to ADMIN
  7. if exist "X:\Users\Administrator" (
  8.   "%ProgramFiles%\WinXShell\WinXShell.exe" -luacode SwitchSession^('ADMIN'^)
  9.   goto :EOF
  10. )
复制代码

想換個方法解決
請問slore大
SwtichUser.bat捷徑是在哪建立的?
我想把BAT改成PECMD的INI檔
在切換到administrator時自動執行一次explorer.exe就好了...

点评

Admin 切換到 SYSTEM 没有 砍explorer.exe啊。 第一次切换时,SYSTEM啥也没执行,explorer.exe没有启动。 所以切换过去后,LOAD PECMD.ini进行用户环境初始化。 之后再切换,就是单纯的用户切换。系统管理的  详情 回复 发表于 2019-10-18 22:14
回复

使用道具 举报

2287#
发表于 2019-10-18 21:31:48 | 只看该作者
slore 发表于 2019-10-18 17:50
Why you need convert them into lua?

write the origin codes into Startup\  xxx.ini,

my main problem is the explorer restart problem like in the video. It jammed. this also applies to other applications

http://wuyou.net/forum.php?mod=attachment&aid=NDAzMDYyfDViYjk5YTRhZjlmNDU4NGQyNWZkNmY2ODFkYTdmOGY1fDE3MTU3NjgxNDE%3D&request=yes&_f=.gif

Video_2019-10-18_162517.gif (1.29 MB, 下载次数: 159)

Video_2019-10-18_162517.gif

点评

I got what's your problem. I start explorer.exe with EXEC, not the SHEL command. Because this command only works on first logoned user, the second won't start explorer.exe. But EXEC explorer.ex  详情 回复 发表于 2019-10-18 22:21
回复

使用道具 举报

2288#
 楼主| 发表于 2019-10-18 22:14:25 | 只看该作者
saiz 发表于 2019-10-18 21:27
實在找不到為什麼administrator切去SYSTEM會被砍explorer.exe

想換個方法解決

Admin 切換到 SYSTEM 没有 砍explorer.exe啊。

第一次切换时,SYSTEM啥也没执行,explorer.exe没有启动。
所以切换过去后,LOAD PECMD.ini进行用户环境初始化。

之后再切换,就是单纯的用户切换。系统管理的,没有任何触发时机。
并不知道用户发生了切换。
感觉还是想办法把SHEL做好,explorer结束了也能自动重启。

是不是你代码有kill explorer.exe?

点评

代碼是有KILL explorer.exe 但之後也有EXEC explorer.exe 主要是因為匯入.reg後,刷新一下以套用設定 開機是登入administrator, 看taskmgr是有個administrator執行的explorer.exe 但切換登入SYSTEM. 再看task  详情 回复 发表于 2019-10-18 22:33
回复

使用道具 举报

2289#
 楼主| 发表于 2019-10-18 22:21:37 | 只看该作者
gazi06 发表于 2019-10-18 21:31
my main problem is the explorer restart problem like in the video. It jammed. this also applies to ...

I got what's your problem.

I start explorer.exe with EXEC, not the SHEL command.
Because this command only works on first logoned user, the second won't start explorer.exe.

But EXEC explorer.exe, won't keep the process alive if you kill it.

You needs a process or thread to make it always be running.

FOR normal Windows, the explorer.exe is same like what you got now.

I just wonder why you need kill explorer.exe.

I don't think we need kill explorer.exe in normal Windows.

点评

I'm using different winpe. programs common win7pe win8 pe. winpe 10 da lua launcher is hassle free so i chose it. I'm having some problems with pecmd. for me just want to run the luada right-click e  详情 回复 发表于 2019-10-18 23:04
回复

使用道具 举报

2290#
发表于 2019-10-18 22:33:58 | 只看该作者
slore 发表于 2019-10-18 22:14
Admin 切換到 SYSTEM 没有 砍explorer.exe啊。

第一次切换时,SYSTEM啥也没执行,explorer.exe没有启 ...

代碼是有KILL explorer.exe
但之後也有EXEC explorer.exe
主要是因為匯入.reg後,刷新一下以套用設定

開機是登入administrator,
看taskmgr是有個administrator執行的explorer.exe
但切換登入SYSTEM.
再看taskmgr只剩一個SYSTEM的explorer.exe
回复

使用道具 举报

2291#
 楼主| 发表于 2019-10-18 22:41:07 | 只看该作者
saiz 发表于 2019-10-18 22:33
代碼是有KILL explorer.exe
但之後也有EXEC explorer.exe
主要是因為匯入.reg後,刷新一下以套用設定

SYSTEM里面用kill explorer.exe是不是不管用户,全部杀掉了。

建议用系统的tskill.exe 可以指定 用戶会话。

结束SYSTEM用户的
tskill.exe explorer.exe /id:1

结束Administrator用户的
tskill.exe explorer.exe /id:2

点评

十分感謝!! 用tskill去區分使用者kill explorer就OK了! SHEL問題目前看來無解 因為SHEL好像是只要有explorer.exe存在就不會重啟 所以如果其它使用者有explorer.exe,當前使用者下也不會重啟了..  详情 回复 发表于 2019-10-19 14:17
回复

使用道具 举报

2292#
发表于 2019-10-18 23:04:27 | 只看该作者
slore 发表于 2019-10-18 22:21
I got what's your problem.

I start explorer.exe with EXEC, not the SHEL command.

I'm using different winpe. programs common win7pe win8 pe.
winpe 10 da lua launcher is hassle free so i chose it. I'm having some problems with pecmd.
for me just want to run the luada right-click explorer refresh command.

点评

好吧, 我不知道怎么解决PECMD的SHEL问题,但是用lua做一个 explorer.exe 的守护进程是非常容易的。 "Z:\WimBuilder2\vendor\WinXShell\X_PF\WinXShell\lua_helper\loader_helper.lua" 添加3个函数 CloseShellWin  详情 回复 发表于 2019-10-19 00:50
回复

使用道具 举报

2293#
发表于 2019-10-19 00:41:15 | 只看该作者
If I can solve the problem logging in with pecmd, I will use it. taskbar fixed icons and return to the system will not work.

http://wuyou.net/forum.php?mod=attachment&aid=NDAzMDcxfDU4MWM3NmU4ZDlhNWIwMWJlNzY5ZjQ2MjQ3MTYwOWE3fDE3MTU3NjgxNDE%3D&request=yes&_f=.gif

Video_2019-10-18_193645.gif (1.13 MB, 下载次数: 207)

Video_2019-10-18_193645.gif
回复

使用道具 举报

2294#
 楼主| 发表于 2019-10-19 00:50:44 | 只看该作者
本帖最后由 slore 于 2019-10-19 00:54 编辑
gazi06 发表于 2019-10-18 23:04
I'm using different winpe. programs common win7pe win8 pe.
winpe 10 da lua launcher is hassle fre ...


好吧, 我不知道怎么解决PECMD的SHEL问题,但是用lua做一个 explorer.exe 的守护进程是非常容易的。

"Z:\WimBuilder2\vendor\WinXShell\X_PF\WinXShell\lua_helper\loader_helper.lua"
添加3个函数 CloseShellWindow(), ShellDaemon(cmd), shel(cmd)

  1. function CloseShellWindow()
  2.   Taskbar:WaitForReady()
  3.   -- app:call('CloseShellWindow')

  4.   local sh_win = winapi.find_window('Shell_TrayWnd', nil)
  5.   -- WM_DESTORY 0x0002
  6.   -- sh_win:send_message(0x0002, 0, 0)

  7.   local user = os.getenv('USERNAME')
  8.   exec('/hide /wait', 'taskkill.exe /fi "USERNAME eq '.. user .. '" /im explorer.exe /f')
  9.   app:call('sleep', 500)
  10. end

  11. function ShellDaemon(cmd)
  12.   if os.getenv('USERNAME') ~= 'SYSTEM' then CloseShellWindow() end

  13.   while (1) do
  14.     exec('/wait', cmd)
  15.     app:call('sleep', 500)
  16.   end
  17. end

  18. function shel(cmd)
  19.   exec('WinXShell.exe -luacode "ShellDaemon([[' .. cmd .. ']])"')
  20. end
复制代码


"Z:\WimBuilder2\Projects\WIN10XPE\_CustomFiles_\PEMaterial\pecmd.lua"
注释或者删除掉 shel 函数别名定义,注释或者删除掉 RunShell()函数的 用户 判断。

-- shel = exec

local function RunShell()
  -- if logon_user ~= 'SYSTEM' then return end

点评

thank you. At least the explorer refresh process succeeds but still plugs into the explorer in applications. Is there a solution for the pecmd administrator error I mentioned in the previous message?  详情 回复 发表于 2019-10-19 13:43
回复

使用道具 举报

2295#
发表于 2019-10-19 13:43:36 | 只看该作者
本帖最后由 gazi06 于 2019-10-19 13:55 编辑
slore 发表于 2019-10-19 00:50
好吧, 我不知道怎么解决PECMD的SHEL问题,但是用lua做一个 explorer.exe 的守护进程是非常容易的。

...


http://wuyou.net/forum.php?mod=attachment&aid=NDAzMTA5fDRjZTgxNzljNDc1ZDhiYWUyMDMwMTY5ZWE2Y2YwNDg2fDE3MTU3NjgxNDE%3D&request=yes&_f=.gif

thank you. At least the explorer refresh process succeeds but still plugs into the explorer in applications.
Is there a solution for the pecmd administrator error I mentioned in the previous message?

Video_2019-10-19_085052.gif (1.04 MB, 下载次数: 178)

Video_2019-10-19_085052.gif

点评

Did you try the DEFUALT build with origin PECMD.ini? just enable the Administrator accout option to be ON. You mentioned problem is not exist with my built-in pecmd.ini.  详情 回复 发表于 2019-10-19 13:51
回复

使用道具 举报

2296#
 楼主| 发表于 2019-10-19 13:51:49 | 只看该作者
gazi06 发表于 2019-10-19 13:43
thank you. At least the explorer refresh process succeeds but still plugs into the explorer in app ...

Did you try the DEFUALT build with origin PECMD.ini?
just enable the Administrator accout option to be ON.

You mentioned problem is not exist with my built-in pecmd.ini.

点评

two different results emerged. it was tested in its original form without touching any files. attach://403111.gif this also modified the modified files. attach://403112.gif  详情 回复 发表于 2019-10-19 14:28
回复

使用道具 举报

2297#
发表于 2019-10-19 14:17:59 | 只看该作者
slore 发表于 2019-10-18 22:41
SYSTEM里面用kill explorer.exe是不是不管用户,全部杀掉了。

建议用系统的tskill.exe 可以指定 用戶 ...

十分感謝!!
用tskill去區分使用者kill explorer就OK了!
SHEL問題目前看來無解
因為SHEL好像是只要有explorer.exe存在就不會重啟
所以如果其它使用者有explorer.exe,當前使用者下也不會重啟了..
回复

使用道具 举报

2298#
发表于 2019-10-19 14:28:09 | 只看该作者
本帖最后由 gazi06 于 2019-10-19 14:31 编辑
slore 发表于 2019-10-19 13:51
Did you try the DEFUALT build with origin PECMD.ini?
just enable the Administrator accout option  ...


2. two different results emerged..
it was tested in its original form without touching any files.

http://wuyou.net/forum.php?mod=attachment&aid=NDAzMTEyfDM1NzlmYjQ3NzFmOWJkMmZlZjNkNjdkMDRjNWNmMmJhfDE3MTU3NjgxNDE%3D&request=yes&_f=.gif


1. this also modified the modified files.


http://wuyou.net/forum.php?mod=attachment&aid=NDAzMTExfGFhZGY1Y2M5OGY1ZDgyNDNmMzY1ZWI0NjA4Mjg2YzI0fDE3MTU3NjgxNDE%3D&request=yes&_f=.gif

Untitled.gif (1.89 MB, 下载次数: 166)

Untitled.gif

orjinal.gif (2.75 MB, 下载次数: 158)

orjinal.gif

点评

Which version Windows ISO you used?  发表于 2019-10-19 14:34
回复

使用道具 举报

2299#
发表于 2019-10-19 15:32:19 | 只看该作者
@slore

Win10_1903_V1_Turkish_x64.iso

点评

Is source index Professional? miss tsdiscon.exe in your PE? add pause in SwitchUser.bat to see the console log.  发表于 2019-10-19 16:11
回复

使用道具 举报

2300#
发表于 2019-10-19 17:45:21 | 只看该作者
本帖最后由 gazi06 于 2019-10-19 17:54 编辑

Professional is selected but creates as enterprise.

http://wuyou.net/forum.php?mod=attachment&aid=NDAzMTM4fDg1OWM2MDQzNTg5MzBlYzRiNGJlZTFlZWU4MmE0N2UxfDE3MTU3NjgxNDE%3D&request=yes&_f=.png

"miss tsdiscon.exe in your PE?"  i didn't understand it but tsdiscon.exe is also available in PE

"add pause in SwitchUser.bat to see the console log." i don't know how to do it, but i saved the log file

http://wuyou.net/forum.php?mod=attachment&aid=NDAzMTM3fDdkNDY2Y2Q0MTRhNGU3ODY3NDQ4ZjBhZTE5ZDNlMzYyfDE3MTU3NjgxNDE%3D&request=yes&_f=.7z

2019-10-19_125304.png (198.95 KB, 下载次数: 260)

2019-10-19_125304.png

点评

if you select the Administrator account, please don't select the "SlimUltra" patch. I can't download Win10_1903_V1_Turkish_x64.iso, so I download a tr-TR version from uup to test it.  详情 回复 发表于 2019-10-19 18:25
回复

使用道具 举报

2301#
发表于 2019-10-19 18:21:24 | 只看该作者
感谢分享!
回复

使用道具 举报

2302#
 楼主| 发表于 2019-10-19 18:25:48 | 只看该作者
gazi06 发表于 2019-10-19 17:45
Professional is selected but creates as enterprise.

http://wuyou.net/forum.php?mod=attachment&aid=NDAzMTM4fDg1OWM2MDQzNTg5MzBlYzRiNGJlZTFlZWU4MmE0N2UxfDE3MTU3NjgxNDE%3D&request=yes&_f=.png

if you select the Administrator account, please don't select the "SlimUltra" patch.

I can't download Win10_1903_V1_Turkish_x64.iso, so I download a tr-TR version from uup to test it.

点评

The result is the same when "Slim Ultra" is off. Here you can download the final version of "Win10_1903_V2_English_x64.iso". select language "turkish" https://tb.rg-adguard.net/index.php if you  详情 回复 发表于 2019-10-19 19:09
回复

使用道具 举报

2303#
发表于 2019-10-19 19:09:35 | 只看该作者
slore 发表于 2019-10-19 18:25
if you select the Administrator account, please don't select the "SlimUltra" patch.

I can't dow ...


The result is the same when "Slim Ultra" is off.

Here you can download the final version of "Win10_1903_V2_Turkish_x64.iso". select language "turkish"
https://tb.rg-adguard.net/index.php

if you can't download it, I'll upload it to a different site.

回复

使用道具 举报

2304#
发表于 2019-10-19 19:49:51 | 只看该作者
我用10.10.e0179016版 Full构建 制作18362.418,过程很顺利,一次就成功了,兼容性也没得说,常用的软件都能正常运行,大赞!但在使用过程中发现,以Administrator登录的话,打开Explorer有点卡顿,明显偏慢,切换到System账户,Explorer就很流畅,基本上秒开,反复切换多次试验,依然是这样,不知道是不是Administrator登录还需要有什么额外的优化处理?

点评

反复测试了,等5-10十分钟也还是有点卡,具体表现为点击Explorer后鼠标变成等待状态,大约1秒后视图才出来。应该不是网络的原因,我把网络关掉,重启Explorer也无改善,刚才特意构建了一个不含网络的版本,也存在这  详情 回复 发表于 2019-10-20 09:25
Administrator等一会儿好像就不卡了,有什么初始化的进程没完吧。不开网络的话,不知道有没有改善。。  发表于 2019-10-19 19:55
回复

使用道具 举报

2305#
发表于 2019-10-19 20:30:06 | 只看该作者
本帖最后由 我是小青蛙 于 2019-10-19 20:38 编辑
slore 发表于 2019-10-17 21:28
Z:\WimBuilder2\Projects\WIN10XPE\01-Components\00-Shell\Shell_RegDefault.reg

不知道有关系没。


我用的DEFAULT注册表包含我的个性化设置 桌面小图标 大任务栏 时间显示秒星期 自动排列图标 资源管理器此电脑展开显示 硬盘文件平铺 不显示隐藏文件。

Shell_RegDefault.txt

11.39 KB, 下载次数: 6, 下载积分: 无忧币 -2

回复

使用道具 举报

2306#
发表于 2019-10-20 02:20:04 | 只看该作者
@slore I found the master problem. black screen error at startup caused by "pecmd.lua" changes

  The reason for the migration between users is that the location of the "PEMaterial" file is entered as windows\PEMaterial

点评

Yes, it is a bug. if you change the PEMaterial to Windows\PEMaterial. You won't see User Logon UI, and logon SYSTEM account directly. you can switch to Admin account, but can't switch back to SYST  详情 回复 发表于 2019-10-20 13:42
回复

使用道具 举报

2307#
发表于 2019-10-20 09:25:34 | 只看该作者
Debian 发表于 2019-10-19 19:49
我用10.10.e0179016版 Full构建 制作18362.418,过程很顺利,一次就成功了,兼容性也没得说,常用的软件都 ...

反复测试了,等5-10十分钟也还是有点卡,具体表现为点击Explorer后鼠标变成等待状态,大约1秒后视图才出来。应该不是网络的原因,我把网络关掉,重启Explorer也无改善,刚才特意构建了一个不含网络的版本,也存在这个现象。一点小瑕疵,不影响使用,感谢大佬的不懈开发更新!

点评

上面 土耳其语言的v1903我顺便试了试,Admin用户,没有感觉到特别明显的延时。 你可以附件的GIF效果,开了几十个资源管理器,没有卡顿。 http://bbs.wuyou.net/forum.php?mod=redirect&goto=findpost&ptid=41139  详情 回复 发表于 2019-10-20 13:58
上面 土耳其语言的v1903我顺便试了试,Admin用户,没有感觉到特别明显的延时。 你可以附件的GIF效果,开了几十个资源管理器,没有卡顿。 http://bbs.wuyou.net/forum.php?mod=redirect&goto=findpost&ptid=41139  详情 回复 发表于 2019-10-20 13:57
回复

使用道具 举报

2308#
 楼主| 发表于 2019-10-20 13:42:11 | 只看该作者
本帖最后由 slore 于 2019-10-20 16:19 编辑
gazi06 发表于 2019-10-20 02:20
@slore I found the master problem. black screen error at startup caused by "pecmd.lua" changes

&# ...


Yes, it is a bug. if you change the PEMaterial to Windows\PEMaterial.

You won't see User Logon UI, and logon SYSTEM account directly.
you can switch to Admin account, but can't switch back to SYSTEM account.

BUT:
The Desktop Contextmenu is OK, and the Pin to taskbar icon is OK. Not like your Gif image.


===============================================================================
gazi06 反馈了一个问题,确认是代码的疏忽。如果更改了PEMaterial的路径,
将无法看到登录界面,直接进入SYSTEM帐户。从SYSTEM帐户可以再切换到Admin用户,但是无法再切换回SYSTEM帐户。


Because, The wrong path for call the UI_Logon.
因为,PecmdAdmin.ini中的路径没有被更新,导致无法打开登录界面。

‪Z:\WimBuilder2\Projects\WIN10XPE\_CustomFiles_\PEMaterial\PecmdAdmin.ini

// MESS Switch to Administrator? @Switch to Administrator #YN *3000 $N
EXEC ="%ProgramFiles%\WinXShell\WinXShell.exe" -ui -jcfg "X:\PEMaterial\UI_LogonPE.jcfg"
TEAM SET YESNO=NO|IFEX #2=%ERRORLEVEL%,SET YESNO=YES
FIND $%YESNO%=YES,CALL ADMIN



How to Fix this:
修復方法:
‪Z:\WimBuilder2\Projects\WIN10XPE\00-Configures\Loader\main.bat
call TextReplace "%X_SYS%\Pecmd.ini" "X:\\PEMaterial\\" "X:\%opt[loader.PEMaterial]%\" g
call TextReplace "%X_SYS%\PecmdAdmin.ini" "X:\\PEMaterial\\" "X:\%opt[loader.PEMaterial]%\" g
goto :EOF



Preview Fixed PE:
修复后,预览:


Build a new PE in 37 seconds, and the run the VitualMachine to test it. ALL features is OK. (Before booting PE, there is 20 seconds stop, keep watch please.)
前37秒是 构建PE, 后面是 启动后操作。用户切换没有问题。 (中间怕GIF过大停留处理了下,构建后可能有20秒不动,请等待。)

点评

Thank you, Master, we learn a lot. Changing the PEmaterial path is losing icons. So I won't touch it. No problem for now, easy to come.  详情 回复 发表于 2019-10-20 15:54
回复

使用道具 举报

2309#
 楼主| 发表于 2019-10-20 13:58:20 | 只看该作者
Debian 发表于 2019-10-20 09:25
反复测试了,等5-10十分钟也还是有点卡,具体表现为点击Explorer后鼠标变成等待状态,大约1秒后视图才出 ...

上面 土耳其语言的v1903我顺便试了试,Admin用户,没有感觉到特别明显的延时。
你可以附件的GIF效果,开了几十个资源管理器,没有卡顿。

http://bbs.wuyou.net/forum.php?m ... &fromuid=166812

你也是虚拟机操作吗?CPU是单核么?

另外,如果将文件管理器分开单独的进程这个设定,你试试,是否有改善。

‪Z:\WimBuilder2\Projects\WIN10XPE\_CustomFiles_\MyCustom\Last\_FileExplorerInSeparateProcess.bat

  1. reg add HKLM\tmp_DEFAULT\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced /v SeparateProcess /t REG_DWORD /d 1 /f
复制代码


如果是2019.10.10版本,先把这个注册表设定复制放到
‪Z:\WimBuilder2\Projects\WIN10XPE\_CustomFiles_\last.bat

2019.11.11版本之后(目前在最新开发版本的last.bat中才处理了MyCustom\Last\*.bat),才可以识别
_CustomFiles_\MyCustom\Last\*.bat。

点评

Admin: [attachimg]403211[/attachimg] System: [attachimg]403212[/attachimg] 我回头加入_FileExplorerInSeparateProcess.bat重新构建试试  详情 回复 发表于 2019-10-20 15:09
回复

使用道具 举报

2310#
发表于 2019-10-20 14:32:57 | 只看该作者
本帖最后由 theaven 于 2019-10-20 14:36 编辑

之前说的进入桌面前反复重启的情况:
ISO镜像:原版ISO 10.0.10240.16384  X64
我的系统:10.0.17763.805 X64

测试环境:virtualBox 6.0.2 r128163、VMware 15 pro 15.0.3 build-12422535



构建(日志)就是默认缺省设置下的日志文件。因为没有权限上传附件,就传到网盘了

https://pan.baidu.com/s/184348QXenj0EcotSLDMP7g&shfl=shareset
提取码: wppt



同样环境同样的源ISO使用 WinpeCreate 17.12.10.2117生成的PE则完全正常。

点评

10240太老了,文件清单不同,但是我没用过。你换RS5之后的版本就行了。  发表于 2019-10-20 15:10
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-5-15 18:15

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表