diff --git a/source/includes/steps-create-manually-windows-service-for-mongodb.yaml b/source/includes/steps-create-manually-windows-service-for-mongodb.yaml index 65986d10e5a..3246cd87fea 100644 --- a/source/includes/steps-create-manually-windows-service-for-mongodb.yaml +++ b/source/includes/steps-create-manually-windows-service-for-mongodb.yaml @@ -53,7 +53,7 @@ action: - pre: "Create the MongoDB service." language: powershell code: | - sc.exe create MongoDB binPath= "\"C:\mongodb\mongod.exe\" --service --config= \"C:\mongodb\mongod.cfg\"" DisplayName= "MongoDB" start= "auto" + sc.exe create MongoDB binPath= "\"C:\mongodb\mongod.exe\" --service --config=\"C:\mongodb\mongod.cfg\"" DisplayName= "MongoDB" start= "auto" post: | ``sc.exe`` requires a space between "=" and the configuration values (eg "binPath= "), and a "\\" to escape double quotes.