Hello RUCHIT,
Welcome to Microsoft Community.
Can you tell me what you are trying to do when you get this error code 5 prompt?
This error code usually points to a lack of permissions, but it can involve many operations, such as running a command at a command prompt that requires administrator permissions, or running an application as an administrator.
To solve this problem, you need to use an administrator account to perform operations, or use another administrator account and assign administrator rights to your account. The specific operation process is as follows:
If your current situation is not as I suspect, please do not hesitate to describe your problem in detail.
Best regards,
Mitchell - | Microsoft community support expert from MSFT