![]() |
![]() ![]() |
Mar 5 2008, 03:37 PM
Post
#41
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 499 Joined: 29-April 05 Member No.: 11,682 |
Hello again,
the numbers you quoted above for install.wim is probably for the original retail windows Vista My install.wim is from an OEM computer called Medion (some sort of German computer/laptop) so it looks like it is an image of what they installed on their Lab computer then imaged it . I mounted it and had another look and looked all .XML files but could not figure it out. I just do not understand why the size is still 2.4 GB ??? Regards Ben |
|
|
|
Jul 1 2008, 05:03 PM
Post
#42
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 499 Joined: 29-April 05 Member No.: 11,682 |
coming back to that windows restore
in windows pe you get 2 windows X:\windows and C:\windows so in the command line one needs to type: rstrui.exe /OFFLINE:C:\windows this tells windows which windows OS you want to restore. and when the Dialog box pops up you can proceed. if you got duel boot you will not have any restore point as windows vista keeps deleting it due to access violation on every boot up regards Ben Ben ============================================================== useful info: here is a vista PE specially Hacked to repair Advent,EIsystem and Philips-Freevent vista OS the link to ISO the fix is in TGM directory and it loads from winpeshl.ini in x:\windows\system32 you need to mount it using 2mount.bat and put a43.exe in there and change the file to load a43.exe file manager instead of fixboot.exe then you can work with it the boot.wim is nearly 200mb but when you build the ISo using 6buildiso.bat it increases to 1.2GB so you need to use -m to change it to DVD instead of CD read previous posts the TGM directory contains these files: ----------------------------------- Directory of TGM ===================== diskpart_CheckLetters2.txt diskpart_SetRtoActive.txt FixBoot.exe msvbvm60.dll new.cmd scrrun.dll SetAutoFailover.cmd ------------------------------- the fixboot.exe is simply a visual5/6 one button command dialog box to run the new.cmd batch file in GUI mode the new.cmd contains this: ---------------------------- X:\Windows\System32\diskpart.exe /s X:\TGM\diskpart_CheckLetters2.txt call X:\TGM\setautofailover.cmd /target r: /mainos {default} /disk 0 /partition 1 /nohide BCDEDIT -set {bootmgr} device partition=R: BCDEDIT -set {default} device partition=R: BCDEDIT -set {default} osdevice partition=R: REM BCDEDIT -set {default} path \windows\system32\Boot\winload.exe REM BCDEDIT -set {bootmgr} path \windows\system32\Boot\winload.exe xcopy v:\Bootmgr R:\ /chy xcopy v:\Boot R:\Boot\ /chey X:\Windows\System32\diskpart.exe /s X:\TGM\diskpart_SetRtoActive.txt BCDEDIT -set {bootmgr} device partition=R: BCDEDIT -set {default} device partition=R: BCDEDIT -set {default} osdevice partition=R: ----------------------------------------------- the /s in diskpart.exe means run script file following /s and /chey in xcopy means c- copy even with error h-copy hidden files e-copy all sub directory and empty files y- do not prompt user --------------------------------------- so the other files it relies on are diskpart_CheckLetters2.txt ...................... select disk 0 select partition 1 assign letter=R select partition 2 assign letter=V active ......................... diskpart_SetRtoActive.txt ,,,,,,,,,,,,,,,,,,,,,,,,,, select disk 0 select partition 1 active ,,,,,,,,,,,,,,,,,,,,,,,,, SetAutoFailover.cmd ====================================== CODE @echo off REM REM Copyright © Microsoft Corporation REM REM Description: REM REM Sample script to configure the boot configuration data REM of Windows Vista and WinRE to set auto failover. REM REM :GLOABAL_INIT setlocal & pushd & set RET= set SCRIPTNAME=%~n0 set SCRIPTPATH=%~f0 if "%DEBUG%"=="1" (set TRACE=echo) else (set TRACE=REM) if /i {%1} == {-?} (call :SHOW_USAGE & goto :EOF) if /i {%1} == {/?} (call :SHOW_USAGE & goto :EOF) call :MAIN %* popd & endlocal & set RET=%RET%& set PATH=%PATH% goto :EOF REM REM Main procedure REM :MAIN set BCDEDIT=bcdedit.exe set DISKPART=diskpart.exe set DISK=0 set PARTITION=1 set MAINOS={default} REM REM Parse command line REM call :PARSE %* REM REM Check whether bcdedit exists or not REM %BCDEDIT% /?>nul if %errorlevel%==9009 ( call :SHOW_USAGE goto :EOF ) if {%TARGET%} == {} ( call :SHOW_USAGE goto :EOF ) REM REM Extract the drive name and root directory from the target REM for /f "delims=: tokens=1*" %%I in ("%TARGET%") do ( set DRIVE=%%I: set WINRE_ROOT_DIR=%%J ) if {%DRIVE%} == {:} ( call :SHOW_USAGE goto :EOF ) if not {%BCDSTORE%} == {} ( set BCDEDIT=%BCDEDIT% -store %BCDSTORE% ) if {%ISWIM%}=={} ( REM REM WinRE root directory should be NULL. REM if not {%WINRE_ROOT_DIR%}=={} ( echo ERROR: WinRE cannot be installed under a sub directory. goto :EOF ) call :CREATE_DIR_BCD_ENTRY ) else ( call :CREATE_WIM_BCD_ENTRY ) REM REM Mark this installation as the recovery OS. This recovery OS identifier REM will be used by other components to enable/disable auto recovery. REM %BCDEDIT% -set %WINPE_GUID% custom:46000010 yes REM REM Set the recovery sequence REM %BCDEDIT% -set %MAINOS% recoverysequence %WINPE_GUID% %BCDEDIT% -set %MAINOS% recoveryenabled yes REM REM Hide partition REM if not {%NOHIDE%}=={} ( goto :EOF ) set TEMP_FILENAME=%SCRIPTNAME%_Temp_DiskPart.txt echo sel disk %DISK% > %TEMP_FILENAME% echo sel partition %PARTITION% >> %TEMP_FILENAME% REM REM Remove the drive letter for the partition before hiding it. REM The system will not allow us to remove the drive letter after hiding it. REM echo remove >> %TEMP_FILENAME% if {%GPT%}=={} ( echo set id=27 >> %TEMP_FILENAME% ) else ( REM REM Set GPT_ATTRIBUTE_PLATFORM_REQUIRED attribute REM echo gpt attributes=0x0000000000000001 >> %TEMP_FILENAME% ) %DISKPART% /s %TEMP_FILENAME% del %TEMP_FILENAME% REM REM Done. REM goto :EOF REM REM Procedure to parse command line. REM :PARSE if {%1} == {} goto PARSE_DONE if /i {%1} == {-target} set TARGET=%2&& shift && goto PARSE_NEXT if /i {%1} == {/target} set TARGET=%2&& shift && goto PARSE_NEXT if /i {%1} == {-wim} set ISWIM=1&& goto PARSE_NEXT if /i {%1} == {/wim} set ISWIM=1&& goto PARSE_NEXT if /i {%1} == {-gpt} set GPT=1&& goto PARSE_NEXT if /i {%1} == {/gpt} set GPT=1&& goto PARSE_NEXT if /i {%1} == {-diskpart} set DISKPART=%2&& shift && goto PARSE_NEXT if /i {%1} == {/diskpart} set DISKPART=%2&& shift && goto PARSE_NEXT if /i {%1} == {-bcdedit} set BCDEDIT=%2&& goto PARSE_NEXT if /i {%1} == {/bcdedit} set BCDEDIT=%2&& goto PARSE_NEXT if /i {%1} == {-bcdstore} set BCDSTORE=%2&& goto PARSE_NEXT if /i {%1} == {/bcdstore} set BCDSTORE=%2&& goto PARSE_NEXT if /i {%1} == {-mainos} set MAINOS=%2&& goto PARSE_NEXT if /i {%1} == {/mainos} set MAINOS=%2&& goto PARSE_NEXT if /i {%1} == {-partition} set PARTITION=%2&& goto PARSE_NEXT if /i {%1} == {/partition} set PARTITION=%2&& goto PARSE_NEXT if /i {%1} == {-disk} set DISK=%2&& goto PARSE_NEXT if /i {%1} == {/disk} set DISK=%2&& goto PARSE_NEXT if /i {%1} == {-nohide} set NOHIDE=1&& goto PARSE_NEXT if /i {%1} == {/nohide} set NOHIDE=1&& goto PARSE_NEXT :PARSE_NEXT shift goto PARSE :PARSE_DONE goto :EOF REM REM Procedure to create a BCD entry for WinRE installed as a flat directory REM :CREATE_DIR_BCD_ENTRY REM REM Customize WinRE REM echo [LaunchApp] > %TARGET%\windows\system32\winpeshl.ini echo AppPath=x:%WINRE_ROOT_DIR%\sources\recovery\recenv.exe >> %TARGET%\windows\system32 \winpeshl.ini REM REM Set BCD REM {572bcd55-ffa7-11d9-aae0-0007e994107d}, GUID for the WinPE boot entry REM set WINPE_GUID={572bcd55-ffa7-11d9-aae0-0007e994107d} REM REM Create WinRE boot entry REM %BCDEDIT% -create %WINPE_GUID% -d "Windows Recovery Environment" -application OSLOADER %BCDEDIT% -set %WINPE_GUID% device partition=%DRIVE% %BCDEDIT% -set %WINPE_GUID% path %WINRE_ROOT_DIR%\windows\system32\boot\winload.exe %BCDEDIT% -set %WINPE_GUID% osdevice partition=%DRIVE% %BCDEDIT% -set %WINPE_GUID% systemroot %WINRE_ROOT_DIR%\windows %BCDEDIT% -set %WINPE_GUID% detecthal yes %BCDEDIT% -set %WINPE_GUID% nx optin %BCDEDIT% -set %WINPE_GUID% winpe yes goto :EOF REM REM Procedure to create a BCD entry for WinRE installed as a WIM file REM :CREATE_WIM_BCD_ENTRY REM REM {ad6c7bc8-fa0f-11da-8ddf-0013200354d8} REM set RAMDISK_OPTIONS={ad6c7bc8-fa0f-11da-8ddf-0013200354d8} REM REM {572bcd56-ffa7-11d9-aae0-0007e994107d}, GUID for the WinPE boot entry REM set WINPE_GUID={572bcd56-ffa7-11d9-aae0-0007e994107d} REM REM Create Ramdisk device options for the boot.sdi file REM %BCDEDIT% -create %RAMDISK_OPTIONS% -d "Ramdisk Device Options" -device %BCDEDIT% -set %RAMDISK_OPTIONS% ramdisksdidevice partition=%DRIVE% %BCDEDIT% -set %RAMDISK_OPTIONS% ramdisksdipath \boot.sdi REM REM Create WinRE boot entry REM %BCDEDIT% -create %WINPE_GUID% -d "Windows Recovery Environment" -application OSLOADER %BCDEDIT% -set %WINPE_GUID% device ramdisk=[%DRIVE%]\winre.wim,%RAMDISK_OPTIONS% %BCDEDIT% -set %WINPE_GUID% path \windows\system32\boot\winload.exe %BCDEDIT% -set %WINPE_GUID% osdevice ramdisk=[%DRIVE%]\winre.wim,%RAMDISK_OPTIONS% %BCDEDIT% -set %WINPE_GUID% systemroot \windows %BCDEDIT% -set %WINPE_GUID% detecthal yes %BCDEDIT% -set %WINPE_GUID% nx optin %BCDEDIT% -set %WINPE_GUID% winpe yes goto :EOF REM REM Procedure to show usage information REM :SHOW_USAGE echo. echo This script configure auto failover settings for the specified WinRE. echo. echo Usage: echo %SCRIPTNAME% /target (WinRE path) [Options] echo. echo Options: echo. echo /target (drive where WinRE is installed) [required] echo The drive where WinRE is installed w/o the trailing backslash, echo e.g., C: echo. echo /wim [optional] echo Specifies that WinRE.wim file is installed on target drive. The script echo assumes that the name of the WIM file is WinRE.wim and the echo name of the SDI file is boot.sdi echo. echo /partition (partition number of the WinRE drive) [optional] echo Partition number for the above WinRE drive. By default echo the script assumes partition number 1. echo. echo /disk (disk number of the WinRE drive) [optional] echo Disk number of the above WinRE drive. By default the script assumes echo disk number 0. echo. echo /gpt [optional] echo The target disk is a GPT disk. By default the script assumes echo an MBR disk. echo. echo /mainos (guid of the main OS) [optional] echo Use the specified GUID for the main OS. By default the script echo assumes the current OS. Note -- always specify this option when echo running from WinPE. To configure the default OS in BCD specify echo {default}. echo. echo /nohide [optional] echo Don't hide the winre partition echo. echo /bcdedit (Full path to bcdedit.exe) [optional] echo Use the specified bcdedit.exe. By default the script assumes echo that bcdedit.exe is in the PATH environment variable. echo. echo /bcdstore (Full path to BCD store) [optional] echo Use the specified BCD store. By default the script assumes echo the system BCD store. echo. echo /diskpart (Full path to diskpart.exe) [optional] echo Use the specified diskpart.exe. By default the script assumes echo that diskpart.exe is in the PATH environment variable. echo. goto :EOF ============================================================================ the diskpart is in the system32 directory of VistaPE(DVD) =========================================== here is another ready made ISO to play around with http://neosmart.net/blog/2008/windows-vist...-disc-download/ Regards Ben ...................................................... Bootrec.exe located in X:\windows\system32 of PE open a command line in A43.exe bootrec arguments Repairs critical disk structures. The following commands are supported: /FixMbr -- writes the master boot record of the system partition using the master boot record compatible with Windows Vista. This operation does not overwrite the existing partition table. /FixBoot -- write a new boot sector onto the system partition using the boot sector compatible with Windows Vista. /ScanOs -- scan all disks for installations compatible with Windows Vista and display the entries that are currently not in the boot configuration store. /RebuildBcd -- scan all disks for installations compatible with Windows Vista and allow the user to choose which to add to the boot configuration store. ................................................................................ .................................... This post has been edited by Ed_P: Nov 28 2008, 02:33 PM |
|
|
|
Nov 28 2008, 03:59 AM
Post
#43
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 499 Joined: 29-April 05 Member No.: 11,682 |
hello again,
this is a question for any vista knowledgeable people including MicroSoft people does any body know if one can mount any other image apart from .WIM images for instance ISO images with imagex ???? can one mount ISO with ULTRAiso prog for read write for instance?? or imgBURN in read Mode ?? or any other utility?? regards BEN |
|
|
|
Nov 28 2008, 05:13 AM
Post
#44
|
|
|
Platinum Member ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 4,309 Joined: 25-July 04 From: Italy Member No.: 6,779 |
-------------------- - Fighting against bloatware since 2004, and proud of it. -
|
|
|
|
Nov 28 2008, 03:41 PM
Post
#45
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 499 Joined: 29-April 05 Member No.: 11,682 |
@Jaclaz,
Thanks very much for your time. I read that post Thank you. =========================== hello jaclaz , thank you for that here is some how related useful information regarding ISO and mounting them etc more and more laptops now come without floppy drive and CD/DVD drive An old friend of mine who had bought a bridge game on a DVD was disappointed that he could not play it on his new 10” laptop without a DVD drive as after we installed it using a memory stick ,it kept asking to put the DVD in the DVD drive to do a CRC error check to find out if DVD was the original and not a copy. So I decided to research into it for a solution. The solution is that one should make an ISO of the DVD, using UltraISO http://www.ezbsystems.com , or imgBurn in read Mode http://www.imgburn.com/index.php?act=download or the Free Alex Feinman ISO recorder http://isorecorder.alexfeinman.com/isorecorder.htm once you have created the ISO image of the DVD then you need to mount it. That is perform a trick of disgusing it as a DVD. There is a tiny Free program from Microsoft !!! called: WINXPvirtualCDcontrolPanel That will do this http://tinyurl.com/tyxx it is a zip file expand it and read the text file how to set its driver up. the above software free from Microsoft works OK but it is old and frankly a bit Amateurish (DIY) here is a more professional software from Swiss people of same subject. Virtual Clone Drive http://www.slysoft.com/en/download.html http://static.slysoft.com/SetupVirtualCloneDrive.exe but unfortunatly when you mount the image it is read only and you can not add ay thing to it not like imagex /mountrw the other Microsoft free utility. ======================================= Regards Ben This post has been edited by Ben_Mott: Dec 3 2008, 04:22 PM |
|
|
|
Apr 30 2009, 02:44 AM
Post
#46
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 499 Joined: 29-April 05 Member No.: 11,682 |
hello again,
some one has written a GUI for imagex called Gimagex http://www.autoitscript.com/gimagex/ it does what those batch files do (.BAT files) Regards Ben |
|
|
|
Apr 30 2009, 03:01 AM
Post
#47
|
|
|
Platinum Member ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 4,309 Joined: 25-July 04 From: Italy Member No.: 6,779 |
some one has written a GUI for imagex called Gimagex Really? http://www.911cd.net/forums//index.php?showtopic=20706 jaclaz -------------------- - Fighting against bloatware since 2004, and proud of it. -
|
|
|
|
Apr 30 2009, 03:52 PM
Post
#48
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 499 Joined: 29-April 05 Member No.: 11,682 |
thanks for the info
it would have been good if imagex.exe could capture an image with password like ghost.exe may be the author of Gimagex.exe can put an option in dialog box Tab to add password to the .wim image Ben This post has been edited by Ben_Mott: May 3 2009, 04:10 PM |
|
|
|
Sep 21 2009, 02:56 PM
Post
#49
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 499 Joined: 29-April 05 Member No.: 11,682 |
hello again,
useful info: How to get DISM? Mount your Windows 7 and go to the System32 folder of the offline image, and copy the "DISM" folder and "DISM.exe" to your Vista System32 folder.or in XP(C:\Program Files\Windows AIK\Tools\x86) http://blog.brianleejackson.com/deployment...oot-environment you can add more Batch files =========================== ;adddrivers.bat cd \ cd c:\Program Files\Windows AIK\Tools\x86 DISM /image:c:\PE\winpe_x86\mount /Add-Driver /driver:C:\YOUR_FOLDER_OF_INF_DRIVERS\ /recurse pause ================================= A nice addition to DISM over the previous peimg command in WINPE 2.0 is the ability to add drivers with the /recurse command. The /recurse command now allows us to simply have all of our drivers in their own directory and tell DISM to scan the root folder and everything beneath it. The number of sub directories won’t matter. I have a huge library of drivers, for example, you will want to have the network and vga drivers for anything that you boot up to in the WinPE environment. By adding the network driver to your WinPE boot environment, it allows you to access network shares for capturing and deploying .wim images. ============================================================= useful info: http://blog.brianleejackson.com/category/tutorial Regards Ben This post has been edited by Ben_Mott: Sep 22 2009, 01:05 AM |
|
|
|
Oct 1 2009, 12:02 PM
Post
#50
|
|
|
Newbie ![]() Group: Members Posts: 1 Joined: 30-September 09 Member No.: 48,399 |
Ok with all these steps can someone give one post or reply with all the steps needed? I want to take the WINPE part of Vista and add Acronis true image and also all the drivers for the chipset and RAID card if needed. I would also like to see a real explorer like enviroment so i can browse the drives and disk management utilites. another thing that would be nice is a tool like BartPE that does all that for us.
|
|
|
|
Oct 1 2009, 12:15 PM
Post
#51
|
|
|
Platinum Member ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 4,309 Joined: 25-July 04 From: Italy Member No.: 6,779 |
Ok with all these steps can someone give one post or reply with all the steps needed? I want to take the WINPE part of Vista and add Acronis true image and also all the drivers for the chipset and RAID card if needed. I would also like to see a real explorer like enviroment so i can browse the drives and disk management utilites. another thing that would be nice is a tool like BartPE that does all that for us. We use to call that "Winbuilder" http://winbuilder.net/ with projects like VistaPE, VistaPE CAPI or "leopard" (or others): http://www.boot-land.net/forums/ http://www.boot-land.net/forums/index.php?showforum=51 jaclaz -------------------- - Fighting against bloatware since 2004, and proud of it. -
|
|
|
|
Oct 11 2009, 02:37 PM
Post
#52
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 499 Joined: 29-April 05 Member No.: 11,682 |
hello again
if you still got windows 7 ultimate Beta on your system before you delete it make yourself a windows 7 recovery CD to make a bootable windows 7 go to system and security >Back up and restore in back up and restore dialog box from the left side choose: create a system recovery disc follow the on screen instructions put an empty CD-R in the drive showing . in 5 minutes you got a PE2 disc which also has system restore facility once you got the Cd notice that you got a source directory and you got a boot directory. the wim file in source directory is called boot.wim copy that to c:\pe\winpe_x86\ISO\source directory and copy the content of the boot directory to C:\pe\winpe_X86\ISO\boot directory (you first need to cut and past the original content of that directory else where so it looks empty) then open a command line and type CD \ CD PE you should have all Batch files(.BAT) in there use 2mount.bat to mount the image boot.wim once it is mounted go to c:\pe\winpe_x86\mount there you will see windows7 open that then open system32 folder put A43.exe file manager in there and also put ghost32.exe in there. then use 5unmount then you can put any tool you like in ISO folder which will show on the root of the CD then use 6makeiso.bat to make a new ISO then use IMGburn to burn the ISO to a CD-R boot with that Cd on command line type A43 to see your files or type ghost32 to open up ghost in GUI mode. this windows 7 CD has no network ability to get network ability type NETSTART on the command line this will run the winpeini and get wired networking started. also microsoft menu starts in a file called winpeshl.ini in which one line refers to it X:\sources\recovery\recenv.exe this CD is also got a driver store folder which is only 22MB large regards Ben |
|
|
|
Oct 24 2009, 01:51 AM
Post
#53
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 499 Joined: 29-April 05 Member No.: 11,682 |
hello,
I noticed that open office portables calc and so on all work (without plugin)from windows 7 PE made by going to system and security > recovery >and on left choosing to make a recovery CD or down load from here http://neosmart.net/blog/2009/windows-7-system-repair-discs/ and also Calm anti virus also works without any plug in I used imagex /mountRW to mount boot.wim the image and droped nu2menu.exe and all its assosiates in the system32 folder then opend winpeshl.ini and channged path=x:\windows\system\nu2mnu.exe and then un mounted then made iso I now have a windows7 pe with all utilities ghost32 and a43.exe are on the menu and to get microsoft menu back put it on nu2mnu X:\sources\recovery\recenv.exe if you have no paitence for all this make the bootable Cd win7 PE and put all portable apps on memory stick I also put opera in system32 and started it from bart menu also start wired networkin from menu startnet (startnet.cmd)which is in system32 already regards Ben This post has been edited by Ben_Mott: Oct 27 2009, 03:16 PM |
|
|
|
Oct 28 2009, 11:38 AM
Post
#54
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 499 Joined: 29-April 05 Member No.: 11,682 |
hello,
I have made a windows 7 Pe and have used bart menu nu2mnu on it and put all software for repair , and it seem to work ok ------------------------------------------------------------------------------- I found Bart setRES.exe setres h1024 v768 b32 and that worked in windows 7 PE I put SETRES.exe on a memory stick bootted with the win7 PE and on command line entered setres h1024 v768 b32 and the resolution was changed thanks again to Bart for letting use share his knowledge I am going to put that on a line of nu2mnu and only call it if I am going to use it to go on the internet . for repair jobs one does not need high resolution and the low 800x600 default is sufficient I also used firefox from portable apps as it is supported by Google Apps and it is only 5Mb in size google docs works ok and if you go to see your photos in google server the windows 7 PE opens them and you can see them the good thing about win7pe like Vista it loads to RAMso you can boot to a pc without Hard disk I have got a feeling Microsoft might be using this PE to reach the Clouds(Bing) in 30 second or a minute!!?? regards Ben thank you Ben ------------------------------------------------------------------------------------------------------ <MENU ID="Display"> <MITEM TYPE="POPUP" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\Nu2Menu\setres.exe))" MENUID="Resolution">Screen Resolution</MITEM> </MENU> <MENU ID="Resolution"> <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\Nu2Menu\setres.exe h640 v480">640x480</MITEM> <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\Nu2Menu\setres.exe h800 v600">800x600</MITEM> <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\Nu2Menu\setres.exe h1024 v768">1024x768</MITEM> <MITEM TYPE="ITEM" CMD="RUN" FUNC="@GetProgramDrive()\Programs\Nu2Menu\setres.exe h1280 v1024">1280x1024</MITEM> </MENU> ================================================================== I want to mount the image that is the boot.wim image and change the screen resolution from 800x600 t0 a higher resolution so I can use it for going on the net and most browsers need a higher resolution, does any body knows which ini file to hack to get a higher resolution in the PE . I remember Bart PE menu have a option to change resolution after you boot to his desk top. I will be grateful if some one point it out save me looking a long time thanks Ben This post has been edited by Ben_Mott: Oct 28 2009, 05:41 PM |
|
|
|
Oct 30 2009, 04:59 PM
Post
#55
|
|
|
Silver Member ![]() ![]() ![]() Group: Members Posts: 499 Joined: 29-April 05 Member No.: 11,682 |
hello,
http://www.itstuff.ca/2009/05/information-...-by-imagex.html install.wim in windows 7 installation DVD contains these images: 1] Windows 7 STARTER [2] Windows 7 HOMEBASIC [3] Windows 7 HOMEPREMIUM [4] Windows 7 PROFESSIONAL [5] Windows 7 ULTIMATE as explained in this link: http://www.itstuff.ca/2009/05/information-...-by-imagex.html using imagex MAGEX /INFO D:\Sources\install.wim it is the product key that decides which image to extract from the install.wim file ======================================================= _info_about-install-wim.BAT ====================================================================== @echo off IF {%1}=={} @Echo Please provide a path to the .WIM file. For ex. D:\Sources\install.wim &goto :EOF SET WIMPATH=%1 SET Images-Num= SET LoopNum= SET I= FOR /F "TOKENS=3 Delims=: " %%a in ('imagex /INFO %1 ^| Find /i "Image Count"') do set Images-Num=%%a SET /a LoopNum=%Images-Num% + 1 @Echo Index Image Name :LOOP1 SET /a I=%I% + 1 IF "%I%"=="%LoopNum%" goto END FOR /F "TOKENS=3 Delims=>,<" %%a in ('Imagex /INFO %1 %I% ^| find /i "<name>"') do @Echo [%I%] %%a goto LOOP1 :END </name> ============================================================================ usage on the command line: _info_about-install-wim c:\pe\install.wim C:\temp4>_info_about-wim c:\pe\install.wim Index Image Name [1] Windows 7 HOMEBASIC [2] Windows 7 HOMEPREMIUM [3] Windows 7 BUSINESS [4] Windows 7 ULTIMATE ============================================ I have added this to the rest of the batch files on this link and added it to C:\pe folder ========================================= Deployment image servicing and management (DISM) new deployment tool in windows 7 to do tings with the image you got to mount it first and work with it OFFLINE to mount the image use this command DISM /mount-wim /wimfile:c:\dismdemo\imstallationCaptured.wim /index 1 /mountdir:c:offline after image is mounted we can see the pakages in the image. DISM /image:C:offline /get-packages also can see features in the image DISM /image:C:\offline /get-features we now can see all the features in the image and wether they are enabled or disabled ? new to DISM is the ability to add and remove drivers DISM /image:C:\offline /add-driver /driver:C:\dismdemo\driverpackages\decon\toaster to see the drivers DISM /image:C:\offline /get-drivers original name is kept but name in the image is changed to say oem65.inf to avoid naming conflicts. original file name is toastco.inf to remove this driver from the image DISM /image:C:offline /remove-driver /driver:oem65.if to check if it was removed again use DISM /image:C:\offline /get-drivers ------------------------------------------------------------------------------ regards Ben This post has been edited by Ben_Mott: Nov 1 2009, 05:44 AM |
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 21st November 2009 - 03:17 AM |