Use new functions for windows guest

ID: 1169678
no need this branch too.