Trying to generate a bootable ISO file to test the deployment in offline scenarios for remote sites.
The ISO creation hangs at 79% every time... I've left it for over 8 hours once. Monitoring the log shows that reaching the 79% takes about 10 minutes. Yesterday, I had all the OS images in the same folder, so the ISO was nearly 14GB, but it had the same behaviour.
If I de-select 'Generate a Lite Touch image' on the General tab of the Media properties, the process completes successfully.
The problem is I can't find any other logs that point to what might be causing the issue, or what was specifically being copied at the time of the hang. Is there a way I can invoke this process manually in a command windows and/or use a debug switch?
I've been poking around the GenerateMedia.ps1 script, but I'm not that up on PowerShell yet...
More Info:
Setup Actions
- Created a Selection Profile for my media, containing the x64 Win7 OS, x64 Win7 drivers, various applications, and the task sequences
- Created a media point on the root of my volume; so we have E:\DeploymentShare$ and now E:\DeploymentMedia
- Configured the media to support only the x64 boot image
- Initiated the "Update Media" option
The process lists these items in the progress dialog, after copying all the apps and such:
- Copied standard folders
- Boot images updates
- Setting up x64 boot image
- Boot configuration editing completed
- Reset read-only attributes- Starting ""C:\Program Files\Windows AIK\Tools\AMD64\OSCDIMG.EXE" -u2 -udfver102 -m -o -h -yo"C:\Program Files\Microsoft Deployment Toolkit\Templates\BootOrder.txt" -bootdata:2#p0,e,b"C:\Program Files\Windows
AIK\Tools\PETools\amd64\boot\ETFSBOOT.COM"#pEF,e,b"C:\Program Files\Windows AIK\Tools\PETools\amd64\boot\EFISYS.BIN" "E:\Media\Content" "E:\Media\Win7x64DeployMedia.iso" > "C:\Users\ADMINR~1\AppData\Local\Temp\Update-MDTMedia.1968\Update-MDTMedia-97250.log"
2>&1"
So the command is the one located at C:\Users\ADMINR~1\AppData\Local\Temp\Update-MDTMedia.1968\RunCmd.cmd
The log file Update-MDTMedia-97250.log from that same directory shows:
OSCDIMG 2.55 CD-ROM and DVD-ROM Premastering Utility
Copyright (C) Microsoft, 1993-2007. All rights reserved.
Licensed only for producing Microsoft authorized content.
Scanning source tree
Scanning source tree complete (7929 files in 732 directories)
Computing directory information
Computing directory information complete
Image file is 7528546304 bytes (before optimization)
Writing 7929 files in 732 directories to E:\Media\Win7x64DeployMedia.iso
Scanning source tree (500 files in 82 directories)
Scanning source tree (1000 files in 177 directories)
Scanning source tree (1500 files in 305 directories)
Scanning source tree (2000 files in 335 directories)
Scanning source tree (2500 files in 346 directories)
Scanning source tree (3000 files in 372 directories)
Scanning source tree (3500 files in 388 directories)
Scanning source tree (4000 files in 440 directories)
Scanning source tree (4500 files in 490 directories)
Scanning source tree (4542 files in 500 directories)
Scanning source tree (5000 files in 529 directories)
Scanning source tree (5500 files in 534 directories)
Scanning source tree (6000 files in 575 directories)
Scanning source tree (6500 files in 615 directories)
Scanning source tree (7000 files in 643 directories)
Scanning source tree (7500 files in 680 directories)
0% complete
0% complete
0% complete
1% complete
2% complete
3% complete
4% complete
5% complete
6% complete
7% complete
8% complete
9% complete
10% complete
11% complete
12% complete
13% complete
14% complete
15% complete
16% complete
17% complete
18% complete
19% complete
20% complete
21% complete
22% complete
23% complete
24% complete
25% complete
26% complete
27% complete
28% complete
29% complete
30% complete
31% complete
32% complete
33% complete
34% complete
35% complete
36% complete
37% complete
38% complete
39% complete
40% complete
41% complete
42% complete
43% complete
44% complete
45% complete
46% complete
47% complete
48% complete
49% complete
50% complete
51% complete
52% complete
53% complete
54% complete
55% complete
56% complete
57% complete
58% complete
59% complete
60% complete
61% complete
62% complete
63% complete
64% complete
65% complete
66% complete
67% complete
68% complete
69% complete
70% complete
71% complete
72% complete
73% complete
74% complete
75% complete
76% complete
77% complete
78% complete
79% complete
It stops there.