{
	"id": "0d599279-a357-4352-879c-d93a4aa292b6",
	"created_at": "2026-04-06T00:08:32.089554Z",
	"updated_at": "2026-04-10T13:11:48.772732Z",
	"deleted_at": null,
	"sha1_hash": "c062c6cc73126c69298ccdf693048966a6647079",
	"title": "ODBCCONF.EXE - Open Database Connectivity (ODBC)",
	"llm_title": "",
	"authors": "",
	"file_creation_date": "0001-01-01T00:00:00Z",
	"file_modification_date": "0001-01-01T00:00:00Z",
	"file_size": 61620,
	"plain_text": "ODBCCONF.EXE - Open Database Connectivity (ODBC)\r\nBy David-Engel\r\nArchived: 2026-04-05 18:36:08 UTC\r\nIn this article\r\n1. Syntax\r\n2. Arguments\r\n3. Remarks\r\n4. See Also\r\nODBCCONF.exe is a command-line tool that allows you to configure ODBC drivers and data source names.\r\nNote\r\nODBCCONF.exe will be removed in a future version of Windows Data Access Components. Avoid using this feature, and\r\nplan to modify applications that currently use this feature. You can use PowerShell commands to manage drivers and data\r\nsources. For more information about these PowerShell commands, see Windows Data Access Components cmdlets.\r\nSyntax\r\nODBCCONF [switches] action\r\nArguments\r\nswitches\r\nZero or more switch options. For the list of available switches, see the Remarks section, later in this topic.\r\naction\r\nOne action to perform. For the list of available options, see the Remarks section.\r\nThe following switches are available:\r\nSwitch Description\r\n/A {action}\r\nSpecify an action.\r\n/A is optional if only one action is specified.\r\n/? Display usage for ODBCCONF.EXE.\r\n/C Processing continues if an action fails.\r\n/E Erase the response file specified with /F when processing is finished.\r\n/F Use a response file, such as odbcconf /F my.rsp .\r\nmy.rsp might look like this: REGSVR c:\\my.dll\r\nhttps://docs.microsoft.com/en-us/sql/odbc/odbcconf-exe?view=sql-server-2017\r\nPage 1 of 4\n\nSwitch Description\r\n/A is not used in a response file.\r\n/H Display usage (Help). This switch is the same as /?.\r\n/L[mode]\r\nfilename\r\nSend program output to a file in one of three modes: normal (n), verbose (v), and debug (d). Debug\r\nmode records the DLLs that are loaded by odbcconf.exe.\r\nIf you specify /L without a mode, the log file will be empty.\r\nFor example, /Lv log.txt.\r\n/R The action will be performed after a restart.\r\n/S Silent mode. Do not display error messages.\r\nThe following actions are available:\r\nAction Description\r\nCONFIGDRIVER\r\ndriver_name**driver-specific configuration\r\nparams\r\nLoads the appropriate driver setup DLL and calls the ConfigDriver function.\r\nEquivalent to the SQLConfigDriver function.\r\nFor example:\r\n/A {CONFIGDRIVER \" Driver Name\" \"CPTimeout=60\"}\r\n/A {CONFIGDRIVER \" Driver Name\" \"DriverODBCVer=03.80\"}\r\nCONFIGDSN\r\ndriver_name DSN=name\r\n| attributes\r\nAdds or modifies a user data source.\r\nEquivalent to the SQLConfigDataSource function.\r\nFor example:\r\n/A {CONFIGDSN \"SQL Server\" \"DSN=name | Server=srv\"}\r\nCONFIGSYSDSN\r\ndriver_name DSN=name\r\n| attributes\r\nAdds or modifies a system data source.\r\nEquivalent to the SQLConfigDataSource function.\r\nFor example:\r\n/A {CONFIGSYSDSN \"SQL Server\" \"DSN=name | Server=srv\"}\r\nINSTALLDRIVER Equivalent to SQLInstallDriverEx Function.\r\nFor information about the keyword-value pairs syntax passed to INSTALLDRIVER, see Driver\r\nSpecification Subkeys.\r\nFor example:\r\nhttps://docs.microsoft.com/en-us/sql/odbc/odbcconf-exe?view=sql-server-2017\r\nPage 2 of 4\n\nAction Description\r\n/A {INSTALLDRIVER \"Your Driver | Driver=c:\\your.dll | Setup=c:\\your.dll | APILevel=2 |\r\nConnectFunctions=YYY | DriverODBCVer=03.50 | FileUsage=0 | SQLLevel=1\"}\r\nINSTALLTRANSLATOR\r\ntranslator\r\nconfiguration**driver\r\npath\r\nAdds information about a translator to the\r\nHKEY_LOCAL_MACHINE\\SOFTWARE\\ODBC\\ODBCINST.INI\\ODBC Translators\r\nregistry key.\r\nEquivalent to SQLInstallTranslatorEx Function.\r\nFor information about the keyword-value pairs syntax passed to INSTALLDRIVER, see\r\nTranslator Specification Subkeys.\r\nFor example:\r\n/A {INSTALLTRANSLATOR \"My Translator | Translator=c:\\my.dll | Setup=c:\\my.dll\"}\r\nREGSVR dll\r\nRegisters a DLL.\r\nEquivalent to regsvr32.exe.\r\nFor example:\r\n/A {REGSVR c:\\my.dll}\r\nSETFILEDSNDIR\r\nWhen HKEY_LOCAL_MACHINE\\SOFTWARE\\ODBC\\ODBC.INI\\ODBC File\r\nDSN\\DefaultDSNDir does not exist, the SETFILEDSNDIR action will create it and assign it the\r\nvalue at\r\nHKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\CommonFilesDir,\r\nappended with \\ODBC\\Data Sources.\r\nThe value at HKEY_LOCAL_MACHINE\\SOFTWARE\\ODBC\\ODBC.INI\\ODBC File\r\nDSN\\DefaultDSNDir specifies the default location used by the ODBC Data Source Administrator\r\nwhen creating a file-based data source.\r\nFor example:\r\n/A {SETFILEDSNDIR}\r\nSee Also\r\nMicrosoft Open Database Connectivity (ODBC)\r\nAdditional resources\r\nTraining\r\nEvents\r\nhttps://docs.microsoft.com/en-us/sql/odbc/odbcconf-exe?view=sql-server-2017\r\nPage 3 of 4\n\nLast updated on 06/25/2024\r\nSource: https://docs.microsoft.com/en-us/sql/odbc/odbcconf-exe?view=sql-server-2017\r\nhttps://docs.microsoft.com/en-us/sql/odbc/odbcconf-exe?view=sql-server-2017\r\nPage 4 of 4",
	"extraction_quality": 1,
	"language": "EN",
	"sources": [
		"MITRE"
	],
	"origins": [
		"web"
	],
	"references": [
		"https://docs.microsoft.com/en-us/sql/odbc/odbcconf-exe?view=sql-server-2017"
	],
	"report_names": [
		"odbcconf-exe?view=sql-server-2017"
	],
	"threat_actors": [],
	"ts_created_at": 1775434112,
	"ts_updated_at": 1775826708,
	"ts_creation_date": 0,
	"ts_modification_date": 0,
	"files": {
		"pdf": "https://archive.orkl.eu/c062c6cc73126c69298ccdf693048966a6647079.pdf",
		"text": "https://archive.orkl.eu/c062c6cc73126c69298ccdf693048966a6647079.txt",
		"img": "https://archive.orkl.eu/c062c6cc73126c69298ccdf693048966a6647079.jpg"
	}
}