Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.

Unanswered P7 FirstLogonCommands

  • Thursday, March 29, 2012 8:42 PM
     
     

    I have autologon enabled and count set to 1.  I have 3 synchronous commands which run once during that autologon:

    - Batch file to install some applications

    - ewfmgr.exe c: -enable

    - shutdown.exe /s /t 0

    After this all completes, I harvest the image and consider it to be golden and ready to deploy.  Am I missing anything?  It seems to work.

    What might bite me later?

    Thanks.

All Replies

  • Friday, March 30, 2012 2:31 AM
     
     

    Did you run sysprep?

    -Sean


    www.sjjmicro.com / www.seanliming.com / www.annabooks.com, Book Author - Pro Guide to WES 7, XP Embedded Advanced, Pro Guide to POS for .NET

  • Friday, March 30, 2012 1:43 PM
     
     

    Did you run sysprep?

    -Sean


    www.sjjmicro.com / www.seanliming.com / www.annabooks.com, Book Author - Pro Guide to WES 7, XP Embedded Advanced, Pro Guide to POS for .NET

    No, I did not explicitly run sysprep.  What's that mean for me?  PnpSysprep_x86 is in my answer file.  But, none of the parameters are changed from default.

    I don't use any of the Win7e tooling to capture my final image.  I have my own process for capture and deploy.  ImageX is not used.  So, would I simply substitute

    - sysprep.exe /generalize /quiet /shutdown

    for my final shutdown command in the FirstLogonCommands synchronous commands?  Is it kosher to run sysprep from P7 first logon?

    Thanks.

  • Friday, March 30, 2012 5:28 PM
     
     

    Did you run sysprep?

    -Sean


    www.sjjmicro.com / www.seanliming.com / www.annabooks.com, Book Author - Pro Guide to WES 7, XP Embedded Advanced, Pro Guide to POS for .NET

    No, I did not explicitly run sysprep.  What's that mean for me?  PnpSysprep_x86 is in my answer file.  But, none of the parameters are changed from default.

    I don't use any of the Win7e tooling to capture my final image.  I have my own process for capture and deploy.  ImageX is not used.  So, would I simply substitute

    - sysprep.exe /generalize /quiet /shutdown

    for my final shutdown command in the FirstLogonCommands synchronous commands?  Is it kosher to run sysprep from P7 first logon?

    Thanks.

    It looks like sysprep requires either /oobe or /audit.  I don't want either.  When FirstLogonCommands complete, my image is ready.  I can capture it and write it to read-only media.  When booting the read-only media, it behaves just as I want.  I'll concede that I need to regenerate the SID, but I can't see how sysprep makes that happen.  I don't want audit mode or windows welcome.  I'm missing something.

    Help me Obi Wan.  You are my last hope.

    Regards.

  • Friday, March 30, 2012 5:57 PM
     
     

    Do you have any problem? i don't get the point right now ^^

    As long as the machines (non-syspreped) don't work in the same environment, i don't see any problems at all.


    Windows Embedded Developer and Scripting Guy //Germany (Preparing a blog about Windows Embedded Standard)

  • Friday, March 30, 2012 6:12 PM
     
     

    Do you have any problem? i don't get the point right now ^^

    As long as the machines (non-syspreped) don't work in the same environment, i don't see any problems at all.


    Windows Embedded Developer and Scripting Guy //Germany (Preparing a blog about Windows Embedded Standard)

    Could the machines be running on the same network?  Yes.

  • Tuesday, August 28, 2012 5:10 AM
     
     

    Even if they do work in the same network, they'll just grumble a bit. Elsewhere you find links about having to change SID as a waste of time.

    While sysprep is no favourite of mine, I can see you doing something like:

    create user in P5, add auto logon for this user

    frob your auto logon user with its batch file etc. So that particular user is ready to roll when the machine boots for real.

    in your sysprep /unattend:blah.xml, make sure you have skipuser skipmachine skippythekangaroo etc so it doesnt change anything.

    add some magic sauce to turn on ewf when it first logs in.

    sysprep /oobe it. and that is your golden master.


    =^x^=