Question MTP access denied and Mobile not detecting

Hello, two days before I have given my mobile to htc service center due to purple color issue and speaker issue and both solved successfully and bought my mobile back and when I connected my mobile to PC and my mobile not detecting and when I see in device manager and try to update driver it says "MTP USB Device access is denied".After that I have downloaded file manager in mobile and opened and it shows the whole files are in storage/emulated/0 which I didnt see it before.

So your help will be much appreciated,

Thankyou.
HTC ONE M7
ROM: ARHD 53.0
Details: Android 4.2.2

Iphone 4S
Sold