Cannot connect Nexus 7 to computer to see internal storage after flashing Cyanogenmod I've managed to flash Cyanogenmod 12.1 onto my Nexus 7 2012 to give it a new lease on life, but now I can't connect it to my PC to view it as a storage device!

The Nexus 7 shows up as a "media device" in Devices and Printers and does not show up as a drive in My Computer - the driver for it is shown as the Android ADB Driver. The Nexus 7 is only charging when connected to my computer, there is no notification to choose the connection type. I have tried re-installing the driver, but Windows says it's already up to date. ADB and Fastboot both locate the device in Recovery and Bootloader, so the driver is obviously working. Connecting the Nexus 7 to a different computer that hasn't been used to flash images shows up as a storage device with no problems.

What am I missing/doing wrong with my computer that won't show my Nexus 7 as a storage device?

Clarification: Running Windows 8.1. Connected with MTP mode shows my Nexus 7 in my Devices and Printers (but Unspecified), but not as a Media Device in My Computer: 

Connected with PTP mode works as expected:
Ran into the exact same problem: Nexus 7 wouldn't properly connect as MTP device on Windows 10 after flashing CyanogenMod 12.1. The driver I had installed was the "Universal ADB driver" (not "Android ADB Driver" as OP). It was needed during the flashing procedure.

Solution was to uninstall the ADB driver: Right-click on the device in the Device Manager and select "Uninstall". Then unplug USB cable and reconnect. Device now works as expected.