GBossN4eVr Posted August 25, 2014 Share Posted August 25, 2014 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 inwhile 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 Iuse 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 addedthem 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 somehowmessed 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 iscreated 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 timeI 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 entireregistry, 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 bethere 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 settingsto 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! Link to comment Share on other sites More sharing options...
wimb Posted August 26, 2014 Share Posted August 26, 2014 (edited) 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/forums//index.php?showtopic=25333 Edited August 26, 2014 by wimb Link to comment Share on other sites More sharing options...
sixcentgeorge Posted August 27, 2014 Share Posted August 27, 2014 i have a lot of ram and my way of doing is to create a vhd like 60 or 120 Goinstall 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... Link to comment Share on other sites More sharing options...
GBossN4eVr Posted August 28, 2014 Author Share Posted August 28, 2014 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! Link to comment Share on other sites More sharing options...
jaclaz Posted August 29, 2014 Share Posted August 29, 2014 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.iansharpe.com/setres.php http://www.nirsoft.net/utils/wireless_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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now