rem ### Copyright (10/21/2009) (3/20/2011) Intel Corporation All Rights Reserved.        ##
rem ###                                                                                   ##
rem ### The source code, information and material ("Material") contained herein is        ##
rem ### owned by Intel Corporation or its suppliers or licensors, and title to such       ##
rem ### Material remains with Intel Corporation or its suppliers or licensors. The        ##
rem ### Material contains proprietary information of Intel or its suppliers and           ##
rem ### licensors. The Material is protected by worldwide copyright laws and treaty       ##
rem ### provisions. No part of the Material may be used, copied, reproduced, modified,    ##
rem ### published, uploaded, posted, transmitted, distributed or disclosed in any way     ##
rem ### without Intel's prior express written permission. No license under any patent,    ##
rem ### copyright or other intellectual property rights in the Material is granted to     ##
rem ### or conferred upon you, either expressly, by implication, inducement, estoppel     ##
rem ### or otherwise. Any license under such intellectual property rights must be         ##
rem ### express and approved by Intel in writing.                                         ##

rem ### Unless otherwise agreed by Intel in writing, you may not remove or alter          ##
rem ### this notice or any other notice embedded in Materials by Intel or Intels         ##
rem ### suppliers or licensors in any way.                                               ##


%HOMEDRIVE%
cd "%HOMEPATH%\usbtemp"

rem ### your USBfile command goes here #### 
rem ### 
rem ### example comands below ###
rem ###
rem ### With Power Policy Mobile: ON in S0, ME Wake in S3, S4-5 (AC only)
rem ### usbfile -create setup.bin admin P@ssw0rd -amt -consume 1 -pm 1 -pp 30800DEE09C07843AF287868A2DBBE3A -redir 7 -hostname %COMPUTERNAME% -domname vprodemo.com -v 2.1 ###
rem ###
rem ### With Power Policy Desktop: ON in S0, ME Wake in S3, S4-5
rem ### usbfile -create setup.bin admin P@ssw0rd -amt -consume 1 -pm 1 -pp 7322734623DC432FA98A13D37982D855 -redir 7 -hostname %COMPUTERNAME% -domname vprodemo.com -v 2.1 ###
rem ###
rem ### With KVM Remote Control settings for AMT 6 and up.
rem ### USBFile.exe -create setup.bin admin P@ssw0rd -amt -consume 1 -pp 30800DEE09C07843AF287868A2DBBE3A -redir 7 -hostname %COMPUTERNAME% -domname vprodemo.com -v 3 -kvm 1 -UserConsentOption 1 -UserConsentPolicy 1 conf 1 ###

format %thumbdrive% /q /fs:FAT /v: < ntr.txt

copy setup.bin %thumbdrive%\

del setup.bin

xcopy "%HOMEDRIVE%%HOMEPATH%\usbtemp\*.*" %THUMBDRIVE%\*.* /e /y

%THUMBDRIVE%\clean.bat