windows explorer – Laptop freezes every time I click on taskbar

I deleted some of my %temp% files earlier today in my other laptop, and after logging in again the taskbar is frozen. Every time I try clicking on the taskbar a black screen flashes and screen remains frozen. I tried all possible methods of restarting the explorer.exe, scanned for corrupt files using sfc command and also tried resetting the video driver but nothing seems to help. Please aid me, thanks in advance.