Windows 7 Deployment FOG- SAD2 Driver tool


  • Moderator

    [quote=“Knight, post: 17910, member: 17014”]Were you ever able to upload your unattend.xml? I’m having issues following along the tutorial, things are all appearing different then the screenshots included on the original tutorial.

    Thanks,
    Knight.[/quote]

    What is appearing differently? Are you using windows 7 pro SP1? Or a different DVD?



  • [quote=“andyroo54, post: 4019, member: 267”]Are you sure you have copied the guide correctly? Have you run sysprep correctly? I’d suggest to strongly re read the instructions and try again with your xml file. Use snapshots, which will reduce your time. I know my guide is long and in some cases can be difficult to interpret due to language differences, but you will find that everyone does this differently so you may come across diff problems. I will try to upload my unattend xml tomorrow for you to try…[/quote]

    Were you ever able to upload your unattend.xml? I’m having issues following along the tutorial, things are all appearing different then the screenshots included on the original tutorial.

    Thanks,
    Knight.



  • [quote=“drjam, post: 17863, member: 16842”]The image above is not showing, but the error message is:
    Windows could not parse or process the unattend answer file for pass [specialize] blah blah
    Microsoft-Windows-Shell-Setup

    The the VM says “fine, im gunna reboot and fix it.” but it just loops reboot with same errors.
    Im having this issue too.
    Ive read that it can be:
    [LIST]
    []A Space in the ComputerName field (I dont have a space, ive called mine RENAME)
    [
    ]Bad product Key (I used the one from this post, should be good)
    [/LIST]
    I have no idea what to do from here… heeeeelp?[/quote]

    ok the “fix” is to delete the entire key: Microsoft-Windows-Shell-Setup

    pretty crap fix. I hope to find the reason why this didnt work on a vanilla Windows 7 Pro SP1 OEM install on an ESXi VM machine.
    But if anyone can… it will be superman. or steve.



  • [quote=“andyroo54, post: 10394, member: 267”]Sorry I thought I replied to this.

    The problem appears to be with your unattend file. In particular something you have specified possibly in shell setup module. If you could upload the file we can have a look, you may need to zip the file first.[/quote]

    The image above is not showing, but the error message is:
    Windows could not parse or process the unattend answer file for pass [specialize] blah blah
    Microsoft-Windows-Shell-Setup

    The the VM says “fine, im gunna reboot and fix it.” but it just loops reboot with same errors.
    Im having this issue too.
    Ive read that it can be:
    [LIST]
    []A Space in the ComputerName field (I dont have a space, ive called mine RENAME)
    [
    ]Bad product Key (I used the one from this post, should be good)
    [/LIST]
    I have no idea what to do from here… heeeeelp?



  • Could someone please upload SAD2-111118(tuturial version) again, the download link is giving me the following error.

    Sorry, the time limit of this canvas has expired and the original media fire link no longer works
    Thanks for any help



  • Are you able to add your own drivers to the list as well and do they have to be compressed?



  • After some more testing, I found out the REG line, after /d instead of:

    [FONT=Consolas]“cmd /c rd /s /q %SystemDrive%\Drivers”[/FONT]

    SHOULD be:

    [FONT=Consolas]“cmd /c “”“rd /s /q %SystemDrive%\Drivers””"[/FONT]

    [FONT=Consolas](Yes 3 quotes to escape a single quote). That works magic! [/FONT][FONT=Consolas] [/FONT]



  • small correction:

    on:

    [FONT=Consolas][CODE]ECHO reg add HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce /v CMD0 /t REG_SZ /d “rd /s /q %SystemDrive%\Drivers” >> %SystemDrive%\Drivers\RemoveD.cmd[/CODE][/FONT]
    [FONT=Consolas]should be: [/FONT]
    [FONT=Consolas][CODE]ECHO reg add HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce /v CMD0 /t REG_SZ /d “cmd /c rd /s /q %SystemDrive%\Drivers” >> %SystemDrive%\Drivers\RemoveD.cmd[/CODE][/FONT]



  • After a few trial runs, here is what I did:

    Modify the sysprep.inf file (with setupmgr.exe) so that:
    1 - Completely Unattended = NO
    2 - Additional commands = startup.cmd (Add this command, this will create a CMDLINES.TXT file under \sysprep\i386$oem$

    include in [I][B]\sysprep\i386$oem$[/B][/I] as [I][B]startup.cmd[/B][/I]:
    [B]cd %SystemDrive%\Drivers\SAD[/B]
    [B]call DP_Install_Tool.cmd[/B]

    in [I][B]\Drivers\SAD[/B][/I], edit [B][I]DP_Install_Tool.CMD[/I][/B]:

    just after these lines:
    [B]popd[/B]
    [B]endlocal[/B]

    include:
    [CODE]ECHO @ECHO OFF > %SystemDrive%\Drivers\RemoveD.cmd
    ECHO reg add HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce /v CMD0 /t REG_SZ /d “rd /s /q %SystemDrive%\Drivers” >> %SystemDrive%\Drivers\RemoveD.cmd
    ECHO rd /s/q %SystemDrive%\D >> %SystemDrive%\Drivers\RemoveD.cmd
    ECHO DEL /F /S /Q /A “%SystemDrive%\Drivers\SAD” >> %SystemDrive%\Drivers\RemoveD.cmd
    ECHO rd /s/q %SystemDrive%\Drivers\SAD >> %SystemDrive%\Drivers\RemoveD.cmd
    ECHO EXIT >> %SystemDrive%\Drivers\RemoveD.cmd

    shutdown -r -c “Drivers Installed! Machine will now restart…”
    call C:\Drivers\RemoveD.cmd
    NET START “Fog Service”

    [/CODE]

    The RunOnce key added will delete the \Drivers\SAD directory on next reboot, since RemoveD.cmd can’t do it after erasing itself. But since the FOG service is restarted just after RemoveD.cmd, the FOG service will restart the computer (to rename it).

    Tried many times and works like a charm!

    Hope it helps!



  • I believe there is a way within the DPinstall script to create the necessary RemoveD.cmd for the cleanup.

    I will try including these lines just before the final shutdown (where FOG service is restarted):

    [CODE]ECHO @ECHO OFF > %SystemDrive%\Drivers\RemoveD.cmd
    ECHO rd /s/q %SystemDrive%\D >> %SystemDrive%\Drivers\RemoveD.cmd
    ECHO DEL /F /S /Q /A “%SystemDrive%\Drivers\SAD2-111118” >> %SystemDrive%\Drivers\RemoveD.cmd
    ECHO rd /s/q %SystemDrive%\Drivers\SAD2-111118 >> %SystemDrive%\Drivers\RemoveD.cmd
    ECHO EXIT >> %SystemDrive%\Drivers\RemoveD.cmd[/CODE]

    I changed C: to [FONT=Consolas]%SystemDrive% to make it more compatible with different boot configurations. [/FONT]



  • Hello,

    you have a nice tutorial here…thx for that. Few things…you recommending use of fogprep, but after that you use generalize on sysprep which should by the same thing base on fog wiki([url]http://www.fogproject.org/wiki/index.php/What_do_I_have_to_do_to_an_image_before_uploading%3F[/url]).
    Second, I was deployed image with SAD rutine and everithing finish, but strange thing occur, after windows start, fogsystray hangs a and for example when I call itel graphic setting tool it crash. Same with windows media center for example. In image this problems not happens. Any ideas? anybody?



  • [quote=“RoidHead, post: 11973, member: 4049”]I am planning on attempting this. I have never did anything like this. Do I need a dedicated server for Fog? or can I put it on our corporate server?[/quote]

    Also, realistically, you could just install Ubuntu on an older desktop PC and use that as your FOG server. You don’t necessarily need server grade hardware.



  • [quote=“RoidHead, post: 11973, member: 4049”]I am planning on attempting this. I have never did anything like this. Do I need a dedicated server for Fog? or can I put it on our corporate server?[/quote]

    If your corporate server runs Ubuntu, you could install it there, but depending on what services that server provides, FOG may reduce performance of the machine during imaging operations, since the HD and NIC become so busy moving huge amounts of data.



  • I am planning on attempting this. I have never did anything like this. Do I need a dedicated server for Fog? or can I put it on our corporate server?



  • this solution worked for me!

    Have anyone of you included Gparted for FOG server? Thanks



  • Found this solution (which is relative to what we have in office)… i will try and let you know.

    [url]http://scug.be/sccm/2011/01/13/configmgr-2007-pxe-boot-amp-mtftp-defaulting-and-make-you-wait-for-10-15-minutes/[/url]



  • no i dnt have secondt TFTP… what could be the problem?



  • Do you have a second TFTP server on your network? I’ve never seen an MTFTP before.



  • hi,

    i took 10-15minutes to got away from this prompt (see attached file) what could be the reason?

    1. fogserver is a virtual machine from vpshere connected to 1gb switch port
    2. fog client is a phyiscal machine connected to 1gb switch port

    Though my imaging is sucessful, everything is fine except that i am being stucked on that mtftp connection…

    Thanks

    [url="/_imported_xf_attachments/0/292_mtftp.jpg?:"]mtftp.jpg[/url]



  • I found a copy of SAD2-120520 on my computer. It can be downloaded from here - [url]https://www.box.com/s/kto1xfr0ktyr0s4l334z[/url]


Log in to reply
 

321
Online

6.2k
Users

13.6k
Topics

127.9k
Posts