August 20, 2010

Windows Server: sfc /scannow error after expanding disk

Problem:
Having installed Windows Server 2008 R2 Core as a virtual machine on a Hyper-V cluster, I had some problems setting up it as DC, and one hint was to run sfc /scannow to repair some files. When running the command in command prompt, I was greeted with error:

“Windows resource protection could not perform the requested operation”

Solution:
As I had installed the VM with only 4 GB HD, I had just expanded the HD size to 5 GB. After that the sfc started giving me this error. What I did was to use diskpart (as there are no fancy graphical UI) to expand the partition to correspond with the new size of the HD:

  1. In command prompt, run: diskpart
  2. In diskpart, first list disks: list disk
  3. Select the desired dish you wish to expand: select disk N (where N is disk number)
  4. List partitions: list partition
  5. Select the desired partition: select partition N
  6. List volumes: list volume
  7. Select the desired volume: select volume N
  8. Extend the filesystem on the selected volume to cover the entire volume: extend filesystem
  9. Exit diskpart: exit

August 6, 2010

Beta: Media Center Status Application version 0.6.1 released

So, this is beta, as only I have tested it and found it to be working. Please let me know if you run into any issues. I also appreciate reporting if everything seems to work.

New features

  • Uses OAuth to authenticate to Facebook and Twitter (meaning that logging in works better, is faster and is future proof)
  • Also uses Facebook Graph API to communicate with Facebook (also adding some future proofness)

Fixes

  • Publishing media details fetched from Amazon now works again

Download here