--CONTENTS--
1 - SRWIN Usage 2 - CFGWIN Usage 3 - Compiler Information ************************************************************************************* * 1. SRWIN Usage * * * * SRWIN/SRWINx64 is a tool to manage the system BIOS settings. With this * * tool it is possible to save/restore BIOS settings. SRWIN is for the * * Windows operating system. * * * * NOTE 1: SRWIN.exe/SRWINx64.exe, BIOS level, and Configuration Settings * * all need to be from the same BIOS level. The BIOS level on the donor * * system must be the same level as the systems that will be receiving * * the Configuration Settings. * * * * NOTE 2: The following commands require an Administrator Password to be set * * prior to usage. Without an Administrator Password set, this program will * * generate an error message when attempting to change the setting: * * dtpm * * dtpm2 * * ftpm * * cfgsata * * cfgssata * * * * * * The following commands are provided for the operation. Note, for SRWIN * * you need to run it from Command Prompt box with Administrator privileges * * under Windows. Some commands may not be applicable on some systems. * * * * Usage: srwin [arg1] [option1] [arg2] [option2]... * * * * where [Arguments]: * * /b [filename] Backup all BIOS settings to the file * * /r [filename] Restore BIOS settings from input file * * /pass [password] Input current system BIOS password * * /newadp [password] Set new Administrator password * * /newpop [password] Set new Power-on password * * /clradp Clear current system Administrator password * * /clrpop Clear current system Power-on password * * /nor Don't reboot after restore * * /ign Ignore BIOS level check * * /f9 Load BIOS Setup default * * /kbdless [option] Change item "Keboardless Operation" * * [option] * * enable -- Set the item to "Enabled" * * disable -- Set the item to "Disabled" * * /fdd [option] Change item "Floppy A" * * [option] * * enable -- Set the item to "Enabled" * * disable -- Set the item to "Disabled" * * /pbs [option] Change first device of primary boot sequence * * /ebs [option] Change first device of error boot sequence * * /abs [option] Change first device of automatic boot sequence * * [option] * * fdd -- Floppy disk drive * * sata1 -- SATA drive 1 * * sata2 -- SATA drive 2 * * sata3 -- SATA drive 3 * * sata4 -- SATA drive 4 * * sata5 -- SATA drive 5 * * sata6 -- SATA drive 6 * * sata7 -- SATA drive 7 * * sata8 -- SATA drive 8 * * sata9 -- SATA drive 9 * * sata10 -- SATA drive 10 * * ufdd_group -- USB FDD group * * ufdd1 -- USB FDD 1 * * ufdd2 -- USB FDD 2 * * ukey_group -- USB key group * * ukey1 -- USB key 1 * * ukey2 -- USB key 2 * * uhdd_group -- USB HDD group * * uhdd1 -- USB HDD 1 * * uhdd2 -- USB HDD 2 * * uodd_group -- USB ODD group * * uodd1 -- USB ODD 1 * * uodd2 -- USB ODD 2 * * lan1 -- LAN 1 * * lan2 -- LAN 2 * * scu_hdd1 -- SCU Hard disk drive 1 * * scu_hdd2 -- SCU Hard disk drive 2 * * scu_hdd3 -- SCU Hard disk drive 3 * * scu_hdd4 -- SCU Hard disk drive 4 * * Mezz_SATA -- Mezz-SATA * * eSATA -- eSATA * * device1 -- Device 1 * * device2 -- Device 2 * * device3 -- Device 3 * * device4 -- Device 4 * * device5 -- Device 5 * * device6 -- Device 6 * * Mezz1_PCIe_P1 -- Mezz1-PCIe-P1 * * Mezz1_PCIe_P2 -- Mezz1-PCIe-P2 * * Mezz2_PCIe_P1 -- Mezz2-PCIe-P1 * * Mezz2_PCIe_P2 -- Mezz2-PCIe-P2 * * PCIE_SLOT_1 -- PCIe slot 1 * * PCIE_SLOT_2 -- PCIe slot 2 * * PCIE_SLOT_3 -- PCIe slot 3 * * PCIE_SLOT_x -- PCIe slot # * * PCIE_SLOT_9 -- PCIe slot 9 * * M2_DRIVER_1 -- M.2 Driver 1 * * M2_DRIVER_2 -- M.2 Driver 2 * * M2_DRIVER_3 -- M.2 Driver 3 * * M2_DRIVER_4 -- M.2 Driver # * * VMD1 -- VMD/VROC Device 1 * * VMD2 -- VMD/VROC Device 2 * * VMD3 -- VMD/VROC Device 3 * * /dtpm [option] Change discrete TPM 1.2 status * * (requires Administrator Password - see NOTE 2 above) * * [option] * * disable -- Disable discrete TPM 1.2 * * inactive -- Set discrete TPM 1.2 inactive * * active -- Set discrete TPM 1.2 active * * /ftpm [option] Change firmware TPM status * * (requires Administrator Password - see NOTE 2 above) * * [option] * * disable -- Disable firmware TPM * * enable -- Set firmware TPM enable * * /dtpm2 [option] Change discrete TPM 2.0 status * * (requires Administrator Password - see NOTE 2 above) * * [option] * * disable -- Disable discrete TPM 2.0 * * enable -- Set discrete TPM 2.0 enable * * /vga [option] Change vga pre-allocated memory size * * [option] * * 32mb -- Set the size to 32mb * * 64mb -- Set the size to 64mb * * 128mb -- Set the size to 128mb * * 256mb -- Set the size to 256mb * * 512mb -- Set the size to 512mb * * 1024mb -- Set the size to 1024mb * * /cfgsata [option] Change SATA setting * * (requires Administrator Password - see NOTE 2 above) * * [option] * * ide -- Config SATA as IDE * * ahci -- Config SATA as AHCI * * raid -- Config SATA as RAID * * optane -- Config SATA as Intel(R) RST with Intel(R) Opta* * /above4GB [option] Change Above 4GB Decoding * * [option] * * enable -- Set the item to "Enabled" * * disable -- Set the item to "Disabled" * * /cfgssata [option] Change sSATA setting * * (requires Administrator Password - see NOTE 2 above) * * [option] * * ide -- Config sSATA as IDE * * ahci -- Config sSATA as AHCI * * raid -- Config sSATA as RAID * * /EHCIHandOff [option] Change EHCIHandOff setting * * [option] * * enable -- Set the item to "Enabled" * * disable -- Set the item to "Disabled" * * /PowerLoss [option] Change AfterPowerLoss setting * * [option] * * on -- set the item to "Power On" * * off -- set the item to "Power Off" * * last -- set the item to "Last State" * * /CardReader [option] Change CardReader setting * * [option] * * enable -- Set the item to "Enabled" * * disable -- Set the item to "Disabled" * * /strom [option] Change Storage Oprom Launch mode * * [option] * * disable -- Do not launch * * uefi -- UEFI Only * * legacy -- Legacy Only * * /satahotplug [option] Change SATA Port Hotplug * * [option] * * disable -- Disable All SATA Port Hotplug * * enable -- Enable All SATA Port 1 Hotplug * * 00~3ff -- ECX of HDD-hotplug * * -- Bit[0] for SATA Port 1 = 0 -Disable 1-Enable * * -- Bit[1] for SATA Port 2 = 0 -Disable 1-Enable * * -- Bit[2] for SATA Port 3 = 0 -Disable 1-Enable * * -- Bit[3] for SATA Port 4 = 0 -Disable 1-Enable * * -- Bit[4] for SATA Port 5 = 0 -Disable 1-Enable * * -- Bit[5] for SATA Port 6 = 0 -Disable 1-Enable * * -- Bit[6] for SATA Port 7 = 0 -Disable 1-Enable * * -- Bit[7] for SATA Port 8 = 0 -Disable 1-Enable * * -- Bit[8] for SATA Port 9 = 0 -Disable 1-Enable * * -- Bit[9] for SATA Port 10 = 0 -Disable 1-Enable * * /sata1hotplug Enable SATA Port 1 Hotplug Only * * /sata2hotplug Enable SATA Port 2 Hotplug Only * * /sata3hotplug Enable SATA Port 3 Hotplug Only * * /sata4hotplug Enable SATA Port 4 Hotplug Only * * /sata5hotplug Enable SATA Port 5 Hotplug Only * * /sata6hotplug Enable SATA Port 6 Hotplug Only * * /sata7hotplug Enable SATA Port 7 Hotplug Only * * /sata8hotplug Enable SATA Port 8 Hotplug Only * * /sata9hotplug Enable SATA Port 9 Hotplug Only * * /sata10hotplug Enable SATA Port 10 Hotplug Only * * /winguard [option] Change Device Guard and Credential Guard setting * * [option] * * disable -- Disable Device Guard and Credential Guard * * enable -- Enable Device Guard and Credential Guard * * /pxe [option] Change Boot Agent setting * * [option] * * disable -- Disable Boot Agent * * enable -- Enable PXE boot * * smc -- Enable SMC boot * * /tbt [option] Change ThunderBolt card location * * [option] * * slot1 -- ThunderBolt plug into slot 1 * * slot2 -- ThunderBolt plug into slot 2 * * slotx -- ThunderBolt plug into slot # * * slot9 -- ThunderBolt plug into slot 9 * * /xhci [option] Change USB xHCI controller mode setting * * [option] * * sauto -- set controller to Smart auto * * auto -- set controller to auto * * enable -- set controller to enable * * disable -- set controller to disable * * manual -- set controller to manual * * /mmioh [option] Change MMIOHBase setting * * [option] * * 1t -- set the MMIOH base to 1T * * 4t -- set the MMIOH base to 4T * * 16t -- set the MMIOH base to 16T * * 24t -- set the MMIOH base to 24T * * 40t -- set the MMIOH base to 40T * * 56t -- set the MMIOH base to 56T * * /msb [option] Change Windows Modern Standby setting * * [option] * * disable -- Disabled * * enable -- Enabled * * /pass_scan [ScanCode] Input current system BIOS password * * in Scan Code with US keyboard * * /newadp_scan [ScanCode] Set new Administrator password * * in Scan Code with US keyboard * * /newpop_scan [ScanCode] Set new Power-on password * * in Scan Code with US keyboard * * /pass_scan_fr [ScanCode] Input current system BIOS password * * in Scan Code with French keyboard * * /newadp_scan_fr [ScanCode] Set new Administrator password * * in Scan Code with French keyboard * * /newpop_scan_fr [ScanCode] Set new Power-on password * * in Scan Code with French keyboard * * /pass_scan_ge [ScanCode] Input current system BIOS password * * in Scan Code with German keyboard * * /newadp_scan_ge [ScanCode] Set new Administrator password * * in Scan Code with German keyboard * * /newpop_scan_ge [ScanCode] Set new Power-on password * * in Scan Code with German keyboard * * example 1: * * srwin.exe /r settings.dat /pass 123456 /ign * * example 2: * * srwin.exe /pbs sata1 /pass_scan 191e19 * * example 3: * * srwin.exe /newadp 123456 /newpop 123 * * * *************************************************************************************
************************************************************************************* * 2. CFGWIN Usage * * * * CFGWIN.exe is a BIOS settings edit tool in Windows supplied by Lenovo. * * With this tool it is possible to modify selected BIOS settings. This * * tool is for Windows operating systems. * * * * The following commands are provided for the operation. Note, for CFGWIN * * you need to run it from Command Prompt box with Administrator privileges * * under Windows. Some commands may not be applicable on some systems. * * * * * * ****** Usage1: capture BIOS settings ****** * * * * CFGWIN /c /path:c:\settings.txt * * /c capture mode * * /path:XX XX -file that will save BIOS settings, if no file * * is specified, all settings will be displayed * * directly to screen. * * * * *** Usage2: Restore BIOS settings when there is no Admin password set * * * * * * CFGWIN /r /path:c:\settings.txt * * /r - restore mode * * /path:XX XX - file that contains settings to be restored * * * * Note:The setting file captured by CFGWIN with "/c" list the supported * * BIOS item that can be restored * * * * * * * * *** Usage3: Restore BIOS settings when there is an Admin password set * * * * * * CFGWIN /r /path:c:\settings.txt /admin:123 * * /r - restore mode * * /path:XX XX -file that contains settings to be restored * * /admin:XX XX -administrator password of target if there is an * * Admin password set on the system, if only a POP * * set, input current POP here * * Note: 1.Please refer to Apendix 1 for password supported * * characters * * * * 2. Recommend using "" to include the password for better * * interpretation * * For example, password is 12 3&, can be written as * * /admin:"12 3&" * * 3. If the password contains " or \ or ', please write as \" * * or \\ or \', which will be interpreted as " or \ or ' * * * * For example, the password is 12"3, please write this as * * /admin:"12\"3" * * * * * * ****** Usage4: Change specific item value ****** * * * * CFGWIN interprets line entries by parsing an item and the new value * * from the settings file. By restoring such a settings file * * with "/r", the specific item can be changed to the expected value. * * * * The format of the settings file is the same as the one generated by * * the CFGWIN capture mode with "/c". There is only one item in each line * * of text file, item name and expected value are separated by comma "," * * as below: * * * * Item name,Expected value; * * * * Example1: Disable USB1 * * Writing a line in setting file as below: * * USB Port 1,Disabled; * * * * Example2: Change primary boot sequence * * Writing a line in setting file as below: * * Primary Boot Sequence,Network Card:Hard Drive:USB Key:CD/DVD Drive: * * USB Hard Disk:USB Floppy:USB CD/DVD:Floppy Drive; * * * * Note: * * All supported items and their selectable value will be listed * * in Lenovo WMI-Desktop Deployment Guide for the machine model you * * are using,please reference it when change item setting. * * * * For security reasons, some settings need the authorization of an * * Administrator Password, please ensure the Administrator Password * * is set before changing these settings: * * OS Optimized Defaults * * CSM * * Secure Boot * * Device Guard * * Discrete TPM FW Switch * * Configure SATA as * * * * When you restore BIOS settings using a file, please make sure that * * all related items are in the correct states, because once an * * item's dependent item is Disabled or in a special setting, this * * item will be hidden and can not be updated through CFGWIN, please * * reference Lenovo WMI-Desktop Deployment Guide for the machine * * model you are using for detail relationship between items. * * * * For example, the two lines below can not be executed in a file * * simultaneously when you are restoring with CFGWIN. This is because * * after the system executes the first line, the USB function has * * been disabled and the second line operation to USB port will not * * be accepted. * * USB Support, Disabled; * * USB Port 1, Enabled; * * * * * * ******** Usage5: Update existing passwords ******* * * * * CFGWIN can update system Administrator password and Power On Password. * * Users can perform this using the format specified below in the settings * * file using "restore mode", please be noticed that password updating * * will only take effect after reboot. Remember that only one password * * can be updated during each reboot cycle. This means that you cannot * * update Admin Password and Power On Password simultaneously in one * * cycle, only one password(either Admin. Password or Power On Password) * * can be updated during each boot cycle. * * * * Note: For the Password region in the .txt file, you need to add ; as * * a terminator. * * * * Example1: Update Admin password from 123 to 321 with ascii,us mode * * Write 3 lines in setting file as below: * * WmiOpcodePasswordType:pap; * * WmiOpcodePasswordCurrent01:123; * * WmiOpcodePasswordNew01:321; * * * * Example2: Update POP from 123 to 321 with ascii,us mode * * Write 3 lines in setting file as below: * * WmiOpcodePasswordType:pop; * * WmiOpcodePasswordCurrent01:123; * * WmiOpcodePasswordNew01:321; * * * * * * * * ******** Usage6: Clear password ******** * * * * Example1: Clear current Admin password with ascii,us mode(assume * * current Admin password is 123) * * Write 3 lines in setting file as below: * * WmiOpcodePasswordType:pap; * * WmiOpcodePasswordCurrent01:123; * * WmiOpcodePasswordNew01:; * * * * Example2: Clear current POP with ascii,us mode(assume current POP is 123) * * Write 3 lines in setting file as below: * * WmiOpcodePasswordType:pop; * * WmiOpcodePasswordCurrent01:123; * * WmiOpcodePasswordNew01:; * * * * * * Appendix 1: Characters that password could use * * 0 - 9 numeral * * a - z letter * * A - Z letter * * Please use quotation marks around passwords that use the * * following characters. See Usage 3 (above) for examples * * ! Exclamation mark * * " Quotation mark * * # Number sign, Hashtag, Octothorpe, Sharp * * $ Dollar sign * * % Percent sign * * & Ampersand * * ' Apostrophe * * ( Left parenthesis * * ) Right parenthesis * * * Asterisk * * + Plus sign * * , Comma * * - Hyphen-minus * * . Full stop * * / Slash (Solidus) * * : Colon * * ; Semicolon * * < Less-than sign * * = Equal sign * * > Greater-than sign * * ? Question mark * * @ At sign * * [ Left Square Bracket * * \ Backslash * * ] Right Square Bracket * * ^ Circumflex accent * * _ Low line * * ` Grave accent * * { Left Curly Bracket * * | Vertical bar * * } Right Curly Bracket * * ~ Tilde, Wave * * Space * * * *************************************************************************************
************************************************************************************* * 3. Compiler Information * * * * This Utility is compiled by Inno Setup 5.5.9 (u) * * * *************************************************************************************