Hi Justinder,
Thank you for posting your query in Microsoft Community.
I regret the inconvenience caused to you. I will be glad to assist you with your issue.
Occasionally, Windows might not read your user profile correctly, such as if your antivirus software is scanning your computer while you try to log on.
I would suggest you to follow the steps carefully given in below article and check if it helps:
You receive a "The User Profile Service failed the logon” error message
https://support.microsoft.com/en-us/kb/947215
Note:
Steps applies to Windows 10 as well.
Registry disclaimer:
This section, method, or task contains steps that tells you how to modify the registry. However, serious problems might occur if you modify the registry
incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry,
click the following article number to view the article in the Microsoft Knowledge Base:
How to back up and restore the registry in Windows.
(http://support.microsoft.com/kb/322756/
)
Try the above step and let us know if it helps. For further assistance feel free to post your queries in Microsoft forums. We will be glad to assist you.
Thank You.