SmartSetup Scripting Toolkit Administrator's Guide

Table Of Contents
Examples
Example 1 Sample conrep.dat file
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<conrep_data>
<section name="EFI_general_variables">
<Lang>4c 00 61 00 6e 00 67 00 00 ...</Lang>
<Default>44 00 65 00 66 00 61 00 ...</Default>
<CPUThreadControl>43 00 50 00 55 00 54 ...</CPUThreadControl>
<Timeout>54 00 69 00 6d 00 ...</Timeout>
<ConOut>43 00 6f 00 6e 00 ...</ConOut>
<ConIn>43 00 6f 00 6e 00 49 ...</ConIn>
<ErrOut>45 00 72 00 72 00 ...</ErrOut>
<ConOutUserModified>43 00 6f 00 6e 00 ...</ConOutUserModified>
</section>
<section name="EFI_Non-Cell_variables">
</section>
</digest>39 b9 25 ad c7 d4 e8 0f 32 8e d9 05 94 05 a6 01 </digest>
</conrep>
Example 2 Sample conrep.xml file
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<conrep>
<section name="EFI_general_variables">
<ev>Lang</ev>
<ev>Default</ev>
<ev>UIOption</ev>
<ev>CPUThreadControl</ev>
<ev>Timeout</ev>
<ev>ConOut</ev>
<ev>ConIn</ev>
<ev>ErrOut</ev>
<ev>ConOutUserModified</ev>
</section>
<section name="EFI_Non-Cell_variables">
<ev>AutobootRetry</ev>
</section>
<section name="EFI_Cell_variables">
<ev>AutobootRetries</ev>
</section>
</conrep>
To read variables from the configuration file and write them to the conrep.dat file in verbose
mode, enter:
conrep -s -x conrep.xml -f y:\data_files\conrep.dat v
To write the contents of the conrep.dat file to NVRAM in verbose mode, enter:
conrep l f y:\data_files\conrep.dat -v
Return codes
Table 2 conrep Return Codes
ActionCauseMeaningValue
conrep executed successfully0
Log in as an administrator and rerun
conrep.
The user does not have administrator
privileges.
Permission denied1
conrep 35