Gustav Brock
Gustav at cactus.dk
Thu May 18 09:57:08 CDT 2006
Hi Jon INF files can be used for this: http://support.microsoft.com/?kbid=171424&sd=RMVP For Win9x but should work for WinNT as well. /gustav >>> Jon.Tydda at alcontrol.co.uk 18-05-2006 16:45 >>> Hi all I'm running a LIMS system here at work, which is a database that drives everything in the laboratory, and in the office afterwards. It schedules the work for the analysts, then passes the results upstairs where they're reported and invoiced by the admin staff. To connect the computers to the server, we use a DSN connection. I've recently discovered that I can use a System DSN to connect, so I only have to set it up once per pc, instead of once per user per pc, which will obviously save me hundreds of hours going around running a batch file every time we have a new starter. I'd therefore like to remove all the old user based DN connections, the only thing is that they're held in the current_user section of the registry, and to get to that, I'd have to get each user to log onto each pc, which would then make hundreds more hours work, which seems silly to me. So what I want to know is if it's possible to run a small batch file in people's login scripts that will remove the old registry entries... and if so, how I go about it. Any suggestions would be gratefully accepted. Jon