diff --git a/DependencyInjection/Configuration.php b/DependencyInjection/Configuration.php
index <HASH>..<HASH> 100644
--- a/DependencyInjection/Configuration.php
+++ b/DependencyInjection/Configuration.php
@@ -188,7 +188,7 @@ class Configuration implements ConfigurationInterface
 
             // we use the parent directory name in addition to the filename to
             // determine the name of the driver (e.g. doctrine/orm)
-            $validDrivers[] = substr($file->getPathname(), 1 + strlen($driverDir), -4);
+            $validDrivers[] = str_replace('\\','/',substr($file->getPathname(), 1 + strlen($driverDir), -4));
         }
 
         $node
Windows path compatibility:
Updated driver detection to work with Windows file paths, which have "\" instead of "/".