Hello,
The most common reason behind this sort of behavior is that there is an application, network drive, or other access that has stored old credentials from this user and it is trying to connect using those. The best way to resolve it, would be to recreate the user profile in the affected computer with these methods:
- Press “Windows + R” to open the Run dialog, type “systempropertiesadvanced.exe” , In the “Advanced” tab, look for the “User Profiles” heading and click “Settings…”. and delete the user profile. Have the user to log in again to create the profile again. Beware that this process will delete all profile information and settings stored, as well the profile folders
- If the previous does work, you can delete the registry information for the profile too. In the registry, under the path Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\ProfileList , you can click each of the profile ID and see the Username on the key “ProfileImagePath”
If instead you want to try first a workaround, you can execute the next Batch script to swipe Credential Manager (this will only fix issues with Stored Credentials):
@Echo off
cmdkey.exe /list > "%TEMP%\List.txt"
findstr.exe Target "%TEMP%\List.txt" > "%TEMP%\tokensonly.txt"
FOR /F "tokens=1,2 delims= " %%G IN (%TEMP%\tokensonly.txt) DO cmdkey.exe /delete:%%H
del "%TEMP%\List.txt" /s /f /q
del "%TEMP%\tokensonly.txt" /s /f /q
echo Completed
pause
---------------------------------------------------------------------------------------------------------------------------------------------
--If the reply is helpful, please Upvote and Accept as answer--