Raspberry PI: Fix SD Card Partitions in Windows 8.1

Replace all occurrences of N with a number

Open a Command Prompt

Type: diskpart

A new window will open, In the new window

Type: list disk

Now select the drive number of your SD Card

Type: select disk N

Type: list partition

Repeat the following two steps for all partitions

Type: select partition N

Type: delete partition

Then

Type: create partition primary

Type: format