Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

NOTE: If you are running Clean My Org on the same server, this workflow may cause issues with the application unless you also follow the instructions for the relevant workflow for Clean My Org.


  1. In Command Prompt, navigate to the MongoDB installation directory with mongo.exe, the default is
    cd /D “C:\Program Files\MongoDB\Server\4.0“

  2. Type mongo from this directory in the command prompt to start the mongo shell. (Note: if you are already using authentication with mongo, you will need to log in with administrator credentials.)

  3. Type:
    use geojobe_admintools

  4. Copy and paste in the following lines:
    db.createUser({"user": "admintoolsdb", "pwd":"yourpassword", roles: [{ role: "dbAdmin", db: "geojobe_admintools" }]})
    db.grantRolesToUser("admintoolsdb", [ { role: "readWrite", db: "geojobe_admintools" } ])

  5. Type exit to leave the mongo shell.

  6. To enable mongoDB with authentication, edit the file in the default mongo installation directory C:\Program Files\MongoDB\Server\4.0\mongod.cfg

  7. Find the line starting with #security and paste the following lines underneath it:
        authorization: enabled

  8. Save the file and close.

  9. In the Admin Tools directory, edit the file called: C:\inetpub\wwwroot\admintools\app-server\app-server\config.json

  10. Edit the “dbPath” line to read:
    "dbPath": "mongodb://admintoolsdb:yourpassword@localhost:27017/geojobe_admintools",

  11. Edit the "dbPass" line to read:
    "dbPass": "yourpassword"
  12. Save the file and close.

  13. Open Windows Services and restart the “MongoDB Server” windows service.

  14. Restart the “Admin Tools Server” windows service.

Filter by label (Content by label)
cqllabel in ( "admin" , "security" , "tools" , "mongodb" ) and type = "page" and space = "GJKBASE"
labelssecurity mongodb admin tools