Hello Nadeem Hussain Joo
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
Based on the information you provided, it seems like the DeleteLocalProfileWhenVHDshouldApply registry key is not working as expected. This key is used to delete the local profile when the user logs off and the profile container is applied.
To troubleshoot this issue, you can try the following steps:
- Check if the registry key is set correctly on the machine where the user is logging in. You can use the Registry Editor to check the registry key values.
- Check if the user has the necessary permissions to access the profile container. The user should have read and write permissions to the profile container.
- Check if the FSLogix service is running on the machine where the user is logging in. You can use the Services console to check the status of the FSLogix service.
- Check if there are any errors in the FSLogix logs. You can find the logs in the Event Viewer under Applications and Services Logs > FSLogix.
Hope that helps.