Solved

The difference between a System DSN and a User DSN in Windows 7

Posted on 2011-09-21
5
378 Views
Last Modified: 2012-06-27
While signed in to a Windows 7 Pro 64-bit machine as an Admin, we noticed that when building a System DSN (Administrative Tools > Data Sources), the creation and test would succeed and the user name would save, but the password would not.  As such, the DSN would never work properly.  Creating a User DSN however would store the password correctly.  This seems to be different than in both XP and Vista (or at least XP) and we wanted to know if anyone knew the reason why.  Thanks.
0
Comment
Question by:james_axton
  • 2
  • 2
5 Comments
 
LVL 50

Assisted Solution

by:jcimarron
jcimarron earned 40 total points
ID: 36581463
0
 
LVL 66

Expert Comment

by:johnb6767
ID: 36581602
I don't recall this working on XP even. If you want to store the Password, either use a File/User DSN. Is it not possible to use Trusted Authentication (using their current logon credentials)?

What type of DSN are you creating?
0
 

Author Comment

by:james_axton
ID: 36588488
jcimarron - thank you for the link.  We do understand the difference between the types but still found it strange that in Windows 7 we couldn't save a password and had to revert to a User DSN.  

johnb6767 - even though it disappears after the initial creation of the System DSN, yes - in XP it holds and passes the password to the SQL Server.  This work is at an office that's moving from XP machines to Windows 7 machines.  The XP machines have ubiquitous System DSNs that have been working for many years.  When we attempted to mimic those DSNs in Windows 7 (as System DSNs) we hit this problem.  The solution was to create User DSNs (as I said) but it made us wonder why things changed across the versions.  
   
0
 
LVL 66

Accepted Solution

by:
johnb6767 earned 85 total points
ID: 36590117
Ill have to play with that. I just dont rememebr that ever being avialable as an option in a SysDSN in XP. Course, most of my work with them is either using a SQL ID where it prompts, or Trusted Auth.....
0
 

Author Comment

by:james_axton
ID: 36590960
A prompt or TA would be a much better solution but we were trying to leave the existing infrastructure in place.  Long story.  
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Hi Friends, These registry tweaks will help you optimizing your Windows 7 system for any VDI. This will improve the machine performanance and can be used on normal systems also. These are few registry tweaks which will add value by enhancing the …
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

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

13 Experts available now in Live!

Get 1:1 Help Now