Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

WinPE8.1 Help!

- - - - -

  • Please log in to reply
4 replies to this topic

#1
GBossN4eVr

GBossN4eVr
  • Member
  • 7 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Hello to one and all of you who are so helpful and kind with there time and expertise sharing with those lesser knowledgeable people on this forum such as myself.
I have a Winpe8.1x64.ISO with quite a few preinstalled as well as portable apps which are very useful and most of the programs I use on regular windows work when installed in
while using the said PE OS, what I want to know is how can I make the changes, programs and registry settings persistent so I wouldn't need to install or edit them each time I
use the PE.

I have already done DISM to include necessary drivers, I have also tried using Regshot, exporting the entire PE registry and also the Hives which were modified or changed and added
them using Wintoolkit to boot.wim but when I boot the ISO with the updated boot.wim it didn't boot was asking for "winload.exe" which suggested the registry entries I added somehow
messed with the building/booting process of the ISO.  I have also tried applying boot.wim to a vhd which worked and booted but each time I boot the vhd a new administrator account is
created e.g "administrator.001, administrator.002" and so on are added to the "Users" folder in the system root so even if the changes were saved basically a new account is used each time
I boot.

I was thinking that if I boot into the original ISO make the necessary changes i.e (install programs, pin to taskbar/startmenu, wireless password and so on) I could then export the entire
registry, then add the exported .reg file to the PE ISO and during or after boot run a script/command to add/merge the .reg file to the registry therefore all the necessary changes would be
there after booting into the PE and I wouldn't need to retype my wireless password and so on over and over but I don't know how to do that.

In a nutshell I would basically like to know if there is anyway to get an applied boot.wim image from PE to vhd persistent (to load saved changes), what is the best way to add registry settings
to a boot.wim or how to load an entire/part of the registry after booting a PE ISO?

Sorry about such a long post I hope it was explained thoroughly enough.
Please Help!




How to remove advertisement from MSFN

#2
wimb

wimb

    Senior Member

  • Developer
  • 678 posts

PE is not the way to go if you want to keep registry changes.

 

Registry changes are permanent in Portable and Mini 8 VHD (booting as FILEDISK)

as made by VHD_W8_Compact.exe from fresh installed full Win81 VHD used as Source.

 

http://www.911cd.net...showtopic=25333


Edited by wimb, 26 August 2014 - 01:00 AM.


#3
sixcentgeorge

sixcentgeorge

    Newbie

  • Member
  • 40 posts

i have a lot of ram and my way of doing is to create a vhd like 60 or 120 Go

install all i need and updates , then i do a copy of it and remove as much as i can [ easy if you use an lited-install disc or some tools here ]

 

then you can reduce the size of the vhd using windows disc management . my vhd is about 6656 Mo and the pc is having 16 Go .

i use grub4dos to copy in ram the vhd .

 

if i want to make a little change i boot on the vhd without loading it in ram 

for big changes , i use the first vhd and then redoo a copy...and so on...



#4
GBossN4eVr

GBossN4eVr
  • Member
  • 7 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Thanks to both of you for the replies and yes indeed I know of and use quite frequently vhds both as filedisk and ram but that is not what I am asking about.

 

If I wasn't very clear before the only reason I applied the boot.wim from Pe to VHD was I thought I could make changes they would be saved then I would just convert the vhd back to boot.wim and voila but I was very wrong since I tried that and many more scenarios.  I had read somewhere while googling that it was possible to load registry entries into a PE/boot.wim using DISM/Wintoolkit by loading the hives from %systemroot%/Windows/system32/config folder in the boot.wim and add the necessary .reg entries so I did but when I booted the ISO I get blue screen saying PC ran into difficulties need to restart each time.  I used Regshot to see the hives which were modified after making a few changes in the PE then exported those hives (HKLM Software, Sustem & HKU) and loaded them as I mentioned before since they are too many lines to export singularly.

 

I have read about startnet.cmd, Win8.1.cfg & also about autounattend.xml files that can be used to import or make changes to PE while it is booting or after whether it is a program/script/.reg file that you want to run but I have no previous experience with editing or adding lines or creating these files and since the other approaches won't work I thought I would ask the experts here or those with previous experience to help.

 

The main reasons are I have added the up to date Display Driver to the Pe but when I boot the screen is not at the right resolution and I have to make the changes each time I boot the PE also I have to continually enter my Wireless password when I want to use Wifi which isn't much fun considering how long it is as far as adding programs I am not too worried about that stuff just yet.

 

Please tell me someone can help!



#5
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,266 posts
  • OS:none specified
  • Country: Country Flag

The main reasons are I have added the up to date Display Driver to the Pe but when I boot the screen is not at the right resolution and I have to make the changes each time I boot the PE also I have to continually enter my Wireless password when I want to use Wifi which isn't much fun considering how long it is as far as adding programs I am not too worried about that stuff just yet.
 
Please tell me someone can help!

Maybe it would be easier to address the actual issues?
 
Like (just ideas):
http://www.atrandom.....com/setres.php
http://www.nirsoft.n...reless_key.html
 
But you can of course save the Registry and restore it, simply it is not - as wimb said - the "right choice" as is it easy (as you just experienced) when merging registries to create unbootable systems.

What are you using to build the PE?
I mean "standard" WAIK/AIK/ADK or some Winbuilder projects (or something else)?
 
jaclaz




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN