title: MongoDB Configuration file not present on windows environment
body: <p>I am a newbie on MongoDB. Now I need Replica set for my MongoDB. For that when I go to Tutorial there is mentioned that first, you have to make some changes to the configuration file. But unfortunately, there is no file.</p>
  
  <p>After some research on MongoDB Documentation, I got some idea. the link is </p>
  
  <blockquote>
    <p><a href="https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/#configure-a-windows-service-for-mongodb-community-edition" rel="nofollow noreferrer">https://docs.mongodb.com/manual/tutorial/install-mongodb-on-windows/#configure-a-windows-service-for-mongodb-community-edition</a></p>
  </blockquote>
  
  <p>Now I am a little bit confuse how to start three instances for the replica set.</p>
  
  <pre><code> I also read that under C:/data/ I have to create a folder for replicas like rs1, rs2, and rs3.
  </code></pre>
  
  <blockquote>
    <p>Initially I am able to start my mongoDB services With the Code i.e net
    start Mongodb</p>
  </blockquote>
  
  <p>and for creating the members on replica First I type the command i.e </p>
  
  <blockquote>
    <p>mongo --port 27017</p>
  </blockquote>
  
  <p>after that I will create the members for Replica set i.e </p>
  
  <pre><code>config =  {_id: "test", members: [
      {_id: 0, host: "127.0.0.1:27017"},
      {_id: 1, host: "127.0.0.1:27018"},
      {_id: 2, host: "127.0.0.1:27019"}
  ]}
  </code></pre>
  
  <p>after Entering this When I type the command on my cmd i.e</p>
  
  <pre><code>rs.initiate(config)
  it gives me the error i.e 
  {
          "ok" : 0,
          "errmsg" : "This node was not started with the replSet option",
          "code" : 76,
          "codeName" : "NoReplicationEnabled"
  }
  </code></pre>
  
  <p>I don't know now what I can Do. i am sharing my Configuration file content
   i.e </p>
  
  <pre><code># mongod.conf
  
  systemLog:
      destination: file
      path: c:\data\log\mongod.log
  
  storage:
      dbPath: c:\data\db
  </code></pre>
  
  <p>Shall any more thing I have to add to this file.
  Any help is really appreciated.</p>