• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
wimb

Make_PE3 Program to Create Portable Windows 7 PE

393 posts in this topic

Well looks like I'm going to have to give up on MAKE_PE3. I can't seem to get certain user reg entries to work. I.e Using [HKEY_LOCAL_MACHINE\PE3-USER\ for [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]. When I check the registry after the desktop appears the Run entry is missing. Also, if I do a build with objects in the Startup Folder for the default user, those entries do not run after winpe initializes the desktop. The Quick Launch toolbar doesn't show up either. I think this has something to do with the user account. There doesn't seem to be one. Basically, I can only customize the system after it is booted.

Am I missing something here or is this a limitation of MAKE_PE3?

Edited by click-click
0

Share this post


Link to post
Share on other sites

In file PE3-SOFTWARE_CUSTOM.reg the user is defined as Users\Default


; set the system profile to X:\Users\Default instead of \system32\config\systemprofile

[HKEY_LOCAL_MACHINE\PE3-SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-18]
"ProfileImagePath"="X:\\Users\\Default"

Desktop icons appear as defined in Make_PE3\PE3_mod\PE3_add\x86\Users\Default\Desktop

And User Pinned\Start Menu is working

Make_PE3\PE3_mod\PE3_add\x86\Users\Default\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\StartMenu

In file PE3-USER.reg we have working


; Safely Remove Hardware - HotSwap - Thanks to JFX

[HKEY_LOCAL_MACHINE\PE3-USER\Software\HotSwap!]
"AutoRun"=dword:00000001
"DisplayPDO"=dword:00000000
"SpinDown"=dword:00000001
"DFlags"=dword:10000003
"LangID"=dword:00000409

[HKEY_LOCAL_MACHINE\PE3-USER\Software\HotSwap!\NonHotSwap]

[HKEY_LOCAL_MACHINE\PE3-USER\Software\Microsoft\Windows\CurrentVersion\Run]
"HotSwap! Applet"="\"X:\\Windows\\system32\\HotSwap!.EXE\""

[HKEY_LOCAL_MACHINE\PE3-USER\Software\Microsoft\Windows\CurrentVersion\RunOnce]
"HotSwap"="HotSwap!"

:)

Edited by wimb
0

Share this post


Link to post
Share on other sites

Wimb, THANK YOU for convincing me to give MAKE_PE3 another try.

I had some problems in the way I was trying to define my reg entries. I kept getting

a BSOD when I tried to set my environment variables using CurrentControlSet. I changed it

to ControlSet001 and that worked.

You are correct in saying that User Pinned\Start Menu is working. I was trying to add

a new toolbar (Quick Launch) to the taskbar. I added a few objects to the default

user Quick Launch Folder, but the folder does not show up on the taskbar. I can manually

add the folder as a new toolbar when booted.

As far as reg entry Run goes, I added a 2nd program called regscanner from Nirsoft and

that did not autostart either. I ran Autoruns and I see three run entries. Hotswap is

the only one that started. Maybe this has to do with the AutoRun=1 entry for that SW.

Statbar Applet

RegScanner Applet

HotSwap! Applet

From the plugins folder (defined like the hotswap run):

[HKEY_LOCAL_MACHINE\PE3-USER\Software\Microsoft\Windows\CurrentVersion\Run]
"StatBar Applet"="\"X:\\Toolbx\\Statbar.EXE\""

[HKEY_LOCAL_MACHINE\PE3-USER\Software\Microsoft\Windows\CurrentVersion\Run]
"RegScan Applet"="\"X:\\Toolbx\\RegScanner.EXE\""

Statbar is an old VB program that still works well on a Win7 system. It works in PE too,

but it takes over 1 minute to appear on the screen. I have to start it manually. All other

programs start instantly.

Aside from that, I'm happy with the results so far. No need to give up. :no: If you have any ideas why

entries in the Startup Folder or Run Key do let get launched, I'd be interested.

I really appreciate you taking the time to help me out with my PE problems. I'm starting

to get a better feel for Make_PE3 now, so hopefully, I will no longer need to bother

you. Again, thanks ...

0

Share this post


Link to post
Share on other sites

After doing more testing, the only way I've found to Auto-Start something in the MAKE_PE3 environment is to use the [RunOnce] key. [Run] and (RunOnceEx] do not get executed during the WinPE startup. The reg keys that I set for RunOneEx are still there after the system is up, so Win7PE is ignoring them for some reason. Anyway, RunOnce works great for me and that makes things very flexible by being able to use files (RegTweaks for the active system) outside of Make_PE3.

This leads me to another question for Wimb. Would it be possible to add an option to not delete and reuse the already collected files to rebuild the iso?

Basically, you would be starting at the point where winre.wim is used and continue from there. This would save time copying the same Win7 files over and over again every time you do a build and you would not have to keep a live vanilla Win7 SP1 system around for that purpose. One could then make changes to PE3_add, PE3_reg, Win7_Drivers, etc. without starting from scratch. Does this make sense?

Ciao....,

Edited by click-click
0

Share this post


Link to post
Share on other sites

This leads me to another question for Wimb. Would it be possible to add an option to not delete and reuse the already collected files to rebuild the iso?

It used to be that way, but with all different versions and sources it is easier and more reliable to collect the files each time

and besides it does not take so much time .....

:)

0

Share this post


Link to post
Share on other sites

Yes, but I have to keep an installed vanilla SP1 system around that is taking up 10 GIG of valuable space. Besides this would be ideal for those that want to use a frozen version or source for the PE build. All they would need to keep for a build is the MAKE_PE3 directory after populating it with the necessary system files.

Edited by click-click
0

Share this post


Link to post
Share on other sites

long time no see, i dont know why i did not post back sooner, but i have a modified 7pe based off of the finished product of make_pe3.

the file i am linking to is quite old, from the earlier days of make_pe3, but with added tools.

URL REMOVED, READ FORUM RULES

i have been working on a much MUCH more recent version of 7p3 with sp1, with many more added tools and abilities yet. since sp1 came out, but i will not release it until i am happy with it

what made me think of this page was this:

---- FSINFO Commands Supported ----

drives List all drives

drivetype Query drive type for a drive

volumeinfo Query volume information

ntfsinfo Query NTFS specific volume information

statistics Query file system statistics

C:\Users\Tim>Fsutil fsinfo drivetype

Usage : fsutil fsinfo drivetype <volume pathname>

Eg : fsutil fsinfo drivetype C:

C:\Users\Tim>Fsutil fsinfo drivetype c:

c: - Fixed Drive

C:\Users\Tim>Fsutil fsinfo drivetype e:

e: - Removable Drive

C:\Users\Tim>Fsutil fsinfo drivetype i:

i: - CD-ROM Drive

Edited by Tripredacus
0

Share this post


Link to post
Share on other sites

the file i am linking to is quite old, from the earlier days of make_pe3, but with added tools.

In XP - IE8 then the link does not give your drive, but instead I get Google Drive Startpage https://drive.google.com/start?authuser=0#home

Now used Win 7 IE9 - Download Link is working ....

Edited by Tripredacus
0

Share this post


Link to post
Share on other sites

Yes, but I have to keep an installed vanilla SP1 system around that is taking up 10 GIG of valuable space. Besides this would be ideal for those that want to use a frozen version or source for the PE build. All they would need to keep for a build is the MAKE_PE3 directory after populating it with the necessary system files.

Sorry for the confusion. I just realized that option 3 is what I was asking for. :blushing:

0

Share this post


Link to post
Share on other sites

Sorry for the confusion. I just realized that option 3 is what I was asking for. :blushing:

Yes, I was forgotton that option is already available ....

0

Share this post


Link to post
Share on other sites

Link to WinPE builds removed. :realmad:

0

Share this post


Link to post
Share on other sites

@wimb or anyone else that might have a suggestion

My Make_PE3 image works fairly well, but I have one problem that I would like to solve and I'm stumped on how to proceed. I have an app called Faststone Capture that is installed and it works flawlessly except for one thing. When I do the first screen capture after FSC is launched, it takes the FSC Editor which displays the screen capture more than 1.5 minutes to appear on the display. The same holds true for appearing in TaskManager. For any captures after that, the screen appears without any delay until I exit FSC. Starting it again gives me a delay on the first screen capture.

I have another image that I tried from someone else that also has FSC in it and there is no delay on the first screen capture.

Do you or anyone else have any idea what my image might be missing to cause this?

What would be a good way of tracking this down?

Edited by click-click
0

Share this post


Link to post
Share on other sites

Try the supplied portable version by adding to any drive folder PStart from Make_PE3\MULTI\PStart

On booting 7PE it will search and Open PStart menu from which you can launch FSCapture portable App

Whenever possible I use portable Apps from PStart menu which can also be used when Not booting with 7PE :)

Copy PStart folder and wallpaper.jpg and drv folder with drivers as normal from Make_PE3\MULTI to root of HDD or USB boot drive.
Edited by wimb
0

Share this post


Link to post
Share on other sites

I am using the portable version. In a system built with MAKE_PE3, it has this delay problem not on another PE I used. Have you tried what I described?

Edited by click-click
0

Share this post


Link to post
Share on other sites

Normally drivers are installed by driver_fix.cmd but when I press C for cancel of driver install

then I get the same problem that you mentioned.

So it is some service not running yet or some driver that is not yet installed and that might give the trouble.

Do you use unmodified driver_fix.cmd and can you add proper LAN + WLAN driver from DriverPacks and

add it in Make_PE3\PE3_mod\WIN7_drivers\x86

At first I suspected the video driver, but that is not the cause of the trouble.

Edited by wimb
0

Share this post


Link to post
Share on other sites

When I cancel driver_fix.cmd and then manually give

drvload.exe X:\Windows\inf\usb.inf

then the FSCapture 1.5 min delay problem is gone.

Loading usb.inf will also Start Audiosrv service which probably is needed because of the click sound when using FSCapture

Instead you can also open ServiWin Portable App from PStart > System

and then Start Audiosrv will solve the FSCapture problem

:)

Edited by wimb
0

Share this post


Link to post
Share on other sites

I am not loading any drivers during startup. I commented out Autostart of driver_fix.cmd, because I thought using PENetwork

would be enough if I needed connectivity and I could start that on demand. I will run the cmd manually and see if that fixes the delay. I didn't realize I needed to run this command.

BTW. is pecmd with pecmd.ini being used? Wouldn't this be better than running installs from the startnet.cmd?

Edited by click-click
0

Share this post


Link to post
Share on other sites

Wimb, not starting driver_fix.cmd was indeed the cause of the FSC editor delay. I experienced the same delay in another program and that is also fixed now. Good call and thanks for taking the time to look at it. What do you think about using pecmd.ini to do some of the processing during system initialization?

0

Share this post


Link to post
Share on other sites

driver_fix.cmd is essential and preferred in all cases :)

driver_fix.cmd loads many drivers and start a lot of services where PENetwork is only limited to Network.

pecmd can install drivers from Win7 OS DriverStore as done with desktop icon on demand

but pecmd fails to install drivers when used with DriverPacks folder.

pecmd will install missing drivers but does not update existing drivers.

dpinst.exe is used via desktop icon on demand to install drivers from DriverPacks folder

and dpinst.exe is used by driver_fix.cmd for automatic install of drivers from drv\x86 folder.

The drv\x86 folder is searched on any drive and it can be used for the large video driver.

Edited by wimb
0

Share this post


Link to post
Share on other sites

Hi Wimb, I'm back with more questions. :blushing: I'm trying to install some drivers used by Paragon HDM for mounting backup files to a drive letter. I copied the files to the \Win7_drivers and when I do the build, dism processes those files, but when I boot up none of the .sys files or services are installed.. I'm not sure what I'm doing wrong or if this was the right place to copy the files Here's one of the .inf files that I copied. Any ideas why the drivers and services are not installed?


;
; UIM Bus Driver for Win 2000/XP
;
; 2003-06-25 gvv
;

[version]
Signature="$WINDOWS NT$"
Class=UIM
ClassGuid={19837C5C-96F5-45e0-9A2D-C6BB26E1B12B}
Provider=%Paragon%
DriverVer=12/25/2006,6.0.3.1
CatalogFile=uimbus.cat

[ClassInstall32]
AddReg=UimClassReg

[UimClassReg]
HKR,,,,%UimClassName%
HKR,,Icon,,"-9"

[SourceDisksNames]
1 = %Disk1Desc%

[SourceDisksFiles]
UimBus.sys = 1
UimFIO.sys = 1

[DestinationDirs]
DefaultDestDir = 12

;---------------------------------------

[Manufacturer]
%Paragon%=UIM_Adapter

[UIM_Adapter]
%DeviceDesc% = UimBus_Inst, Root\UIM_BUS

[UimBus_Inst]
CopyFiles = UimBus.DriverFiles

[UimBus_Inst.Services]
AddService = UimBus, 2, UimBus_Service_Inst

[UimBus_Service_Inst]
DisplayName = %DeviceDesc%
ServiceType = 1
StartType = 1
ErrorControl = 1
ServiceBinary = %12%\UimBus.sys

[UimBus.DriverFiles]
UimBus.sys,,,2
UimFIO.sys,,,2

[Strings]
UimClassName= "Universal Image Mounter"
Paragon = "Paragon"
UIM = "Universal Image Mounter Controller"
DeviceDesc = "Universal Image Mounter Controller"
Disk1Desc = "Installation Disk for Universal Image Mounter Controller"

0

Share this post


Link to post
Share on other sites

Could it be that these drivers are suitable for XP but NOT for Win 7 ?

:)

Edited by wimb
0

Share this post


Link to post
Share on other sites

No. They work on a real win7 system without problems, they never updated the comments. The drivers are from Paragon Backup and Recovery 2012 Free which runs on Win7.

0

Share this post


Link to post
Share on other sites

May be then try to make Portable Win 7 which allows to Install anything you like and meanwhile keep the drivers.

http://www.911cd.net/forums//index.php?showtopic=23553

http://www.911cd.net/forums//index.php?showtopic=24424

Performance of Portable Win 7 in VHD booting from USB is much better than any PE

Procedure for booting with 1.6 GB Portable Windows 7 VHD file on USB-harddisk

Step 1. - Direct Install Windows 7 in a 10 GB VHD file on local harddisk and created by WinNTSetup2_x86.exe with Ctrl + Shift + V

Step 2. - Run VHD_W7_Compact.exe to Copy Win7 VHD content in 10 min to New VHD file of Reduced Size on USB-harddisk

Step 3. - Reboot with 1.6 GB Win7 VHD file from USB

:)

Edited by wimb
0

Share this post


Link to post
Share on other sites

I see you are trying to convince me to use a vhd. :yes: I need to boot from CD (not DVD) so I need to keep the size at a minimum. I just don't understand why nothing is copied to system32 when the inf is processed. If the driver is not installable, then I'd be interested in finding out why. Shouldn't dism complain if it can't process the inf files?

Edited by click-click
0

Share this post


Link to post
Share on other sites

It's a virtual driver, not connected to real hardware, so dism will only add it to the driver store.

There should be an uim exe file with the installation files that can install that driver.

cheers.gif

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.