Today I once again had a Windows server that could no longer be backed up via VSS. The creation of a VSS snapshot was aborted with the following error message:
Volumeschattenkopie-Dienstfehler: Beim Aufrufen von Routine "ConvertStringSidToSid(S-1-5-21-1629892529-1905228445-1032730592-4125.bak)" ist ein unerwarteter Fehler aufgetreten. hr = 0x80070539, Die Struktur der Sicherheitskennung ist unzulässig. . Vorgang: OnIdentify-Ereignis Generatordaten werden gesammelt Kontext: Ausführungskontext: Shadow Copy Optimization Writer Generatorklassen-ID: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f} Generatorname: Shadow Copy Optimization Writer Generatorinstanz-ID: {99b5bc19-d05b-4b74-9b9a-861f5ad10afa}
The error message was generated with event ID 8193 and application event log:
The cause here was a temporary or defective user profile. To rectify the error, simply delete the defective user profile from the registry:
Under the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList you will find the profile that is flagged in the error message. As this is a defective profile anyway, it can be deleted; if you want to be on the safe side, you can export the key beforehand:
After the key was deleted, the VSS backups also worked again without any problems: