| Previous | Next |
| ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD | ERROR_DS_CANT_START |
ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY
Security Account Manager needs to get the boot key from floppy disk.
The native value for ERROR_DS_SAM_NEED_BOOTKEY_FLOPPY is 8530 (0x00002152). Preserve this result immediately after the failing Windows call because later logging, cleanup, LDAP, RPC, or file operations can replace the last-error value.
This result belongs to Active Directory Domain Services (AD DS). A diagnosis of it must connect the condition to the producing API, current state, object identity, and first lower-level diagnostic.
Where the result appears
- processing Security Account Manager startup requiring legacy boot-key media.
- executing an LDAP, RPC, deployment, replication, or directory-management operation.
- working against a specific domain controller whose replica and schema state affect the result.
- translating extended directory diagnostics into a Win32 error for an application or administration tool.
State boundary to prove
This result applies to Security Account Manager startup requiring legacy boot-key media and does not by itself prove that the entire server, directory, disk, session, or application is unavailable. The state boundary to prove for it is whether the system can read and validate the removable media containing the expected SAM boot key. Use SAM and System events, boot-key mode, and media identity and read result as independent evidence. When evidence for it disagrees, preserve timestamps and investigate the transition instead of selecting the most convenient value.
Likely causes
- legacy SysKey mode stores the startup key on removable media.
- the media is absent or unreadable.
- the wrong key disk was supplied.
- the device needed to read the media is unavailable.
Diagnostic sequence
- capture error 8530 immediately at the API boundary and record the operation that was attempted.
- identify the exact owner of Security Account Manager startup requiring legacy boot-key media, including object generation, server, path, session, replica, or client context.
- collect SAM and System events before restarting a service or changing configuration.
- compare boot-key mode with the documented or observed precondition.
- correlate media identity and read result with the Directory Service event log, LDAP extended diagnostics, replication metadata, dcdiag and repadmin output, and the calling application’s request trace.
- determine whether side effects occurred and verify recovery after changing one responsible condition.
Evidence to collect
- SAM and System events.
- boot-key mode.
- media identity and read result.
- recovery environment and hardware availability.
Correlate it with the Directory Service event log, LDAP extended diagnostics, replication metadata, dcdiag and repadmin output, and the calling application’s request trace. Keep the first detailed status even when a later wrapper translates it to error 8530; the first status often distinguishes transport, authorization, storage, schema, state, and application-integrity causes that share the same final Win32 result.
Handling, retry, and recovery
The recovery objective is to locate the authorized key media or restore through the documented recovery process; do not substitute arbitrary key files.
Retry it only after the recorded condition changes and completion state is known. Idempotent queries may be repeated after recovery, but mutations require a state check first; backoff cannot repair malformed input, corruption, missing structure, or policy rejection.
Telemetry and support fields
- record
ds_sam_need_bootkey_floppy_apifor the producing function or management operation. - record
ds_sam_need_bootkey_floppy_targetfor the file, log, session, replica, object, or server identity. - record
ds_sam_need_bootkey_floppy_state_beforeandds_sam_need_bootkey_floppy_requested_transition. - record
ds_sam_need_bootkey_floppy_first_statusfor the earliest lower-level diagnostic.
For support escalation involving it, retain decimal 8530, hexadecimal 0x00002152, the API, UTC time, target identity, and first subsystem-specific status. Include the smallest reproducible request and evidence that distinguishes this condition from nearby codes. In the context of it, many ds codes are internal or management-facing and are not tied to one public function. the producing ldap, rpc, deployment, or management api must therefore be recorded with the code.
Difference from nearby results
ERROR_DS_SAM_NEED_BOOTKEY_PASSWORD indicates password-based startup-key mode
Practical validation scenario
A legacy server restored to new hardware cannot access its original key disk. The recovery plan uses the escrowed system-state backup rather than attempting to fabricate media. The negative test should preserve the responsible condition and reproduce it; the recovery test should change only the identified cause, repeat the same operation, and verify both success and the absence of an unintended partial side effect.
Developer and administrator guidance
Administrators handling it should preserve Directory Service events, replication metadata, and the contacted domain controller before changing objects or forcing role transitions. Developers should retain LDAP extended diagnostics and object identities across wrappers so the Win32 code does not erase the actionable directory result. Code that exposes it through RPC, JSON, REST, PowerShell, or another protocol should preserve the Win32 domain, decimal 8530, hexadecimal 0x00002152, and original component diagnostic.
References
- Microsoft: Win32 system error range containing this code — official context relevant to it.
- Microsoft: AD DS troubleshooting — official context relevant to it.
- Microsoft: repadmin — official context relevant to it.
- Microsoft: dcdiag — official context relevant to it.
- Microsoft: AD and LDS diagnostic event logging — official context relevant to it.
Looking for a different code? Search another status or error code.