Beta:Lenovo:Hardware - Get-LenovoBIOSSettings
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:
-
An example script to get the password settings on a Lenovo.
-
An example script to set the password settings on a Lenovo.
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
10620 | |
Beta - Preliminary testing ready for more | |
Beta:Lenovo:Hardware - Get-LenovoBIOSSettings | |
BESC | |
Internal | |
3/30/2016 12:00:00 AM | |
Lenovo BIOS Hardware | |
True | |
jgo on 3/30/2016 7:20:17 PM | |
jgo on 3/30/2016 7:20:17 PM | |
7976 Views / 25 Downloads | |
* Average over 0 ratings. ** Log In or Register to add your rating. |
Relevance
Used in 1 fixlet | * Results in a true/false |
Used in 1 fixlet | * Results in a true/false |
Actions
Action 1 (default)
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
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |