无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 4952|回复: 19
打印 上一主题 下一主题

PECMD with English 2003PE problems(Demo PE download)

[复制链接]
跳转到指定楼层
1#
发表于 2011-8-18 20:48:45 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
Hello My dear Chinese friends ,

i have tried and added the PECMD  in english server 2003 PE , some of the commands are succesful in it , but i need experts to  comment , if they have free time , to please help a novice.

i have upploaded a TEST PE to 115

http://u.115.com/file/clq1s3c3

, it is WIM based file . and has PECMD.INI  in system32 folder.  some of the commands , major Shortcuts ,were not created .

means LINK command not successful .a problem with USERPROFILE i think.  may be some experts here  can advice me.


您好亲爱的中国朋友,

我曾尝试和补充英语Server 2003的PE,一些命令成功PECMD,但我需要的专家评论,如果他们有空闲时间,请帮助一个新手。

我upploaded测试PE115

http://u.115.com/file/clq1s3c3

,它的WIM为基础的档案。并在system32文件夹PECMD.INI。一些命令,主要捷径,没有创建。

意味着LINK命令没有成功与USERPROFILE的问题,我认为。可能会出现一些专家在这里可以咨询我。



Regards,
Maanu from Pakistan
20#
发表于 2011-9-14 21:21:19 | 只看该作者

回复 #19 maanu 的帖子

Too much comma
The batter way was put FORX in .ini file and then load this .ini file
For example:
LINK %Desktop%\Multi Media,%WS%\PECMD.EXE,load %WS%\findot.ini,SHELL32.DLL#103

findot.ini:
FORX \SRNPE\MULTI.INI,ot,1,load %ot%

[ 本帖最后由 parsons 于 2011-9-14 21:23 编辑 ]
回复

使用道具 举报

19#
 楼主| 发表于 2011-9-14 14:17:10 | 只看该作者
can anyone please tell me how i can use FORX command to make shortcut of a file from my CD drive ?

like

i am trying to do this , this MULTI.INI  file is on my cd rom image , but it is not loading . although shortcut creating is fine.


LINK %Desktop%\Multi Media,%WS%\PECMD.EXE,FORX \SRNPE\MULTI.INI,ot,1,load %ot%,SHELL32.DLL#103


thanks
回复

使用道具 举报

18#
 楼主| 发表于 2011-9-12 05:45:28 | 只看该作者
# 17 Chenall

when i used PECMD RAMD to create RAMDRIVE , it  was not formatted by default .
the letter B:\ RamDriv was created , but after loading pe , it asked to Formit.

also , i want to ask , if the following is correct  form i am using in PECMD for following reg file.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]
"ClearPageFileAtShutdown"=dword:00000001


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"ListviewShadow"=dword:00000001

[HKEY_CLASSES_ROOT\lnkfile]
"IsShortcut"=-


in PEMCD.INI , i used like below


REGI HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\ListviewShadow=#1       ( FAILED )

REGI HKCR\lnkfile\IsShortcut   ( SUCCESS)


REGI HKLM\SYSTEM\CurrentControlSet\Control\SessionManager\MemoryManagement\ClearPageFileAtShutdown=#1        (FAILED)

am i using the wrong syntax here ?



thanks in advance


Regards,
Maanu from Pakistan
回复

使用道具 举报

17#
发表于 2011-9-8 17:04:33 | 只看该作者

回复 #15 maanu 的帖子

you may use PECMD RAMD to create to imdisk(b:)
eg.
only add below lines to PECMD.INI and delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\000,it works.

RAMD ImDisk,P20L4H64,NTFS,B:,ImDisk
INIT


#16
TEAM SERV !AudioSrv|SERV AudioSrv

http://bbs.wuyou.net/forum.php?m ... mp;page=9#pid880109
回复

使用道具 举报

16#
 楼主| 发表于 2011-9-8 05:59:16 | 只看该作者
a little question more , if you guys dont mind .

what is the meaning of these lines in PECMD.INI

REGI HKLM\SYSTEM\CurrentControlSet\Control\MiniNT\!

TEAM SERV !AudioSrv|SERV AudioSrv

and why these are needed ?

in PE 1.X
回复

使用道具 举报

15#
 楼主| 发表于 2011-9-7 00:27:52 | 只看该作者
PROBLEM SOLVED

brother Chenall   ,  was very helpful .


basically he found the problem , that the userprofiles were not yet created when PECMD.INI was running.

so i copied the registry file , Chenall pointed out . and run it from PECMD.INI first line

hiderun.exe /w cmd.exe /c md \"%USERPROFILE%\\Local Settings\\Temp\
hiderun.exe /w cmd.exe /C hiderun.exe /w %systemroot%\\packuser.exe -o%SystemDrive% -y

i saved above in CMD file and run it from first line of PECMD.INI

then i added INIT  after that .  and shortcut was CREATED , i am so happy now .


thank you all of you to help me greatly . thanks a lot again.

Regards,
Maanu from Pakistan

[ 本帖最后由 maanu 于 2011-9-8 05:40 编辑 ]
回复

使用道具 举报

14#
发表于 2011-9-6 01:05:52 | 只看该作者
I386\SYSTEM32\SOFTWARE

SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce

run the commands in PECMD first.
回复

使用道具 举报

13#
发表于 2011-9-6 00:57:32 | 只看该作者
Where you load the RAMDISK(B:)????

I think ramdisk(imdisk) not loaded when loading PECMD.INI.
回复

使用道具 举报

12#
 楼主| 发表于 2011-9-5 23:52:18 | 只看该作者
post # 10

thank you Mr Parsons , for offering your help.

post # 11

thank you brother for upload and provide the mirror . did you have any chance to study what is wrong with creating shortcuts from PECMD.INI./?

it is still a mystery , that shortcuts are OK , when i loaded it from CMD file at the Desktop. ?

may be we can add the wait command that unless the Desktop not appear , do not execute the command and wait for desktop .

like


EXEC =!%CurDir%\waitdesktop.cmd

this .CMD somehow can wait till the desktop appears ? may be with PECMD WAIT and FIND command , and once the desktop is ready  , it will load

PECMD LOAD LINKS.INI

like batch file

PECMD WAIT 15000
PECMD FIND CSRSS.EXE,CALL :LINK

:LINK
PECMD LOAD LINKS.INI
PECMD WAIT 4000
exit


is it workable ?
回复

使用道具 举报

11#
发表于 2011-9-5 22:48:54 | 只看该作者
原帖由 parsons 于 2011-9-5 21:43 发表
Please upload your TEST PE to http://www.mediafire.com/


I have already upload his PE :


http://u.115.com/file/e65un07j#
Maanu_Test.iso
回复

使用道具 举报

10#
发表于 2011-9-5 21:43:25 | 只看该作者

回复 #1 maanu 的帖子

Please upload your TEST PE to http://www.mediafire.com/
回复

使用道具 举报

9#
 楼主| 发表于 2011-9-4 22:36:33 | 只看该作者
原帖由 <i>玄天</i> 于 2011-9-4 21:39 发表 <a href="http://bbs.wuyou.net/redirect.php?goto=findpost&pid=2298193&ptid=198142" target="_blank"><img src="http://bbs.wuyou.net/images/common/back.gif" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor='hand'; this.alt='Click here to open new window\nCTRL+Mouse wheel to zoom in/out';}" onclick="if(!this.resized) {return true;} else {window.open(this.src);}" onmousewheel="return imgzoom(this);" alt="" /></a><br />
没有使用 INIT 的 I 参数吧?<br />
即:<br />
INIT I<br />
差点忘了,如果在CMD中使用 PECMD 命令,变量要加双%,如 %Desktop% 写为 %%Desktop%%
<br />

sorry , i did not understand what you wanted to say . can anyone please translate . you mean i should use INIT I ? instead of INIT U ?
回复

使用道具 举报

8#
发表于 2011-9-4 21:39:43 | 只看该作者

回复 #6 maanu 的帖子

没有使用 INIT 的 I 参数吧?
即:
INIT I
差点忘了,如果在CMD中使用 PECMD 命令,变量要加双%,如 %Desktop% 写为 %%Desktop%%

[ 本帖最后由 玄天 于 2011-9-4 21:45 编辑 ]
回复

使用道具 举报

7#
发表于 2011-9-4 19:13:29 | 只看该作者
我太菜了,看不懂,看上去很神奇
回复

使用道具 举报

6#
 楼主| 发表于 2011-9-4 06:15:26 | 只看该作者
i have found a very very interesting situation .

in English PE , the shortcuts are not created UNLESS the desktop is loaded already . means full explorer. after that when i prepare a file LINK.CMD

with

PECMD LOAD LINKS.INI

and run it after pe loading is complete . the shortcuts are created successfully . EVERY SHORTCUT OK .

but this does not work when i add it to PECMD.INI

TEAM TEXT Creating Shortcuts #0x00ffff l50 t520 r600 b550 $25|wait 6000
EXEC =!%CurDir%\LINK.CMD

i dont understand what is the problem . and why this does not work.

can anyone please explain ?

actually brother Chenall , advised me to load it from cmdline once PE is full loaded . and he was right .

this works only when pe is fully loaded . but i hope someone will answer that why it is not working from PECMD.INI


我发现一个非常有趣的情况。

英语PE,快捷方式不创建桌面除非是已经加载。是指完整的资源管理器。之后,当我准备一个文件LINK.CMD



PECMD LOAD LINKS.INI

PE加载完成后运行它。成功创建的快捷方式。 EVERY快捷方式确定。

但是,这并不工作,当我将它添加到PECMD.INI

团队文本创建快捷方式#0x00ffff L50 T520 R600 B550$25|等待6000
EXEC=!%CURDIR%\ LINK.CMD

我不明白是什么问题。以及为什么不工作。

任何人都可以请你解释?

其实兄弟Chenall,劝我从命令行来加载它,一旦PE是满载。他是正确的。

这个工程只有当PE满载。但我希望有人会回答,为什么不从PECMD.INI工作
回复

使用道具 举报

5#
 楼主| 发表于 2011-9-3 03:13:08 | 只看该作者
I have test it.
can create Shortcuts at cmdline
pecmd load x:\i386\system32\pecmd.ini

may be you lost INIT command in PECMD.INI
you can put INIT in first line of PECMD.INI[/quote]

please see my reference PECMD.INI

TEAM ENVI W=%WinDir%|ENVI $WS=%WinDir%\SYSTEM32|ENVI WSD=%WS%\Drivers
TEAM TEXT SRNPE 2K3 0.3 by Maanu from Pakistan #0x00ffff l50 t520 r600 b550 $25|wait 3000
TEAM PATH %SystemDrive%\TEMP|INIT U,3690|EXEC @PECMD.EXE CALL $SHELL32.DLL,DllInstall,#1,U
SHOW -1:-1
LINK %programs%\system tools\diskgenius,%WS%\DG.EXE
LINK %programs%\system tools\genius,%CurDir%\DG.EXE
LINK %programs%\system tools\genius2,%Windir%\\SYSTEM32\DG.EXE
LINK %desktop%\diskgenius,%WS%\DG.EXE
LINK %desktop%\diskgenius,%CurDir%\DG.EXE

TEAM FIND Explorer.EXE,!SHEL %WinDir%\EXPLORER.EXE|WAIT 1669


TEAM WAIT 900|KILL SMSS.EXE|KILL WINLOGON.EXE|FILE %WS%\SMSS.EXE|FILE %WS%\WINLOGON.EXE

===============================


shortcuts of DG.EXE , still not created . here is interesting thing


when i run '" programs " at RUN command , it gives me following , as in picture


as you can see , INIT is still there


Regards,
Maanu from Pakistan

[ 本帖最后由 maanu 于 2011-9-3 22:41 编辑 ]

2011-09-03_193133.png (31.6 KB, 下载次数: 33)

2011-09-03_193133.png
回复

使用道具 举报

4#
 楼主| 发表于 2011-8-18 23:56:47 | 只看该作者
also , i forgot to ask , HOW can i use the following with PECMD.

1- Mount WIM files are create shortcuts .
2- setting up WALL  , like with JPG . ?
3- what version of PECMD , you recommend that i should use ??


Regards,
Maanu from Pakistan

另外,我忘了问,我该如何使用与PECMD以下。

1 - 安装WIM文件创建快捷方式。
2 - 设立像以JPG墙。 ?
3 - 什么样的PECMD的版本,你建议我应该使用??


此致,
Maanu从巴基斯坦

edit 1 =


following Batch file is from Pseudo's 0PE

, i think it serves the same purpose . but the trouble is , i fail to understandthat how i will copy the following two folders to my USERPROFILE.

if not exist "%Programs%" set "Programs=%USERPROFILE%\¡¸¿a꼡12Ëμ¥\3ìDò"


i think PECMD will ONLY understand the Last two chinese words after USERPROFILE . thats why it keeps failing .
or may be i can manually make these two folders ?

my USERPROFILE is in my 3rd POst above.   

:init
PUSHD "%~dp0"
if not defined LNG (set LNG=CHS)
if not defined LNG_NETCONFIG set LNG_NETCONFIG=íøÂçéèÖÃ
:: »ñè¡óû§Ïμí3Ŀ¼ Start Menu/StartMenu-Programs/Desktop/Favorites
:: Get user system folder Start Menu/StartMenu-Programs/Desktop/Favorites
for /f "usebackq skip=4 tokens=1,* delims=REG_SZ " %%i in (`reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "StartMenu"`) do (set StartMenu=%%j)
set "StartMenu=%StartMenu:~1%"
if not exist "%StartMenu%" set "Programs=%StartMenu%\¡¸¿a꼡12Ëμ¥"
for /f "usebackq skip=4 tokens=1,* delims=REG_SZ " %%i in (`reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Programs"`) do (set Programs=%%j)
set "Programs=%Programs:~1%"
if not exist "%Programs%" set "Programs=%USERPROFILE%\¡¸¿a꼡12Ëμ¥\3ìDò"
for /f "usebackq skip=4 tokens=1,* delims=REG_SZ " %%i in (`reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Desktop"`) do (set Desktop=%%j)
set "Desktop=%Desktop:~1%"
if not exist "%Desktop%" set "Desktop=%USERPROFILE%\×àÃæ"
for /f "usebackq skip=4 tokens=1,* delims=REG_SZ " %%i in (`reg query "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders" /v "Favorites"`) do (set Favorites=%%j)
set "Favorites=%Favorites:~1%"
if not exist "%Favorites%" set "Favorites=%USERPROFILE%\Favorites"
SETLOCAL
set PATH=%PATH%;%~dp0;%~dp0..\innerUtil;%~dp0..\Util
for %%I in (PECMD.EXE FIND.EXE STR.EXE) do if "%%~$PATH:I"=="" (
        echo %LNGXPT_EXEMISS% %%I
        echo %LNGXPT_RUNFAIL%
        pause

[ 本帖最后由 maanu 于 2011-8-19 05:42 编辑 ]
回复

使用道具 举报

3#
 楼主| 发表于 2011-8-18 23:53:22 | 只看该作者
hello Lx1638

thank you brother for reply . i want to ask , have you download my 2003PE? and see if above can result OK ?

also , if this key is created ,

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

then is it necessery to have all these

Favorites
Desktop
StartMenu
Startup
Programs
SendTo
Personal
QuickLaunch


my pe already has above in B: drive .  also , when i give command in

RUN , for %USERPROFILE%

it gives me following response , is it OK ?

, have you checked PAGE command syntax of me ? is it OK?  because it did not make PAGEFILE  on C drive .

also , tell me at which point should i add

INIT
FBWF(或RAMD)
SHEL %SystemRoot%\EXPLORER.EXE

??

also , i am already using WIM format PE , then why should i use FBWF command ?

here is PECMD.INI , that i am using .


您好Lx1638

谢谢哥哥答复。我想问问,你下载我的2003PE吗?看看以上的结果好不好?

此外,如果这个键被创建,

HKEY_CURRENT_USER\ SOFTWARE \ MICROSOFT\ WINDOWS \ CURRENTVERSION \资源管理器\用户shell文件夹

然后是它necessery的所有这些

我的最爱
桌面
STARTMENU
启动
程序
发送到
个人
快速启动


我的PE已经有了以上的B:驱动器。此外,当我给命令

运行,为%USERPROFILE%

它给了我以下的回应,这是确定?

你检查,我的命令语法呢?这是确定的吗?因为它没有对C驱动器的页面文件。

还告诉我,在这一点我要补充

INIT
FBWF(或RAMD)
SHEL%SYSTEMROOT%\ EXPLORER.EXE



另外,我已经在使用的WIM格式的PE,那么,我为什么要使用FBWF命令?

这里是PECMD.INI,我使用。

2011-08-18_204555.png (32.29 KB, 下载次数: 38)

2011-08-18_204555.png

PECMD1.zip

782 Bytes, 下载次数: 52, 下载积分: 无忧币 -2

回复

使用道具 举报

2#
发表于 2011-8-18 21:11:33 | 只看该作者
原帖由 maanu 于 2011-8-18 20:48 发表
Hello My dear Chinese friends ,

i have tried and added the PECMD  in english server 2003 PE , some of the commands are succesful in it , but i need experts to  comment , if they have free tim ...



Please look here.


http://bbs.wuyou.net/forum.php?mod=viewthread&tid=95816&page=1




1、注册表中用户文件夹的信息要完整,即位于
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
项中以下8项的键值必须齐全


QUOTE:
Favorites
Desktop
StartMenu
Startup
Programs
SendTo
Personal
QuickLaunch


2、%USERPROFILE%目录所处的位置要有一定的可写空间(不一定是X盘,存在RamDisk的话在B盘)
上述两点具备的话,PECMD三条命令(或者二条)即可登录WinPE,这三条命令是:


QUOTE:
INIT
FBWF(或RAMD)
SHEL %SystemRoot%\EXPLORER.EXE


因此使用PECMD登录WinPE时,在执行INIT命令之前需保证%USERPROFILE%所处的位置有一定的空间,
这个空间可以通过FILE命令删一些文件或开启FBWF(RAMD)来获得。
回复

使用道具 举报

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

本版积分规则

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

闽公网安备 35020302032614号

GMT+8, 2025-2-26 18:00

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

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