It seems probably, that the Adobe Service is the root cause preventing Windows 7 from shutdown - found that mentioned also within a reddit.com thread.
@Rahul_PatelDV can you confirm, that Adobe Creative Cloud is installed on your machine.
In don't think, the crypt32.dll vulnerability is the issue - due to my knowledge, the patch has been shipped only to Windows 10.
Compiled some details and workaround into a blog post at - maybe it helps:
Windows 7 prevents shutdown / restart (Feb. 2020)