The WannaCry virus is known as ransomware. If you were infected with this you would most likely no longer be able to view your personal files, pictures and such as they will be encrypted. If you can still view them, then it’s most likely not WannaCry.
It may be possible that a recent patch changed something that is causing your problem. Run a good anti-virus program to make sure it’s nothing more serious.