Jump to content











Photo
* * * * * 2 votes

Build Windows 7 PE without WAIK


  • Please log in to reply
117 replies to this topic

#1 tsetya

tsetya

    Member

  • Advanced user
  • 52 posts
  •  
    Indonesia

Posted 24 June 2010 - 07:58 PM

Every Windows 7 has equipped with Windows PE (Winre) as a recovery tools that can be access from install DVD, recovery folder or system repair cd.
All those Winre image are the same image except start with different shell.

Windows 7 also has Dism to mount/unmount wim image, all of that resources (winre and dism) can be use to build custom Windows 7 PE without downloading WAIK.

I made a batch command to build custom Windows 7 PE using winre image, mount wim image using dism, add additional file/registry, save wim image and create bootable ufd using diskpart to be used with Windows 7 PE.
it has additional tasks also to make back up entry of installed Windows 7 so you can use UFD to boot current windows 7.
more details about build process can be read in readme.txt
limitations:
-My_7PE can only be run on windows 7 or windows 7 PE
My_7PE tested on Windows 7 en-US only, but it supposed to automatically detect distribution language and international settings, please let me know if does not work for others distribution languages.

Due to similarity of build processes with Wimb's Make_PE3, i use packages/file list and registry from Make_PE3. thanks to Wimb for his great effort :unsure:
credits goes to Wimb and others original author :unsure:

here some screenshots My_7PE running some portable apps
(notes: portables apps are not included, you can add portable apps to ufd and manage using pstart)
Posted ImagePosted Image

My_7PE has been updated, see post #34 , #85
Download My_7PE from here :
Download My_7PE
feedback and corrections and wellcome.

@Wimb, i add some more registry tweak/fix, you can take a look if it is needs for your build.

#2 wimb

wimb

    Platinum Member

  • Developer
  • 3756 posts
  • Interests:Boot and Install from USB
  •  
    Netherlands

Posted 25 June 2010 - 07:26 AM

Hi tsetya

My_7PE results are looking very good :unsure:

Thanks for publishing your batch program and registry set for making Windows 7 PE
It is interesting to compare with Make_PE3.cmd
and is certainly helpful for me to make further improvements.

#3 rocketero

rocketero

    Frequent Member

  • Advanced user
  • 155 posts
  •  
    United States

Posted 25 June 2010 - 04:23 PM

I'll wait till this works with 64Bit Win7 and instead of creating a boot.wim it creates an ISO file to test with virtualization software.

#4 twokatmew

twokatmew
  • Members
  • 2 posts
  •  
    United States

Posted 25 June 2010 - 04:30 PM

Thank you! This is great, but do you have any plans for a version that supports Win 7 x64? It sure would be nice, though I realize the majority of users still probably run x86.

#5 Gadgetboy123

Gadgetboy123
  • Members
  • 9 posts
  •  
    United States

Posted 25 June 2010 - 05:25 PM

This file might be infected, download at your own risk.. I uploaded it to virus total and it found 5/41. http://www.virustota...124d-1277484632
If you don't believe me, re-upload it for yourself.

If you want to try and use this program, I recommend sandboxie. Although it is nagware, it is effective.

#6 twokatmew

twokatmew
  • Members
  • 2 posts
  •  
    United States

Posted 25 June 2010 - 05:30 PM

This file might be infected, download at your own risk.. I uploaded it to virus total and it found 5/41. http://www.virustota...124d-1277484632
If you don't believe me, re-upload it for yourself.

If you want to try and use this program, I recommend sandboxie. Although it is nagware, it is effective.

I just downloaded and scanned the file with NOD32 4.2.40.0, and it was clean....

#7 Gadgetboy123

Gadgetboy123
  • Members
  • 9 posts
  •  
    United States

Posted 25 June 2010 - 05:41 PM

I just downloaded and scanned the file with NOD32 4.2.40.0, and it was clean....

No antivirus program can detect all viruses (I have eset too). That is why virus total uses multiple antivirus programs.

#8 tsetya

tsetya

    Member

  • Advanced user
  • 52 posts
  •  
    Indonesia

Posted 25 June 2010 - 06:02 PM

there is no malicious code in My_7PE.cmd, (even i don't know how to make virus) :cheers:

perhaps it caused by winrar self extracting. i will try to upload it as a zip or rar file.

#9 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 25 June 2010 - 06:06 PM

I'm not so stupid to tell: "No problem"
That is always a personal decision.

But I personally would judge the candidate as clean and use for me.

My criteria: 5 of 41 virustotal scanners found DIFFERENT virusses. Besides that MOST scanners decided for "Clean", for me that means that there is a certain sequence of bytes in the binary exe, which remembers the scanner on one of its known patterns. But none of them exactly meets the known pattern.

Peter

#10 tsetya

tsetya

    Member

  • Advanced user
  • 52 posts
  •  
    Indonesia

Posted 25 June 2010 - 06:25 PM

i upload it as zip still 5/41 at virustotal detected it as virus.

for My_7PE.cmd batch command itself it is clean

http://www.virustota...603d-1277489647

#11 Gadgetboy123

Gadgetboy123
  • Members
  • 9 posts
  •  
    United States

Posted 25 June 2010 - 06:37 PM

i upload it as zip still 5/41 at virustotal detected it as virus.

for My_7PE.cmd batch command itself it is clean

http://www.virustota...603d-1277489647



Just to point out the mistake you made, ".cmd" is a script. With it being possible for a virus to be in a script, it could be anywhere (in other words, re-archive it to a zip file then upload it). I normally take precautions when dealing with possible infections, but I always use possible infected files in a sandbox.

Anyway, does this support windows 7 pro 64 bit?

#12 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 25 June 2010 - 06:38 PM

Do not worry and spend waste time to proof that your code is clean! The time is really wasted when you know that your code is clean and virustotal has different opinion.

Then let users read my previous post and decide!

Peter :cheers:

#13 tsetya

tsetya

    Member

  • Advanced user
  • 52 posts
  •  
    Indonesia

Posted 25 June 2010 - 07:42 PM

thanks Peter

you are right, well then let users decide.

@Gadgetboy123

it is currently support 32 bit only.

#14 Le Hoang Long

Le Hoang Long
  • Members
  • 5 posts
  •  
    Vietnam

Posted 26 June 2010 - 05:55 AM

Thanks, I shall try to use it , I hope that it works well

#15 raysmith48

raysmith48
  • Members
  • 4 posts
  •  
    United Kingdom

Posted 26 June 2010 - 09:57 AM

Great effort - Win 7 64 bit would be great as also an option to create an iso. Thanks.

#16 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 26 June 2010 - 10:33 AM

@tsetsya
It seems to me a great little thingy. :cheers:

Maybe you could change the title of the thread from:

Build Windows 7 PE without WAIK

to

Build Windows 7 PE (x86 ONLY) without WAIK


B)

:cheers:
Wonko

#17 Vortex

Vortex

    Frequent Member

  • Advanced user
  • 299 posts

Posted 27 June 2010 - 07:26 AM

Hi tsetya

Many thanks for this nice tool. It worked fine for me.

PS : I hit accidentaly the thanks button.

#18 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 27 June 2010 - 10:41 AM

PS : I hit accidentaly the thanks button.

Still better than the "Report" one! :fine:

B)
Wonko

#19 oriensol

oriensol

    Frequent Member

  • Advanced user
  • 216 posts
  •  
    India

Posted 27 June 2010 - 12:15 PM

My_7PE tested on Windows 7 en-US only, but it supposed to automatically detect distribution language and international settings, please let me know if does not work for others distribution languages.


@tsetya,

Thanks for the tool. Works great!

FYI, while running the tool, I get a message saying the language and international settings are changed. But finally when you run the PE, it reverts back to en-US. I noticed the same behaviour with make_pe3 also.

#20 Gadgetboy123

Gadgetboy123
  • Members
  • 9 posts
  •  
    United States

Posted 27 June 2010 - 02:00 PM

I ran this program on windows 7 pro 64 bit. The program went fine through the process, but no iso was created. is there some special way to make the iso?

#21 oriensol

oriensol

    Frequent Member

  • Advanced user
  • 216 posts
  •  
    India

Posted 27 June 2010 - 02:25 PM

@Gadgetboy123

You may try this:

oscdimg.exe -n -m -o -bc:\Windows\Boot\DVD\PCAT\etfsboot.com d:\My_7PE\PE_iso pe3_x86.iso

Just make sure the paths to etfsboot.com and PE_iso are correct for you. The last parameter is the name of the iso.

Hope this helps.

#22 Gadgetboy123

Gadgetboy123
  • Members
  • 9 posts
  •  
    United States

Posted 27 June 2010 - 04:46 PM

@Gadgetboy123

You may try this:

oscdimg.exe -n -m -o -bc:\Windows\Boot\DVD\PCAT\etfsboot.com d:\My_7PE\PE_iso pe3_x86.iso

Just make sure the paths to etfsboot.com and PE_iso are correct for you. The last parameter is the name of the iso.

Hope this helps.


Thanks that worked.

Every thing except the bootloader worked. So this may be possible to actually do this in x64.
I created the pe from Windows 7 pro 64 bit, then ran it in a virtual machine, and I got this as a result, hope fully this will help you get this to work on 64 bit. http://tinypic.com/r/izxfti/6

#23 yahweh

yahweh

    Newbie

  • Members
  • 16 posts
  •  
    Yemen

Posted 27 June 2010 - 09:29 PM

Good work :cheers:

one question can i remove or hide desktop.ini for desktop ?

#24 oriensol

oriensol

    Frequent Member

  • Advanced user
  • 216 posts
  •  
    India

Posted 28 June 2010 - 12:40 AM

Good work :cheers:

one question can i remove or hide desktop.ini for desktop ?


http://www.instant-r...g-system-files/

You may need to hide/unhide/rehide 'operating system files' once after the registry change.

#25 tsetya

tsetya

    Member

  • Advanced user
  • 52 posts
  •  
    Indonesia

Posted 28 June 2010 - 01:16 PM

@jaclaz, ups, i mean wonko

topic edited as required

@tsetya,

Thanks for the tool. Works great!

FYI, while running the tool, I get a message saying the language and international settings are changed. But finally when you run the PE, it reverts back to en-US. I noticed the same behaviour with make_pe3 also.


what Main Distribution language of Windows 7 you are using?
if you have en-US version with additional language pack installed (MUI or LIP), it will not change to additional language.
My_7PE will detect Main distribution language only.

can you post the contents of "international_stg.txt"?

@yahweh

since this tools is meant for repair/recovery, i don't want to "hide" anything, for example "virus".
you can "hide operating system file" from folder options, or edit file "7pe-user.reg" using text editor before build PE, edit this text.
[HKEY_LOCAL_MACHINE\7PE-USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]

"Hidden"=dword:00000001

"HideFileExt"=dword:00000000

"ShowSuperHidden"=dword:00000001

delete the line : "ShowSuperHidden"=dword:00000001

@all
- option to create iso file will be add on next release.
- i dont have yet ETA for X64 support

short preview for next release:
- support seagate discwizard, maxtor maxblast, acronis trueimage WD edition. support backup/restore, clone disk, mount tib image read/write, back up archive explorer.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users