Hey I might be wrong but from fist glance this sounds a lot like the solutions posted in this thread:
The biggest difference is that your solution is aimed at a windows host. You might want add this detail to your posting title.
Thanks for your contribution!!