Galaxy S2 not recognized by computer When I try to connect my Galaxy S2 device to my computer via USB, I get an error saying that the device has malfunctioned and is unrecognized. It appears as "Unknown device" in device manager.

I'm using Windows 7.
I tried this from my Samsung Galaxy Ace Plus and it worked:


From your mobile, click MENU > SETTINGS > APPLICATIONS > DEVELOPMENT
UNTICK USB debugging, Stay Awake, Allow mock locations
Insert USB cable from mobile to PC/laptop > "Enable USB debugging" > OK
Drag down the the USB icon from the upper left part of the screen
Tap on "Connect USB" > "Connect to USB storage"
Then, automatically, your PC/laptop will now detect new mobile/sd device 
From the laptop/PC, select "Open folder to view files"
There, you'll see MEMORY CARD storage and MOBILE storage as "Removable Disk..." (mine is G)
You should now be able to transfer files from PC>mobile and vice versa.