
UNSOLVED
Clearing the Bios Setup Password on a Dell PowerEdge R750
Hello,
Model: PowerEdge R750
Service Tag: <Private data removed from public view. DELL-Admin>
Bios Version: 1.13.2
IDRAC Firmware Version: 7.00.60.00
I have been able to set the Setup bios password on my R750 server through Redfish. However, now I am trying to delete/clear the password through hitting the same Redfish endpoint (redfish/v1/Systems/System.Embedded.1/Bios/Actions/Bios.ChangePassword). However, specifying an empty String for the new password is returning an error: "Retry the operation with a BIOS password that conforms with system BIOS password requirements"
I tried using the official Dell script located here to clear the password: https://github.com/dell/iDRAC-Redfish-Scripting/blob/master/Redfish%20Python/BiosChangePasswordREDFISH.py
I see the same error when I use this script to try to clear the password:
./BiosChangePasswordREDFISH.py -ip 99.999.999.999 -u root -p XXXXX --type 2 --old XXXXXX --new ""
- INFO, clearing BIOS SetupPassword
- FAIL, Command failed, error code is 400
{'_content': b'{"error":{"@Message.ExtendedInfo":[{"Message":"Invalid BIOS Password.","MessageArgs":["SetupPassword"],"MessageArgs@odata.count":1,"MessageId":"IDRAC.2.9.BIOS018","RelatedProperties":["#/PasswordName"],"RelatedProperties@odata.count":1,"Resolution":"Retry the operation with a BIOS password that conforms with system BIOS password requirements.","Severity":"Warning"}],"code":"Base.1.12.GeneralError","message":"A general error has occurred. See ExtendedInfo for more information"}}', '_content_consumed': True, '_next': None, 'status_code': 400, 'headers': {'Date': 'Wed, 26 Jun 2024 11:23:21 GMT', 'Server': 'Apache', 'OData-Version': '4.0', 'Cache-Control': 'no-cache', 'X-Frame-Options': 'DENY', 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload', 'Content-Length': '482', 'Connection': 'close', 'Content-Type': 'application/json;odata.metadata=minimal;charset=utf-8'}, 'raw': <urllib3.response.HTTPResponse object at 0x7f1e9cd7cb80>, 'url': 'https://10.180.247.197/redfish/v1/Systems/System.Embedded.1/Bios/Actions/Bios.ChangePassword', 'encoding': 'utf-8', 'history': [], 'reason': 'Bad Request', 'cookies': <RequestsCookieJar[]>, 'elapsed': datetime.timedelta(microseconds=303289), 'request': <PreparedRequest [POST]>, 'connection': <requests.adapters.HTTPAdapter object at 0x7f1e9cd7da80>}
Was looking for any help.
Thanks
(edited)
Responses (0)
Solutions (0)
