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
CWorks
you don't need to set it it's already set to c: so if you want to set up from xp or 2k3
create iso drag programs dir from pebuilder and move to c:\
i just found it easier for me in winpe

the problem is the file needs to be there or else u can't save the link
ie: c:\winnt\regedit.exe
for pe i386\system32\regedit.exe

just checked and i have regededit under both on pe blink.gif
sherpya
@trax
you have lost all regsitration stuff that was in RunOnceEx (only first time)
do in system32:
CODE
for %i in (*.dll) do regsvr32 /s %i
for %i in (*.dll) do regsvr32 /s /n /i:I %i
for %i in (*.dll) do regsvr32 /s /n /i:U %i
for %i in (*.ocx) do regsvr32 /s %i


@Sikarius
Dunno maybe because the exe uses Optimize.h, that merges .text into .data section
so it can confuse your av, you can send the exe to your av producer so they can fix this.
All my exe are compiled this way, this reduces executable size (xpeinit.exe -> 5kb )
I'll release soon also sources of xpeinit.
schlomo
@sherpya

thanks for your advice, everything is working fine. great work.

do you have experiences with the import of encryption keys? PFX files or letīs say certificates for the internet explorer?

thanks marco
sherpya
PE cert keys are not working now, but they are in my todo list
Sikarius
Sherpya Thanks !!

The new version (0.7) and with my AV desactivated works genial !!! smile.gif thanks !!!!......
Trax
@Sherpya

xpe.inf
CODE
; patched files
;files\catsrv.dll=2,,1
;files\catsrvut.dll=2,,1
;files\clbcatq.dll=2,,1
;files\comadmin.dll=a,,1
;files\emptyregdb.dat=2,,1
;files\comsetup.dll=b,,1
;files\vssapi.dll=2,,1

; Non patched files - some com services are disabled
catsrv.dll=2
catsrvut.dll=2
clbcatq.dll=2
comadmin.dll=a
comsetup.dll=b
vssapi.dll=2


Where to get the patched files?
Will they significant increase the functionality of WinPE?


PS:
QUOTE
; Non patched files - some com services are disabled


What for Services?
sherpya
these files contain "%SystemRoot%\Registration" string I've renamed to %RamDrv%\Registration, this is not needed if you use winpe on hd.
Also the only "non working" stuff so far is desktop properties, at least cdrom shouln't have Registration or it will try to write files on cdrom
mick
This is strange. If I disable XPE it will still be created by PE builder and it runs fine. If I enable it, it still runs - but manually. I have t ostart it by RUN -> Explorer.

But what is strange is that the nu2menu is broken if I enable XPE. If I disable XPE nu2menu is fine (all my apps are in it).

What went wrong?

Also, my internet explorer does not want to dial up the modem.
barberar
QUOTE (sherpya @ Nov 6 2003, 12:36 PM)
these files contain "%SystemRoot%\Registration" string I've renamed to %RamDrv%\Registration, this is not needed if you use winpe on hd.
Also the only "non working" stuff so far is desktop properties, at least cdrom shouln't have Registration or it will try to write files on cdrom

I dont find any String "%SystemRoot%\Registration" in these files.

With windows 2003 Management computer does not work.
allow
Did you search for UNICODE strings ?! You need an editor with unicode support...
Trax
QUOTE (this-is-me @ Nov 4 2003, 02:02 PM)
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


How to remove the "Help & Support" menu entry?
Allen2
Add NoSMHelp = 1 in the same location.
Trax
It works

THX
Doenja
@Sherpya

XPEplugin generates a errormessage in PEbuilder when using 2003serverbuild.

It complanes about msvbvm50.dll witch can not be extracted from the i386folder.

There is no such file (server uses msvbvm60.dll)

Just commented the msvbvm50.dll in XPE.inf and no more errormessage.


regards Doenja
mmeierbier
This is due to a missing file in 2003s vbrun, you can easily download the file here and add it to the plugin. It is necessary to optain full vbrun functionality, as needed vor nwdskpe etc.
Manfred
Doenja
@mmeierbier


Thanks for the reply, didn't knew that

regards Doenja
Jman
I don't know if I am following the replies right... I too like to test PE (speed purposes) on the hardrive and can't get XPE to work right. I can't find emptyregdb.dat or grpconv.exe on my system (xp pro). I assume if I did find them they would go into C:\minint\system32 ? Trax have you been successful in getting everything to work on HD and if so is there an easy to follow way to accomplish this?

Edit: Never Mind, Im using Virtual PC now and its much faster and works perfect with XPE.
sherpya
I'm not sure if version 5 of vb runtime is really needed, anyway try to comment out,

you need emptyregdb.dat and grpconv.exe from an installed system (grpconv is in xp sp1 installations files)
Trax
vor VB 6 application vou only need msvbvm60.dll
and for vb 5 only msvbvm50.dll
sherpya
0.8 version is out... there are a lot of changes
CODE
; version 0.8:
; - Added Flash plugin for ie
; - Added Help System hlp/chm support (.hlp files don't work)
; - Moved "movable" MMC registrations to "static" == speed improvement
; - Removed some redundant stuff
; - Cosmetical/Bug Fixes
; - Fixed Font Smoothing, TaskBar autohide
; - https/certs stuff moved to XPE Crypto Plugin, not yet working;(
; - Removed (until they are working) non working stuff in Start Menu, boyz happy?
; - (Shutdown button still required to make explorer write settings, and track them)
; - Removed PostBootReminder Ballon
; - My Documents points now to %temp%
; - WMI moved to XPE WMI Plugin
; - Working EventLog, partial WMI
; - Renamed all %RamDrv% with %temp%, this will make easy to use a r/w media

note crypto stuff is not working right now, I'm not sure about wmi stuff, but at least the service starts
Trax
@sherpya
Hi,
The using of statis registration make the plug in faster, but many textes are then in english. wink.gif
Could you please publisch paralal a 0.8b without the statis registration which would install all components on boot like it was in 0.4.

rolleyes.gif And could you split your big explorer plugin in a few smaler plugins (explorer, mmc, EventLog, Help System,...)

Trax

PS:
On the beginig os xpe.inf (0.8) ther is the section "EventLog" with many entries, which dll is installing this registry entries?

PPS:
Could you tell me how have you Removed the PostBootReminder Ballon?
gordon8452
what should i have for an entry for xpe in my peshell.ini file, a thing to go to explorer, or xpeinit or what?
rgroves
OK, can somoene please clarify a few questions I have about this plugin before I try it?

1) Do I have to disable the NU2MENU to get this one to work?

2) Are there any files that need to be edited/modified to get this one to work (other than addng the .CAB into PEBuilder?

3) Are there any dependancy plug-ins or files needed by this plug-in? (or plug-in's/files that need to be removed)

Thanks.
this-is-me
no files to be edited...
no files needed...
Jotnar
You don't have to disable nu2menu if you don't want to. By default the explorer bar is set to the top of the screen so as not to interfere with the nu2menu button.
If you don't want nu2menu to show up, open up the nu2menu plugin inf file and comment out the last line as shown:
CODE
; 0x1, "Setup", "CmdLine", "\Programs\Nu2Menu\nu2menu.exe"


If you choose to do this, you have to put this line in your xpe.inf file under [SetupReg.AddReg]:
CODE
0x1, "Setup", "CmdLine", "Explorer.exe"


Note that you won't see the nu2menu at all now, so if you want menu shortcuts under explorer you have to add them to the file xpeinit.ini. Here's mine as an example:
CODE
; Fill this file to populate start menu
;

[Programs]
%SystemRoot%\IExplore.exe=Browsers\Internet Explorer
%SystemRoot%\Explorer.exe=Explorer
%SystemRoot%\system32\wordpad.exe=Accessories\WordPad
%SystemRoot%\system32\calc.exe=Accessories\Calculator
%SystemRoot%\system32\mspaint.exe=Accessories\Paint
%SystemRoot%\system32\compmgmt.msc=MMC\Computer Management
%SystemRoot%\system32\dfrg.msc=MMC\Disk Defragmenter
%SystemRoot%\system32\diskmgmt.msc=MMC\Disk Management
%comspec%=Command Prompt
%SystemRoot%\system32\LockNow.exe=Lock Computer
%SystemRoot%\system32\SysExit.exe=Shutdown
%SystemDrive%\Programs\aida32\aida32.exe=Aida32 System Info\Aida 32
%SystemDrive%\Programs\adaware\adaware.cmd=AdAware\Adaware 6
%SystemDrive%\Programs\nero\nero.cmd=Nero Burning Rom\Nero
%SystemDrive%\Programs\nero\Readme1st.txt=Nero Burning Rom\Readme1st
%SystemDrive%\Programs\nu2menu\scrset.exe=Display Properties
%SystemDrive%\Programs\winrar\winrar.exe=WinRAR\WinRar 3
%SystemDrive%\Programs\ws_ftp95\ws_ftp95.exe=WS_FTP\WS_FTP LE
%SystemDrive%\Programs\winimage\winimage.exe=WinImage\WinImage 6
%SystemDrive%\Programs\vncviewer\vncviewer.exe=Other Tools\VNC Viewer
%SystemDrive%\Programs\stinger\stinger.exe=Other Tools\CA Stinger
%SystemDrive%\Programs\putty\putty.exe=Other Tools\Putty SSH
%SystemDrive%\Programs\wordview\wordview.exe=Office Viewers\Word Viewer
%SystemDrive%\Programs\powerpoint\ppview32.exe=Office Viewers\Powerpoint Viewer
%SystemDrive%\Programs\opera7\opera.cmd=Browsers\Opera 7
%SystemDrive%\Programs\explore2fs\explore2fs=Other Tools\EXT2 EXT3 Viewer
%SystemDrive%\Programs\excelview\xlview.exe=Office Viewers\Excel Viewer
%SystemDrive%\Programs\eraser\eraser.cmd=File Erasure Tools\Eraser
%SystemDrive%\Programs\restoration\restoration.exe=File Recovery Tools\Restoration File Recovery
%SystemDrive%\Programs\infranview\i_view32.exe=Infranview\Infranview
%SystemDrive%\Programs\adobe\acrobat5\reader\acrord32.exe=Acrobat Reader\Acrobat Reader 5
%SystemDrive%\Programs\penetcfg\penetcfg.exe=Configure Network
%SystemRoot%\system32\freecell.exe=Games\FreeCell
%SystemRoot%\system32\winmine.exe=\Games\MineSweeper
%SystemRoot%\system32\mshearts.exe=Games\MS Hearts
%SystemRoot%\system32\sol.exe=Games\Solitaire
%SystemRoot%\system32\spider.exe=Games\Spider Solitaire


[Desktop]
;%SystemRoot%\IExplore.exe=Internet Explorer
%SystemRoot%\system32\LockNow.exe=Lock Computer
%SystemRoot%\system32\SysExit.exe=Shutdown
%SystemDrive%\Programs\penetcfg\penetcfg.exe=Configure Network

[StartUp]


You'll also want to comment out the part that sets the explorer bar to the top. Search for nu2menu in xpe.inf and comment that section out.

If you are concerned about security, you can have PELock (sorry, I don't have the link...search the forum) run before explorer loads, thereby making sure people don't use it for bad things smile.gif To do this change the PELock plugin to put PELock.exe into the i386\system32 folder and add this entry to xpe.inf under the [Software.AddReg] section:
CODE
; PELock
0x1,"Microsoft\Windows\CurrentVersion\RunOnceEx\899","001","||PELock.exe"


You can add Transparent Screen Lock (Shareware) too and that way you can lock your machine. PELock doesn't quite work when explorer is the shell because of the damn windows keys that enable you to open task manager and kill PELock smile.gif

Wow, that was a rather windy explanation, hope it helps. As a side note for those who use nero, the demo will stay fully functional if you change the date in PE to the month that version of nero was good for. biggrin.gif
sherpya
@Trax
Only stuff in "Services" section is not localized, tell me what part of xp you need localized.
I've yet made a split, I can split also other stuff, it's not a problem.
I dunno exactly what parts of event log are really needed but this shouldn't be a big deal since there are all static and the reg size doesn't increases so much.
The postboot reminder is removed in xpeinit.exe, I'll release sources when it will be almost done (I've yet a todo on xpeinit.exe), btw:

CODE
#define DELAYLOAD TEXT("Software\\Microsoft\\Windows\\CurrentVersion\\ShellServiceObjectDelayLoad")
RegDeleteKey(HKEY_LOCAL_MACHINE, DELAYLOAD);


Also please test wmi stuff I think is not fully working even wmi services starts correctly
paraglider
Sherpya,

Since updating to the latest xpe my default font appears to be bold. Any ideas?
Blackhawk
Sherpya:

After upgrading from xpe ver 0.7 to 0.8, I do not get the Start Button and bar across the top of the screen.
paraglider
Autohide is enabled.
sherpya
I've enabled autohide since most application windows were going under the taskbar even if autohide was disabled

@paraglider
is the font smoothing fix, you can "customize" editing
CODE
0x1,"Control Panel\Desktop","FontSmoothing","2"
0x4,"Control Panel\Desktop","FontSmoothingOrientation",0x1
0x4,"Control Panel\Desktop","FontSmoothingType",0x2


I've changed the type from 0x1 to 0x2
Seam
@sherpya

How to remove the icon's shortcut arrow??
paraglider
Sherpya,

Thanks that worked. Total commander looked terrible with the bold font.
sherpya
@Seam
I'll track tweakui change and I'll add registry entries, it should be easy, but now I'm not at home, here I have only linux
darthyoda6
Registry Guide for Windows
Part of the WinGuides Network
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.


Remove or Change the Shortcut Arrow (All Windows)
Category: Home > Windows > File System > Files and Shortcuts

Would you prefer to display your shortcuts without the arrow in the bottom left hand corner? This tip will show you how to change the arrow icon or remove it completely.

To Remove the Icon:
Open your registry and delete the value named 'IsShortCut' from the keys [HKEY_CLASSES_ROOT\lnkfile], [HKEY_CLASSES_ROOT\piffile] and [HKEY_CLASSES_ROOT\InternetShortcut].

To Change the Icon:
Open the key [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
Explorer\Shell Icons] and create a new string value, or modify the existing value, called '29'. Set it to equal the filename, including path, for the icon you want to use for the shortcut arrow. By setting this to a blank icon it has a similar effect to the removal method above, without the side effects.

Restart Windows for the changes to take effect.

Note: This tweak effectively changes the properties of shortcuts so they are no longer considered to be shortcuts by Windows, this may have some slight side effects, such as hot keys not working as before.


Settings:
System Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\
Shell Icons]
Name: 29
Type: REG_SZ (String Value)
Value: Icon Filename

Edit:
I just copied this from the Winguides Registry Guide at http://www.winguides.com/
It Just needs to be modified for PE
darthyoda6
QUOTE (darthyoda6 @ Nov 19 2003, 04:59 PM)
or:

; PE Builder v3 plug-in INF file
; Created by Bart Lagerweij
; http://www.nu2.nu/pebuilder/
;
; Use this file to customize some personal settings

[Version]
Signature= "$Windows NT$"

[PEBuilder]
Name="Delete Shortcut Arrow"
Enable=1

[Software.DelReg]
"Classes\lnkfile","IsShortcut"

This was posted under the general channel http://www.911cd.net/forums/index.php?showtopic=3042
winnydows
Anybody know how add run parametrs for programs in xpeinit.inf ?
%SystemDrive%\Programs\erdcmd2003\erdlogon.exe SystemCompare.exe=ERD Commander 2003\System Compare
like this not working , and this:
"%SystemDrive%\Programs\erdcmd2003\erdlogon.exe SystemCompare.exe"=ERD Commander 2003\System Compare
dont work too sad.gif
winnydows
what i must change in xpe.inf for:
01.Disable autohide
02.Move TaskBar down
03.LockTaskBar
darthyoda6
When I tried building PE with XPE I got:
Error: SetupDecompressOrCopyFile "\\server\xp\cd-root\i386\tasklist.exe" to "c:\pebldr\i386\system32\tasklist.exe" returned error 2: The system cannot find the file specified.
Error: SetupDecompressOrCopyFile "\\server\xp\cd-root\i386\mqoa.tlb" to "c:\pebldr\i386\system32\mqoa.tlb" returned error 2: The system cannot find the file specified.
Error: SetupDecompressOrCopyFile "\\server\xp\cd-root\i386\mqoa10.tlb" to "c:\pebldr\i386\system32\mqoa10.tlb" returned error 2: The system cannot find the file specified.
Error: SetupDecompressOrCopyFile "\\server\xp\cd-root\i386\mqoa20.tlb" to "c:\pebldr\i386\system32\mqoa20.tlb" returned error 2: The system cannot find the file specified.
Error: SetupDecompressOrCopyFile "\\server\xp\cd-root\i386\ntbackup.exe" to "c:\pebldr\i386\system32\ntbackup.exe" returned error 2: The system cannot find the file specified.

I don't get those errors if I don't install XPE.
Sikarius
@winnydows

To move teh Task bar down simply comment the lines in the xpe.inf that refers to the task bar smile.gif
paraglider
Does the file "\\server\xp\cd-root\i386\tasklist.exe" and the others exist on your share?
user.home
Hello sherpya,

I think, there is a mistake in 0.8:

You put the nls-part
; nls - not sure if it should be hardcoded
0x0,"ControlSet001\Control\Nls"
...

in [Software.AddReg], but it should be in [SetupReg.AddReg]


regards
juniorfga
I'm receiving the message that it cannot start RPC server when trying to start the disk admin mmc, could you help me??

another thing is, if i don't start the network XPE restarts
darthyoda6
none of the files exist on the share. The share is the directory that I slipstreamed SP1.
sherpya
@winnydows
xpeinit doesn't supports parameters for now, I'm moving xpeinit.ini to registry to make easy create plugins that can run even without xpe.
I'll add parameter support and icon selection (if IShellLink interface will permit me to do this)
@user.home
I think you are right
@darthyoda6
These files are not really needed I was using tasklist to check if some stuff was working btw I've xp pro sp1 italian version and these files are in.

About shortcut arrows I'll add Blank and Small arrow icons into xpeinit executable so they can be used as tweakui does
Wile Coyote
Does anybody know how to start the latest XPE with PE Shell 1.21?
winnydows
How remove documents folder (delegate folder) from my computer ?
This trick:
CODE
[Software.AddReg]
0x1, "-Microsoft\Windows\CurrentVersion\Explorer\MyComputer\NameSpace\DelegateFolders\{59031a47-3f72-44a7-89c5-5595fe6b30ee}", "", ""

Don`t wanna work sad.gif
Allen2
Here is the registry key for hiding Desktop icon :
-using polices :
CODE
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\NonEnum
{450D8FBA-AD25-11D0-98A8-0800361B1103} = 1


-without policies :
CODE
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu
{450D8FBA-AD25-11D0-98A8-0800361B1103} = 1
sherpya
Version 0.9 is out
CODE
; history
; version 0.9:
; - Localized "Documents And Settings", this plugin now requires pebuilder >= 3.0.20
; - Moved nls to right place
; - changed xpeinit, moved all stuff to registry, now supports strings table lookup, use @mydll.dll,-1234 as format,
;   also it make dir hierarchies
; - Splitted: another plugin to make "Visual & Cosmetic changes"
; - Splitted: mmc
; - Splitted: HelpSystem
; - Fixed Double icons on desktop, see xpe-custom.inf for details
; - Removed some files since they are not in all windows versions
; - Moved "services" stuff to mmc plugin
; - Made html help file to explain some possibile customizations/integrations
; - Removed Internet Explorer Nu2Menu entry, since isn't needed
; - XPEinit.exe contains icons for blank and small arrow shortcuts, also added a nice main icon
; - XPEinit.exe with cmdline parameter can be used as "silent" runner, like "xpeinit.exe net start EventLog"
; - XPE is now working as standalone shell (i.e. without nu2menu/autorun) - Look into customization plugin to find more
; - Fixed problem with autoramdiskresizer plugin, if loaded in RunOnceEx, you need my autoramdiskresizer plugin v1.1 for this (then look in customization plugin)
; - XPE is almost compatible with w2k3, you must disable XPE WMI plugin and comment out swflash.ocx=2, disk manager hangs - still investigating

; Known Issues:
; - Internet explorer doesn't handles png and some jpg inline
; - Internet explorer lacks ssl support - this should be handled in xpe-crypto plugin
; - Help System doesn't open .hlp files, however .chm files are ok - this should be handled in xpe-helpsys plugin
; - XPE has some problem on win2k3, like WMI since the system is different, DiskManager hangs
sherpya
Also updated AutoRamResizer to 1.1 to fix problems calling the resizer from explorer (with RunOnceEx), the executable also grabs result code from devcon
winnydows
one more stupid question smile.gif :
how i can add quicklaunch ?
it is very usefull when shutdown in startmenu doesn`t work, i add shutdowngui.exe to quicklaunch. smile.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.