Beta:Lenovo:Hardware - Get-LenovoBIOSSettings
Log In or Register to download the BES file, and more.

1 Votes

Description

This task requires power shell 4 and will only be relevant on Lenovo machines that have not yet generated the settings log in c:\windows\logs. Note this will only be relevant on machines that have the Default BIOS set and no BIOS password.

NOTE: The relevance for most of these properties will reference all values and names of the Lenovo_ class it is referencing. Please reference the property of "Lenovo_PasswordState" in this analysis if you would like to bring back a Boolean value and reference property of "Lenovo_GetBiosSelections_InstanceName" in this analysis if you would like to bring back a string. Similarly you could also use "time value of <wmi object>" or "integer value of <wmi object>"

Here are some links that may be helpful in decoding what the Lenovo bios propeties mean and for help in modification of Lenovo BIOS Settings:

This is an example of the settings from my w540:

AdaptiveThermalManagementAC,MaximizePerformance
AdaptiveThermalManagementBattery,Balanced
AlwaysOnUSB,Enable
AMTControl,Enable
ATpModuleActivation,Enable
BIOSPasswordAtReboot,Disable
BIOSPasswordAtUnattendedBoot,Enable
BIOSUpdateByEndUsers,Enable
BluetoothAccess,Enable
BootDeviceListF12Option,Enable
BootDisplayDevice,LCD
BootMode,Quick
BootOrder,USBCD:USBFDD:ATAPICD0:HDD0:HDD1:HDD2:USBHDD:PCILAN
BootOrderLock,Disable
BottomCoverTamperDetected,Disable
CDROMSpeed,Normal
ComputraceModuleActivation,Enable
CoreMultiProcessing,Enable
CPUPowerManagement,Automatic
DataExecutionPrevention,Enable
DiscreteGFXPerfMode,HighPerformance
EthernetLANAccess,Enable
EthernetLANOptionROM,Enable
ExpressCardAccess,Enable
ExpressCardSpeed,Automatic
FingerprintPasswordAuthentication,Enable
FingerprintPredesktopAuthentication,Enable
FingerprintReaderAccess,Enable
FingerprintReaderPriority,External
FingerprintSecurityMode,Normal
FnCtrlKeySwap,Disable
GraphicsDevice,SwitchableGfx
HardwarePasswordManager,Enable
HyperThreadingTechnology,Enable
IntegratedCameraAccess,Enable
IPv4NetworkStack,Enable
IPv6NetworkStack,Enable
KeyboardBeep,Enable
LockBIOSSetting,Disable
MemoryCardSlotAccess,Enable
MicrophoneAccess,Enable
MinimumPasswordLength,Disable
NetworkBoot,PCILAN
NfcAccess,Enable
OnByAcAttach,Disable
PasswordBeep,Disable
PCIExpressPowerManagement,Automatic
PhysicalPresenceForTpmClear,Enable
PhysicalPresenceForTpmProvision,Disable
PowerOnNumLock,Auto
RapidStartTechnology,Enable
SATAControllerMode,AHCI
SecureBoot,Disable
SecureRollBackPrevention,Disable
SecurityChip,Inactive
SmartCardSlotAccess,Enable
SmartConnectTechnology,Disable
SpeedStep,Enable
StartupOptionKeys,Enable
ThinkPadNumLock,Independent
ThunderboltAccess,Enable
TotalGraphicsMemory,256MB
TouchPad,Automatic
TrackPoint,Automatic
TXTFeature,Disable
UefiPxeBootPriority,IPv4First
UltrabayAccess,Enable
USB30Mode,Automatic
USBBIOSSupport,Enable
USBPortAccess,Enable
VirtualizationTechnology,Enable
VTdFeature,Enable
WakeOnLAN,ACOnly
WirelessLANAccess,Enable
WirelessWANAccess,Enable


Property Details

ID10620
StatusBeta - Preliminary testing ready for more
TitleBeta:Lenovo:Hardware - Get-LenovoBIOSSettings
DomainBESC
SourceInternal
Source Release Date3/30/2016 12:00:00 AM
KeywordsLenovo BIOS Hardware
Is TaskTrue
Added by on 3/30/2016 7:20:17 PM
Last Modified by on 3/30/2016 7:20:17 PM
Counters 4459 Views / 11 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.

Relevance

Used in 13 fixlets and 3 analyses   * Results in a true/false
Show indented relevance
name of operating system contains "Win"
Used in 5 fixlets and 1 analsis   * Results in a true/false
Show indented relevance
if (exists wmi) then (string value of select "Manufacturer from Win32_ComputerSystem" of wmi as string as lowercase)="lenovo" else (False)
Used in 1 fixlet   * Results in a true/false
Show indented relevance
not exists file whose (name of it contains "GetLenovoBiosSettings") of folder "c:\windows\logs"
Used in 1 fixlet   * Results in a true/false
Show indented relevance
(boolean value of selects "PasswordState FROM Lenovo_BiosPasswordSettings" of wmi "ROOT\WMI:Lenovo_BiosPasswordSettings")= false

Actions

Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
prefetch 65b693c453731848b36a9c536259bfe1ef14ba04 sha1:65b693c453731848b36a9c536259bfe1ef14ba04 size:1542 http://dl.projectlittlefix.com/GetLenovoBIOSSettings.ps1.tmp sha256:c74273648eb78098f2543fbc20a0d35bf248a9d470ee7c26b3866e851fdca04b
Extract 65b693c453731848b36a9c536259bfe1ef14ba04
// Disable wow64 redirection on x64 OSes
action uses wow64 redirection {not x64 of operating system}

delete __createfile

// CREATEFILE
createfile until END_OF_FILE
. {(client folder of current site as string) & "__Download/GetLenovoBIOSSettings.ps1" }
Get-LenovoBIOSSettings -ComputerName 'Localhost'
END_OF_FILE
delete powershell.ps1
move __createfile powershell.ps1
waithidden { pathname of file ((it as string) of value "Path" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell" of native registry) } -ExecutionPolicy Bypass -File powershell.ps1
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!