diff --git a/.gitignore b/.gitignore
index b0f369131657c4688a30772e511615c23f6d315d..e5da286630d481ef1a6317eeb1f36e9e84e1ee99 100644
--- a/.gitignore
+++ b/.gitignore
@@ -96,6 +96,9 @@ nbproject
 /extras/tools/check_sed
 /extras/tools/libtool-*.tar.xz
 
+#UWP
+/contrib/build/
+
 #iOS
 /build-ios*
 
diff --git a/contrib/src/opendht/fetch_and_patch.bat b/contrib/src/opendht/fetch_and_patch.bat
new file mode 100644
index 0000000000000000000000000000000000000000..061141705284faace2036ad50fe442215a41e106
--- /dev/null
+++ b/contrib/src/opendht/fetch_and_patch.bat
@@ -0,0 +1,14 @@
+set BUILD=..\..\build
+set SRC=%~dp0%~1
+
+set OPENDHT_VERSION=e7295bac7b57540905e287a37904c615de971392
+set OPENDHT_URL="https://github.com/savoirfairelinux/opendht.git"
+
+mkdir %BUILD%
+cd %BUILD%
+
+git clone %OPENDHT_URL%
+cd opendht
+git checkout %OPENDHT_VERSION%
+
+cd %SRC%
\ No newline at end of file