Support for Replica in Windows

Add support for Replica in Windows