none
MDT 2013 : Is there any way to relaunch the LiteTouch process through command prompt within WinPXE?

    Question

  • Actually, I'd like to test different parameters of the Rules in the CustomSettings.ini file.

    Usually, I change a parameters and I restart the computer to go through PXE and see my changes.

    When you close the Deployment Window, a new command prompt window shows up. I know there is a command to run the process again but I don't remember the command.

    Do you know it?

    Monday, November 11, 2013 9:43 AM

Answers

All replies

  • Hi,

    You can use the command: wpeinit
    It read the unattend.xml file then launch litetouch.wsf

    Or you can also type wscript.exe X:\Deploy\Scripts\LiteTouch.wsf


    Revue du Geek | Astuces pour déployer Windows 7

    • Edited by Yannick PlavonilMVP Monday, November 11, 2013 2:18 PM
    • Proposed as answer by tiptronic13 Monday, November 11, 2013 2:21 PM
    • Marked as answer by AcetiK Monday, November 11, 2013 2:53 PM
    Monday, November 11, 2013 2:16 PM
  • Thank you!
    Monday, November 11, 2013 2:53 PM
  • My preference is to run the following command:

    @cscript.exe //nologo   %SystemDrive%\deploy\scripts\litetouch.wsf && wpeutil reboot

    http://keithga.wordpress.com/2013/07/25/what-tools-do-you-recomend-for-your-litetouch-boot-wim/


    Keith Garner - keithga.wordpress.com

    • Marked as answer by AcetiK Tuesday, November 12, 2013 7:40 AM
    Monday, November 11, 2013 5:16 PM
    Moderator
  • Thank you Keith,

    It works as well but what's the difference? It seems there is a verbose window behind the deployment panel.

    If I close the window, the computer restart immediately.

    Also, could you please explain a bit more the parameters? Like:

    //nologo
    wpeutil reboot

    ?

    • Edited by AcetiK Tuesday, November 12, 2013 7:45 AM Add some text
    Tuesday, November 12, 2013 7:39 AM
  • //nologo is a parameter passed to the cscript.exe, which basically tells it not to display in the command prompt what version of csript is running.

    The "wpeutil reboot" command tells WinPE to reboot via command line, but I'm not sure why this is necessary here.  My guess is that it auto-reboots the machine if the Deployment Wizard is cancelled out, but I could be wrong.


    -BrianG (http://supportishere.com)

    Tuesday, November 12, 2013 11:10 AM
  • Thank you Brian.

    I wonder what does mean the @ just before cscript command line?

    Tuesday, November 12, 2013 1:51 PM