Users Guide

Set objInstance = GetObject("WinMgmts:{impersonationLevel=impersonate}//" &_
strComputerName&"/"&strNameSpace&":"&strClassName&"="&_
Chr(34)&strKeyValue&Chr(34))
'*** Set the new value for the property and save the instance
'*** (Establezca el nuevo valor para la propiedad y guarde la instancia)
objInstance.Properties_.Item(strPropName).Value = strPwd
objInstance.Properties_.Item(strPassEncryptPropName).Value = 0
objInstance.Put_
'*** If any errors occurred, let the user know
'***(Avisaalusuariosiocurrealgúnerror)
If Err.Number <> 0 Then
WScript.Echo"SettingtheBIOSpasswordfailed."
End If
'*** Sub used to display the correct usage of the script
'*** (Subrutina utilizada para mostrar el uso correcto de la secuencia de comandos)
Sub Usage()
Dim strMessage
strMessage = "incorrect syntax. You should run: " & vbCRLF & _
"cscript.exe//nologoSampleBIOSPwd.vbs<nombredelsistema>"&Chr(34)&_
"<contraseñaanterior>space<contraseñanueva>"&Chr(34)
WScript.Echo strMessage
End Sub
SímbolosdeBIOSadmitidosenlaOMCI
LossímbolosdeBIOScompatiblesconOMCIson:
l ASFMode
l AudioMode
l AutoOn
l AutoOnHour
l AutoOnMinute
l BootSequence
l BuiltinFloppy
l BuiltinNIC
l BuiltinPointingDevice
l ChassisIntrusion
l ChassisIntrusionStatus
l FastBoot
l HotDocking
l Hyperthreading
l IDEController
l IntegratedAudio
l InternalMiniPCI
l LowPowerS5
l NoExecute
l Onboard1394
l ParallelPortConfiguration
l ParallelPortMode
l PCISlots
l POSTF12KeySetting
l POSTF2KeySetting
l PowerManagementSettings
l PrimaryParallelATAMaster
l PrimaryParallelATASlave
l PrimaryVideo
l RadioTransmission
l SecondaryParallelATAMaster