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

Creating unattendent windows 7 (SOLVED)


  • Please log in to reply
8 replies to this topic

#1
revog

revog
  • Members
  • 6 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Hey everyone,

I tried making a autounattedent windows 7 a few times, but i always get a message while trying to install the custom win7, that the file D:\Sources\install.wim doens't exist error code: 0x80070026.
And i can't seem to find the solution to this problem anywhere, or maybe i'm just being stupid..

The steps i use to make an autounattendent win7 are here below:

1. Copy all contents of the DVD to your local hard disk, for instance D:\w7.
2. Download and install resource hacker.
3. Download & install waik for windows 7.
4. Download gimagex for windows 7, extract it copy gimagex.exe in the same directory of imagex.exe.
5. Run gimagex, in the mount tab select a mount location. then browse to D:\w7\sources select install.wim as the wim source check the box "read and write", then go to your mount location, you will find a folder named windows, for branding you have to modify the following files:
a ) explorer.exe for the start orb, open explorer.exe with resource hacker under section bitmap replace the 6801, 6805 & 6809 resource with your orb
b ) %mountlocation%\windows\system32\bootstr.dll also %mountlocation%\windows\system32\en-US\bootstr.dll.mui
c ) %mountlocation%\windows\system32\imageres.dll you have to modify this for login screen
d ) %mountlocation%\windows\branding\basebrd\basebrd.dll also %mountlocation%\windows\branding\basebrd\en-US\basebrd.dll.mui
e ) %mountlocation%\windows\branding\shellbrd\shellbrd.dll
f ) %mountlocation%\windows\system32\shell32.dll
g ) %mountlocation%\windows\system32\uxtheme.dll
h ) %mountlocation%\windows\web\wallpaper\windows\img0.jpg
6. Go to gimagex check the box "commit changes", select your wim file then click unmount.
7. Make an iso file by using the command: "%systemroot%\program files\windows aik\tools\x86\oscdimg -lW7DVD -h -n -m -bD:\w7\boot\etfsboot.com d:\w7 d:\w7.iso" your iso file should be saved as d:\w7.iso.
8. Install any virtual machine, create virtual machine with minimum setting like: 2 proccessors, 2GB RAM, and 20GB HDD. "Select the created iso as the source"
9. Start your machine, windows installation will be started normally, accept license etc.
10. Windows setup will complete the process and will give you a page where you can enter your product key, do not type anything just press ctrl+shift+f3 which will reboot your pc to audit mode and a default sysprep window will appear, do not close this!
11. Install your necessary applications, reboot if necessary, apply registry tweaks, note that registry keys having value "HKEY_CURRENT_USER" won't work, you have to run them via setupcomplete.cmd.
12. On the sysprep window select Enter system out of box experience, select shutdown and then run sysprep.
13. Mount your virtual hard disk with the drive letter z: (I used Winmount)
14. Click start > windows aik > command prompt type: imagex /compress fast /check /flags "Ultimate" /capture z: d:\install.wim "Windows 7 Ultimate" "Windows 7 Ultimate x86"
note that "Ultimate" is a flag and it may vary according to your windows 7 version
15. Now you have a wim file as D:\install.wim replace D:\w7\sources\install.wim with this one. (My wim file ended up being around 5GB)
16. Download and install winintegrator (it requires .net framework 4 beta 2 to be installed).
17. Run winintegrator, select your location of windows 7 media such as D:\w7.
18. You can integrate drivers (can be downloaded from driverpacks.net), remove unnecessary packages via winintegrator (but once you have finished removing packages these can never be added).
19. Create an autounattended.xml file (I didn't do this because im not really good at creating such things :rolleyes: ).
20. Copy this autounattended.xml file to D:\w7.
21. Make an iso image of your windows 7 installation files using commands you used at step 8. And you are done!!

I really dont know where i went wrong because every step i did worked successfully.
Except when i tried to install the windows on a virtual machine to test it i got the error message: 0x80070026 maybe its because the install.wim is too big for iso to handle.. i dont know :whistle:
My question is how do i make this work??? :}

I appreciate the help in advance! :w00t:

Edited by revog, 02 January 2013 - 11:08 AM.



How to remove advertisement from MSFN

#2
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,506 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

That error you are getting is generally seen when trying to boot an image. Is that when you get the error?

#3
revog

revog
  • Members
  • 6 posts
  • OS:Windows 7 x64
  • Country: Country Flag

That error you are getting is generally seen when trying to boot an image. Is that when you get the error?


Yes thats right, i put a attachment in the post wich looks like it but then with the error code: 0x80070026

#4
revog

revog
  • Members
  • 6 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Hey everyone,

I tried making a autounattedent windows 7 a few times, but i always get a message while trying to install the custom win7, that the file D:\Sources\install.wim doens't exist error code: 0x80070026.
And i can't seem to find the solution to this problem anywhere, or maybe i'm just being stupid..

The steps i use to make an autounattendent win7 are here below:

1. Copy all contents of the DVD to your local hard disk, for instance D:\w7.
2. Download and install resource hacker.
3. Download & install waik for windows 7.
4. Download gimagex for windows 7, extract it copy gimagex.exe in the same directory of imagex.exe.
5. Run gimagex, in the mount tab select a mount location. then browse to D:\w7\sources select install.wim as the wim source check the box "read and write", then go to your mount location, you will find a folder named windows, for branding you have to modify the following files:
a ) explorer.exe for the start orb, open explorer.exe with resource hacker under section bitmap replace the 6801, 6805 & 6809 resource with your orb
b ) %mountlocation%\windows\system32\bootstr.dll also %mountlocation%\windows\system32\en-US\bootstr.dll.mui
c ) %mountlocation%\windows\system32\imageres.dll you have to modify this for login screen
d ) %mountlocation%\windows\branding\basebrd\basebrd.dll also %mountlocation%\windows\branding\basebrd\en-US\basebrd.dll.mui
e ) %mountlocation%\windows\branding\shellbrd\shellbrd.dll
f ) %mountlocation%\windows\system32\shell32.dll
g ) %mountlocation%\windows\system32\uxtheme.dll
h ) %mountlocation%\windows\web\wallpaper\windows\img0.jpg
6. Go to gimagex check the box "commit changes", select your wim file then click unmount.
7. Make an iso file by using the command: "%systemroot%\program files\windows aik\tools\x86\oscdimg -lW7DVD -h -n -m -bD:\w7\boot\etfsboot.com d:\w7 d:\w7.iso" your iso file should be saved as d:\w7.iso.
8. Install any virtual machine, create virtual machine with minimum setting like: 2 proccessors, 2GB RAM, and 20GB HDD. "Select the created iso as the source"
9. Start your machine, windows installation will be started normally, accept license etc.
10. Windows setup will complete the process and will give you a page where you can enter your product key, do not type anything just press ctrl+shift+f3 which will reboot your pc to audit mode and a default sysprep window will appear, do not close this!
11. Install your necessary applications, reboot if necessary, apply registry tweaks, note that registry keys having value "HKEY_CURRENT_USER" won't work, you have to run them via setupcomplete.cmd.
12. On the sysprep window select Enter system out of box experience, select shutdown and then run sysprep.
13. Mount your virtual hard disk with the drive letter z: (I used Winmount)
14. Click start > windows aik > command prompt type: imagex /compress fast /check /flags "Ultimate" /capture z: d:\install.wim "Windows 7 Ultimate" "Windows 7 Ultimate x86"
note that "Ultimate" is a flag and it may vary according to your windows 7 version
15. Now you have a wim file as D:\install.wim replace D:\w7\sources\install.wim with this one. (My wim file ended up being around 5GB)
16. Download and install winintegrator (it requires .net framework 4 beta 2 to be installed).
17. Run winintegrator, select your location of windows 7 media such as D:\w7.
18. You can integrate drivers (can be downloaded from driverpacks.net), remove unnecessary packages via winintegrator (but once you have finished removing packages these can never be added).
19. Create an autounattended.xml file (I didn't do this because im not really good at creating such things :rolleyes: ).
20. Copy this autounattended.xml file to D:\w7.
21. Make an iso image of your windows 7 installation files using commands you used at step 8. And you are done!!

I really dont know where i went wrong because every step i did worked successfully.
Except when i tried to install the windows on a virtual machine to test it i got the error message: 0x80070026 maybe its because the install.wim is too big for iso to handle.. i dont know :whistle:
My question is how do i make this work??? :}

I appreciate the help in advance! :w00t:

Attached Files



#5
Tripredacus

Tripredacus

    K-Mart-ian Legend

  • Super Moderator
  • 9,506 posts
  • OS:Server 2012
  • Country: Country Flag

Donator

Ok, it may come down to your answer file. Are you specifying the location of install.wim? Are you sure your ODD is actually letter D?

#6
revog

revog
  • Members
  • 6 posts
  • OS:Windows 7 x64
  • Country: Country Flag

Ok, it may come down to your answer file. Are you specifying the location of install.wim? Are you sure your ODD is actually letter D?


I don't really understand what u mean maybe my english is just bad. (sinds i'm from the Netherlands)
When i finished mounting the virtual disk (step 13) i did create an install.wim lager than 5GB, i replaced the old one with the 5GB wim file and got back at step 7.
I wanted to test the image in an virtual machine first before burning it, for that i used virtualbox and while installing i got that error message.

#7
maxXPsoft

maxXPsoft

    MSFN Master

  • Developers
  • 2,879 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Just for information
If you sysprep same image too many times it will fail.
You have no other option but start over

Edited by maxXPsoft, 19 November 2012 - 12:20 AM.


#8
maxXPsoft

maxXPsoft

    MSFN Master

  • Developers
  • 2,879 posts
  • OS:Windows 7 x64
  • Country: Country Flag
In reply to your mssg
Yes wim can be big. I have done like 4gb + and barely fit it on a dvd-rw
Easiest way for me to burn is with Windows Assessment and Deployment Kit (ADK)
Get this download and I just selected deployment tools. http://www.microsoft...s.aspx?id=30652
A plus to that is you don't need a 1GB + download, was 80mb here and includes WSIM for xml editing. - you need .NET4
Once that downloads run it and select only Deployment Tools like in the pic and install it

Attached File  deploy.png   28.94KB   11 downloads

use the oscdimg.exe like this where
win7sp1_rtm is dvd label
E:\Se7en_UA\uaDVD\boot\etfsboot.com path to etfsboot.com
E:\Se7en_UA\uaDVD is Dvd folder
E:\Se7en_UA\ISO\win7sp1_rtm.iso is output iso folder and file name

oscdimg.exe -u2 -lwin7sp1_rtm -bE:\Se7en_UA\uaDVD\boot\etfsboot.com -h E:\Se7en_UA\uaDVD E:\Se7en_UA\ISO\win7sp1_rtm.iso

you can run that from Deployment and Imaging Tools Environment link it creates in a shortcut

Edited by maxXPsoft, 19 November 2012 - 09:14 AM.


#9
revog

revog
  • Members
  • 6 posts
  • OS:Windows 7 x64
  • Country: Country Flag
I finally fixed the problem.
The problem was that i didn't create an answer file because i was too lazy :whistle:
I created the answer file using windows system image manager. (SIM)
I attached the autounattend.xml (answer file) to this post.

I will keep this post open for future reference!

Attached Files






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users



How to remove advertisement from MSFN