How to unjailbreak my iPhone 4S?

I've been trying for a while to unjailbreak my iPhone 4S but I seem to be having a lot of problems. I can't restore it with iTunes because for some reason my computer won't detect my iPhone whenever it's in DFU or recovery mode. So I guess my real question is how can I make it so that my computer/iTunes will detect my iPhone while in DFU/recovery mode?

iTunes is at the latest version, my usb cable runs fine, the drivers and software are all up-to-date and installed properly. I'm really running out of ideas here and not sure what to do. I want to update my iPhone from iOS 5.0.1 to 5.1.1, but can't do that while my phone is jailbroken. I've already tried a custom IPSW update but that wouldn't work because my iPhone wasn't being detected while in DFU mode.

You can't un-jailbreak it you idiot.

  • Would I still get my warranty if I unjailbreak my iphone 5? I heard if you have an jailbroken iPhone the company won't fix it phone, if anything would happen to it.
  • Why can't I unjailbreak my iphone 5? I want to update to 6.1.2 but I'm jail broken with evasion and when I connect if go my computer to restore it takes a long time to load and says that it's up to day or something and when I check my software update on the iPhone it never loads and when I tried resetting it it never finishes what can I do? How do I unjailbreak when nothing's working
  • What will I lose if I unjailbreak my iPhone 4? So I have had my iPhone jailbroken for a while and now i want to update to IOS6 and just simplify my phone, how do i unjailbreak it and what will I lose if I do, I just don't want to lose message history and photos.
  • Should I unjailbreak my iPhone 4? Should I? It's slowing down and i don't want to mess it up anymore. Should I unjailbreak it?