| Previous | Next |
| VDS_E_NOT_ENOUGH_DRIVE | VSS_E_CRITICAL_VOLUME_ON_INVALID_DISK |
VDS_E_BAD_COOKIE
VDS_E_BAD_COOKIE means that VDS could not find the cookie supplied by the caller. A cookie is a service or provider-generated identifier, so this often indicates stale state, an object refresh, a provider restart, or a mismatch between the request and the current session.
What to check
- Obtain a fresh cookie from the current enumeration or operation result instead of reusing one retained across refreshes.
- Check whether VDS, the provider, or the storage configuration was restarted or changed between discovery and use.
- Log the cookie source and lifetime in code that performs asynchronous or multi-step storage operations.
Microsoft: VDS common return codes
Looking for a different code? Search another status or error code.