Is there a way user can create/delete a ODBC connection on SQL server without logging into server (via RDP etc)?

Posted on 2012-08-22
Last Modified: 2012-09-07
Is there a way user can create/delete a ODBC connection on SQL server without logging into server (via RDP etc)?
Question by:farooqhussain
    1 Comment
    LVL 142

    Accepted Solution

    in order to acquire the needed permissions on the box to actually create the DSN entry, you need to log in against the computer, eventually with some third-party tools.
    as those DSN entries are either registry based (system dsn entries) or file based (we don't speak about the user entries, which are stored in the logged in user registry hive), both operations can be done remotely.

    registry entries are here:

    the folder where the file dsn entries are, is also given by a registry key:

    hope this helps

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

         When we have to pass multiple rows of data to SQL Server, the developers either have to send one row at a time or come up with other workarounds to meet requirements like using XML to pass data, which is complex and tedious to use. There is a …
    How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now