Small refactoring to avoid code repetition (DRY).

I've made a small improvement (IMHO) to avoid code repetition on Windows2008 validator class. 

I know that is not a big change or improvement of some feature but I'd like to know your opinion about the proposed code anyway :).

Cheers,
@casadei