The IPFS examples are not fully geared for being demonstrated in Windows. The examples will typically fail in Windows, with not much debug help available.
Please run the following command after installing Node.js and when using IPFS for the first time:
npm install --global windows-build-tools