Help - Search - Members - Calendar
Full Version: Xpe Preview - Explorer/iexplorer
The CD Forum > Bart's PE Builder > Plugins
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12
utln
I use PE from the HD for testing purposes. It helps save a bundle on CDs when testing plugins.
Allen2
I'm using a CDRW because a hd is writable so the tests might work with an hd but not from a CD.
sherpya
use vmware, you can map an iso file directly to an emulated cdrom drive
CWorks
i use vmware for both have it installed on virtual hd for testing shells so i can edit and get changes without reboot then when it works i put changes in pebuilder and then test iso
gordon8452
i keep getting a BSOD with a STOP 0x0000007F error on bootup from this plugin, i narrowed it down to this plugin. The error is a UNEXPECTED_KERNEL_MODE_TRAP
error.

more on this here:
http://www.microsoft.com/technet/treeview/...md_stp_ukdq.asp

and a short blurb in more laymans term here:

http://service1.symantec.com/SUPPORT/ent-s...=&osv=&osv_lvl=

keep in mind im building with server 2003 here so im not sure what the difference is. i tried in resource limited and resource patched mode, with same results.

the first parameter for the stop code is 0x0000000D
which means: An exception not covered by some other exception; a protection fault that pertains to access violations for applications.

the only other thing i found pertaining to the error is that it seems t happen to people who do compiling, obvoiusly not the case here. Don't know if you can do anything about this but it happens every time. Will be better when next version of pebuilder comes out that builds entirely from cd so i can use an xp pro cd.

edit: another KB article:
http://support.microsoft.com/default.aspx?...kb;en-us;137539
sherpya
I suspect this plugin will only work on xp, I'll test it on 2k3

ps: comment out vbsit.dll since is vbs - italian localization, next version will not have it
sherpya
I've tried on win2k3 and it works I only need to comment out msjava.dll and comexp.msc, also mmc complains ie is not installed.... dunno about blue screen, it can be another plugin since winxpe does nothing in the "boot" phase.
Anyway I'll post updated version with files commented out and hopefully with mmc working on win2k3
gordon8452
ya, sorry bout that, i turned off everything and it still did it, so its not your plugin.
anybody know what could cause this?

found out the cause, was a bad cd sad.gif anyways, i think all is working well except i keep running out of resources to do stuff. resource patched winpe gives bsod in win32k on startup. oh well
sherpya
updated to 0.6 - partial support for win2k3, defrag works but disk management hangs
Start Menu stuff is not working but I think this will not be a big deal, also other minor fixes
gordon8452
explorer always crashes if i go to control panel on it. Any fix for this, or reason?
jeff_s
@Sherpya

When using Aston as my default shell, I can start up Explorer (as a shell)

The problem is when I designate Explorer as my default shell, Explorer File Manager starts up instead of the Explorer Desktop. Any ideas?


-Jeff
utln
@sherpya

I just created a plugin for compressed folders. I tested the plugin under XPE and it works fine. Feel free to integrate the plugin into your project. biggrin.gif
sherpya
@jeff_s
Maybe Aston shell claims to be a "desktop shell" then explorer starts as file manager,
try do start first explorer

@utln
sure... url?
utln
QUOTE (sherpya @ Nov 4 2003, 10:40 AM)
@utln
sure... url?

http://www.911cd.net/forums/index.php?showtopic=2680
schlomo
Hi everyone,
i have to questions:

1. does someone know how to get the taskbar from the top of the window to the bottom. It always starts at the top of the screen.

2. does someone have a solution for the shutdown button, it is not working.


thanks a lot for your help

marco
this-is-me
Add this set of lines to xpe plugin to disable log off and shut down on the start menu. It also disables the username in the new-style xp start panel (which I prefer to use)

CODE
;disable turn off and log off
0x0,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
0x4,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoClose",0x1
0x4,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoLogOff",0x1
0x4,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoUserNameInStartMenu",0x1
0x4, "Software\Microsoft\Windows\CurrentVersion\Policies\Explorer", "StartMenuLogoff", 0x1
jeff_s
@Sherpa


I replaced:
CODE
;Install Aston as shell
0x1, "Setup", "CmdLine", "\aston\aston.exe"


with:
CODE
;Install MSEXPLORER as shell
0x1, "Setup", "CmdLine", "\I386\system32\explorer.exe"



Now, instead of Aston I get explorer file manager and not explorer desktop when PE first boots up. Do I need to create a desktop folder under the default user for this to work right?

-Jeff
koszopal
@jeff_s
check pe shell swapper u could use this great tool and can swap from aston->expolorer->numenu->erd...smile.gif
koszopal
Trax
@All
Explorer start's only then as Shell when
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell"="Explorer.exe"
in any other case you will have only the filemanager. wink.gif
sherpya
@schlomo

1) comment out this
CODE
0x3,"Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2","Settings",\
 28,00,00,00,ff,ff,ff,ff,02,00,00,00,01,00,00,00,3c,00,00,00,1e,00,00,00,fe,\
 ff,ff,ff,fe,ff,ff,ff,02,04,00,00,1c,00,00,00


2) No clue sad.gif
this-is-me
@sherpya

adding this code to the inf will make the log off and shut down not show up:
CODE
;disable turn off and log off
0x0,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
0x4,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoClose",0x1
0x4,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoLogOff",0x1
0x4,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoUserNameInStartMenu",0x1
0x4, "Software\Microsoft\Windows\CurrentVersion\Policies\Explorer", "StartMenuLogoff", 0x1
Sikarius
Hi everybody !

I have a problem with the plugin xpe... when i extract the file of the plugin the AV tell me that is infected with a unknown virus.... desactive the AV but when i try to copy this file the window dont let me and the PEBuilder dont make me the iso and indicate the same error..


Can help me?
sherpya
@this-is-me
I known but I hope to make it working...

@Sikarius
The only exe in the cab is xpeinit.exe, Are u sure you've downloaded it from my page?
(http://oss.netfarm.it/winpe/)
Trax
@sherpya
I need to be able run WinPE from HardDrive, could you PLEASE try to make your plugin working from HD?

@All
After you have removed the log off and shut down buttons ftom Start Menu
Insert a Link to my small Program in the Start Menu:

The Program is called "System Exit" and you can download it Here: http://mitglied.lycos.de/virakotscha/

Trax
jsc
@sherpya

this is the correct code:

; Defrag
0x2,"Microsoft\Windows\CurrentVersion\Explorer\MyComputer\DefragPath","","%SystemRoot%\system32\dfrg.msc %c:"
sherpya
@jsc
ok, it's true

@trax
I cannot start winpe from hd, I should search in forum but if you post me a quickguide... smile.gif
copying all stuff on hd and using bootprep doesn't work for me
Trax
F.A.Q. from http://www.nu2.nu/pebuilder/

QUOTE
Q: Can I run winPE from my harddisk where Windows XP is already installed?

A: Yes. Very handy for testing...

First run pebuilder as normal. Let assume you've have the output files at c:\pebldr.
Install the Windows Recovery Console using the Windows XP Installation/setup CD-Rom. Run d:\i386\winnt32.exe /cmdcons (where d: is your cdrom drive).
Copy the following:
c:\pebldr\i386\txtsetup.sif to c:\cmdcons\
c:\pebldr\i386\*.* to c:\minint\ (include subdirectories)
(check: there now should be a file c:\minint\sytem32\ntkrnlmp.exe)
c:\pebldr\winbom.ini to c:\
c:\pebldr\programs to c:\programs (include subdirectories)
(check: there now should be a file c:\programs\nu2menu\nu2menu.exe)

If you prefer commandline do this:

copy c:\pebldr\i386\txtsetup.sif c:\cmdcons
xcopy /s c:\pebldr\i386\*.* c:\minint\
copy c:\pebldr\winbom.ini c:\
xcopy /s c:\pebldr\programs\*.* c:\programs\

Optionally you can edit the boot.ini and change the text for "Microsoft Recovery Console" into "Windows PE [by PE Builder]".
Optionally you can remove all files from the c:\cmdcons directory, accept for bootsect.bin and txtsetup.sif.

Now reboot and select "Microsoft Recovery Console" or "Windows PE [by PE Builder]" from the boot.ini menu.
jeff_s
@trax

Thanks for:

QUOTE
@All
Explorer start's only then as Shell when
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell"="Explorer.exe"
in any other case you will have only the filemanager.


That was the missing piece to the puzzle.
Again, thanks.

-Jeff
sherpya
I must be very dumb but recovery console doesn't permiit me to run any executable (i.e. I canno tdo winnt32.exe /cmdcons)

try making Registration directory inside windir and then do a regsvr32 over atl.dll and ole32, oleaut etc
this can be a COM+ problem, I've noticed if I put a Registration directory in cdrom xpe doesn't work

finally you can do a "brute force" registration using
(in system32 dir):
for %i in (*.dll) do regsvr32 /s %i
CWorks
u install recovery console while in xp from run command or cmd prompt

i created a list of what .dll's i found to register succesfully here it might be useful to someone
sherpya
0.7 version done, added some stuff from guys on this forum (zipfolder/cabfile/explorer on desktop) etc, fixed Defrag Path so you can use Defrag directly from drive properties.
xpeinit.exe reduced to 5kb

A big thank to all people testing this plugin and reporting me addons/fixes

@Trax try my tips, I'll try to make winpe on hd working...
sherpya
thx cworks, finally I have a winpe on hd... but booting from xp is 10x slower than cdrom... very strange, also using /fastdetect

@trax, copy emptyregdb.dat in system32 directory
also grpconv.exe is needed
CWorks
that is strange because for me it's 10x faster i have it on two machines plus on vmware
hd and there all faster than cd

in fact sometimes i use win pe more than xp because it boots up so fast
CWorks
heres what i have in boot.ini i don't use /fastdetect
C:\CMDCONS\BOOTSECT.DAT="Windows PE" /cmdcons

but i do have hacked kernel + that other file that i won't mention here
gordon8452
hacked kernel?
explain
CWorks
i'm sorry but i can't explain it here because it's not legal to hack ms software
gordon8452
is there any way to add the entries in nu2menu to explorer, like under a folder called nu2menu in programs. i would like to replaces nu2menu completely but i dont get the entries in the explorer menu. it would also be nice to have a binding to peshutdown so you can shutdown from explorer.

edit: i also get the grpconv error even though it is there.
CWorks
CODE
<!-- Nu2Menu entry for explorer -->
<NU2MENU>
<MENU ID="Programs">
<MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\explorer.exe))" CMD="RUN" FUNC="@GetWinDir()\explorer.exe">Explorer</MITEM>
</MENU>
</NU2MENU>

or is it under system32 folder

CODE
<!-- Nu2Menu entry for explorer -->
<NU2MENU>
<MENU ID="Programs">
<MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetWinDir()\system32\explorer.exe))" CMD="RUN" FUNC="@GetWinDir()\system32\explorer.exe">Explorer</MITEM>
</MENU>
</NU2MENU>

it should be under windir like on all winoze machines

the second one shoudn't be wrapped just 1 character too long
gordon8452
i dont think your understanding me exactly. what i want to do is all of the entries in nu2menu, accessories and display and whatnot with all the utils like nero and bginfo and all those entries that are in nu2menu, and add the into the start menu of explorer under their own folder called nu2menu or nu2 or whatever, like one would do with a program in xp or server 2003. as it is now all thats listed are the mmc and some other little things.
CWorks
@sherpya

32 = system32\Setup
CWorks
you need to create your own shortcuts either within win pe or in xp and point to %systemdrive%\programs\myapp.exe or %systemroot%\explorer.exe

and then set it read only because %% will change to real paths otherwise

i did this in vmware saved them to xp over network and used 7-zip to make .exe

at boot it extracts to all the right places on ramdrive
i created all the paths before i zipped it

My Documents\system\desktop
system\start menu
etc... etc...

put shortcuts in desktop start menu and sendto
CWorks
also .url's in favorites

this runs at start

start /wait %SystemDrive%\Programs\ramsize\shortcuts.exe -o%ramdrv% -y

add your own cursors too

cursors\*.*=25,,1

25 is the cursor dir under %sytemroot%
gordon8452
could you sum this up in a little more comprehensive manner, id like to save it as a little how to, and i think it would help some of the other people here.
CWorks
ok here we go first create a diretory called My Documents under that create system
under system create these directories Start Menu, Desktop, Favorites, SendTo
under start menu create sub directories like text, net, like u have on your own sytem


now right click & drag from explorer the program you want a shortcut to over to the desktop dir u created
earlier and choose create shortcut here then right click on shortcut choose
properties and change the drive ie: r:\ to %SystemDrive% if its under R:\i386 change
it to %SystemRoot%

r:\i386\system32\regedit.exe changes to
%SystemRoot%\system32\regedit.exe

r:\programs\winrar\winrar.exe changes to
%SystemDrive%\programs\winrar\winrar.exe

also change start in path

make sure to hit apply and then go to general tab and choose read only and then hit ok
when your all done after about 2 hrs. copy your shortcuts to all the places u want them to show up
ie: put notpad.lnk in sendto and start menu under text
also grab any .url files from your machine to the favorites folder

download 7-zip

install it start it up find my documents that u created with all the sub folders
right click on it from 7-zip and choose add to archive
under options choose make SFX archive
name it shortcuts.exe in plugin\!custom folder


create a file named autorun1shortcuts.cmd in plugin\!custom folder
CODE
start /wait %SystemDrive%\Programs\shortcuts\shortcuts.exe -o%ramdrv% -y
this wiil extract My Documents on ramdrive with all the subfolders

add this to custom.inf
CODE
[WinntDirectories]
;chang the a if already there
a="Programs\shortcuts",2

[SourceDisksFiles]
shortcuts.exe=a,,1
;puts autorun in system32 dir
autorun1shortcuts.cmd=2,,1

i found some shorcuts don't show there icons sometimes but they work so i don't care
just hit f5 to refresh desktop

this should probably be moved somewhere more permanent
someone have a website to put it i don't
Trax
QUOTE (sherpya @ Nov 5 2003, 02:58 AM)
@trax, copy emptyregdb.dat in system32 directory
also grpconv.exe is needed

It works.
Thanks smile.gif .
Sikarius
Hi sherpya!!

Yes i download your plugin XPE 0.6 .. The only exe file is xpeinit.exe but my AV (NOD32) tell me that this file is infected with a unknown virus. I try to rename it and with the inf file copy it with the name xpeinit.exe but PEBuilder tell me that it isnt copy it to iso file and dont make me the iso :_(

Could you help me?... What do this file do?. The rest of inf file works, make me the explorer shell and the desktop register the dll etc... (i comment the xpeinit.exe )

Thanks!
Trax
@Sikarius
I have Norton AV 2003 and it says the file is OK.

As far as I know xpeinit.exe creates the links in the Start Menu and performe some Registry changes:
CODE
[SetupReg.AddReg]
0x0,"Microsoft\Windows\CurrentVersion\Explorer\Shell Folders"
0x2,"Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Common Start Menu","%RamDisk%\Documents and Settings\All Users\Start Menu"

0x0,"Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
0x2,"Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Common AppData","%ALLUSERSPROFILE%\Application Data"
0x2,"Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Common Desktop","%ALLUSERSPROFILE%\Desktop"
0x2,"Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Common Favorites","%ALLUSERSPROFILE%\Favorites"
0x2,"Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Common Programs","%ALLUSERSPROFILE%\Start Menu\Programs"
0x2,"Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Common Start Menu","%ALLUSERSPROFILE%\Start Menu"
0x2,"Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Common Startup","%ALLUSERSPROFILE%\Start Menu\Programs\Startup"
0x2,"Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Common Templates","%ALLUSERSPROFILE%\Templates"
(this make the STart menu working properly)

I supose your AV is not working properly.
Sikarius
Thaks for the reply wink.gif

I download the last version 0.7 and i try it now..... my AV is NOD32.... i post the results.

Thanks
Rickj
@ everybody that is making shortcuts

You can do this from XP or 2003 directly.

1. Make a new environment variable in XP or 2003 named SystemDrive that points to C:\pebldr

2. Make your shortcut from C:\pebldr\*.*

3. In the properties for the shortcut, change C:\pebldr to %SystemDrive%

Now this shortcut will work in PE Builder and in Windoz.

Delete the environment variable when you are done.

Note: If you leave the new environment variable, the pebldr directory cannot be deleted.


Have fun
Later
Trax
QUOTE (sherpya @ Nov 5 2003, 02:58 AM)
@trax, copy emptyregdb.dat in system32 directory
also grpconv.exe is needed


The shell works but:
sad.gif sad.gif sad.gif
1. Explorer is unable to Move Copy or Delete Files
2. MMC Doesn't work
3. Som programs returns errors. (something with OLE and COM services ???)
sad.gif sad.gif sad.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.