Hello,
Thank you for posting in Microsoft Q&A.
Based on the description, I understand your question is related to Credential Manager Deletes Stored Data After Restart on Windows Server 2019. Try below methods:
Press Win + R, type services.msc, and press Enter. Find the "Credential Manager" service. Right-click on it, select "Properties". Set the "Startup type" to "Automatic" and click "OK". Restart.
Press Win + R, type gpedit.msc, and press Enter. Navigate to Computer Configuration > Administrative Templates > System > Credentials Delegation. Ensure that no policies are set to disable Credential Manager.
Press Win + R, type regedit, and press Enter. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VaultSvc. Ensure the "Start" value is set to 2 (Automatic). Restart.
Also, try install the latest windows update and restart machine.
Have a nice day.
Best Regards,
Molly
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it