Hey Kavya!
My name is Ravi, an independent advisor and expert user. I am happy to help you. :)
I understand how concerning and confusing it can be to get such an error message. Let's fix it.
If you see "DisallowRun", you can use the Registry Editor to delete it and make things work.
1). Open the Run box again, and then type regedit in it and hit Enter.
2). In the Registry Editor window, go to the following path:
HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer
3). Select the Explorer folder, right-click on the DisallowRun key and select Delete. If there is a DWORD value called NoViewOnDrive, delete it too.
4). Restart your computer.
Feel free to get in touch again if you have any additional questions.
Cheers,
Ravi