iPhone 4s not detected by laptop & iTunes

My iPhone is not detected with my laptop and iTunes. Though the phone is getting charged when connected to laptop. I have tried many solutions available on net but still my problem is unsolved. By the way, my laptop has windows 7. iTunes is up to date. 4s is having iOS 9.3.5, which is the highest version available for 4s.
After you connect it to your laptop, you have to unlock the device then choose "Trust" when the "Trust this Computer" alert pops up. iTunes should detect the device then.

Original thread: https://forums.imore.com/threads/iphone-4s-not-detected-by-laptop-itunes.381443/