Win7 automation

Just a start, needs some cleanup.