WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Use Group Policy to set ODBC

 
   Home -> Windows Other -> Group Policy RSS
Next:  Group Policy: Want to secure your windows?  
Author Message
reply5

External


Since: Dec 21, 2004
Posts: 18



(Msg. 1) Posted: Wed Apr 23, 2008 1:48 pm
Post subject: Use Group Policy to set ODBC Add to elertz
Archived from groups: microsoft>public>win2000>group_policy (more info?)

Hello all,

We are running a single 2000 domain and currently manually set a db
connection on each client so they can open a connection to SQL 2005.

Is there any way to automate the ODBC connection setup using group policy?

Thanks, Simon
Back to top
Login to vote
user5758

External


Since: Jan 30, 2005
Posts: 321



(Msg. 2) Posted: Thu Apr 24, 2008 4:28 pm
Post subject: Re: Use Group Policy to set ODBC Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi,

Simon schrieb:
> We are running a single 2000 domain and currently manually set a db
> connection on each client so they can open a connection to SQL 2005.
> Is there any way to automate the ODBC connection setup using group policy?

At least one Vista Client, RSAT + GPMC and the new 943729 CSE to
handle it in "native GPO" or you can apply it with a custom ADM Template.

Both solution can not provide SQL Authentication, because the SQL driver
restricts the use of passwords by scripts.

ADM could look like this: Cahnge NameofServer + NameofDatabase
Sample of an SQL Database ODBC Connection
--------------------------------
CLASS MACHINE

CATEGORY "ODBC"

POLICY "ODBC Database"
KEYNAME "SOFTWARE\ODBC\ODBC.INI\NameofDatabase"
PART "Driver:" EDITTEXT
DEFAULT "C:\WINDOWS\System32\SQLSRV32.dll"
VALUENAME Driver
END PART
PART "Server:" EDITTEXT
DEFAULT "NameofServer"
VALUENAME Server
END PART
PART "Database:" EDITTEXT
DEFAULT "NameofDatabase"
VALUENAME Database
END PART
PART "LastUser:" EDITTEXT
DEFAULT "%username%"
VALUENAME LastUser
EXPANDABLETEXT
END PART
PART "Trusted_Connection:" EDITTEXT
DEFAULT "yes"
VALUENAME Trusted_Connection
END PART
END POLICY
END POLICY

POLICY "Data Source Typ of NameofDatabase"
KEYNAME "SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources"
PART "Databasetyp NameofDatabase:" EDITTEXT
DEFAULT "SQL Server"
VALUENAME NameofDatabase
END PART
END POLICY

END CATEGORY

--------------------------------

Mark
--
Mark Heitbrink - MVP Windows Server - Group Policy

Homepage: www.gruppenrichtlinien.de - deutsch
Blog: gpupdate.spaces.live.com - english
Back to top
Login to vote
Richard Weaver

External


Since: Jun 11, 2008
Posts: 1



(Msg. 3) Posted: Wed Jun 11, 2008 11:23 pm
Post subject: Reply Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I have a problem which is like this. I am trying to create a .adm file from an ODBC connector registry file. The .reg file looks like this:



[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ISTraka]
"Driver"="C:\\WINDOWS\\system32\\SQLSRV32.dll"
"Server"="SQL"
"Database"="IStraka"
"LastUser"="manager"
"Trusted_Connection"="Yes"

When i use a progarm to convert it the results are:

CLASS MACHINE

CATEGORY "SOFTWARE\ODBC\ODBC.INI\ISTraka"
KEYNAME "SOFTWARE\ODBC\ODBC.INI\ISTraka"

POLICY "Driver"
PART "Driver"
EDITTEXT
DEFAULT "C:\WINDOWS\system32\SQLSRV32.dll"
VALUENAME "Driver"
END PART
END POLICY

POLICY "Server"
PART "Server"
EDITTEXT
DEFAULT "SQL"
VALUENAME "Server"
END PART
END POLICY

POLICY "Database"
PART "Database"
EDITTEXT
DEFAULT "IStraka"
VALUENAME "Database"
END PART
END POLICY

POLICY "LastUser"
PART "LastUser"
EDITTEXT
DEFAULT "manager"
VALUENAME "LastUser"
END PART
END POLICY

POLICY "Trusted_Connection"
PART "Trusted_Connection"
EDITTEXT
DEFAULT "Yes"
VALUENAME "Trusted_Connection"
END PART
END POLICY

END CATEGORY

Is this converting correct or is the program wrong?
Back to top
Login to vote
Neato

External


Since: Jun 11, 2008
Posts: 2



(Msg. 4) Posted: Wed Jun 11, 2008 11:23 pm
Post subject: Reply Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I have a problem which is like this. I am trying to create a .adm file from an ODBC connector registry file. The .reg file looks like this:



[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ISTraka]
"Driver"="C:\\WINDOWS\\system32\\SQLSRV32.dll"
"Server"="SQL"
"Database"="IStraka"
"LastUser"="manager"
"Trusted_Connection"="Yes"

When i use a progarm to convert it the results are:

CLASS MACHINE

CATEGORY "SOFTWARE\ODBC\ODBC.INI\ISTraka"
KEYNAME "SOFTWARE\ODBC\ODBC.INI\ISTraka"

POLICY "Driver"
PART "Driver"
EDITTEXT
DEFAULT "C:\WINDOWS\system32\SQLSRV32.dll"
VALUENAME "Driver"
END PART
END POLICY

POLICY "Server"
PART "Server"
EDITTEXT
DEFAULT "SQL"
VALUENAME "Server"
END PART
END POLICY

POLICY "Database"
PART "Database"
EDITTEXT
DEFAULT "IStraka"
VALUENAME "Database"
END PART
END POLICY

POLICY "LastUser"
PART "LastUser"
EDITTEXT
DEFAULT "manager"
VALUENAME "LastUser"
END PART
END POLICY

POLICY "Trusted_Connection"
PART "Trusted_Connection"
EDITTEXT
DEFAULT "Yes"
VALUENAME "Trusted_Connection"
END PART
END POLICY

END CATEGORY

Is this converting correct or is the program wrong?
Back to top
Login to vote
Neato

External


Since: Jun 11, 2008
Posts: 2



(Msg. 5) Posted: Wed Jun 11, 2008 11:23 pm
Post subject: Reply Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I have a problem which is like this. I am trying to create a .adm file from an ODBC connector registry file. The .reg file looks like this:



[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ISTraka]
"Driver"="C:\\WINDOWS\\system32\\SQLSRV32.dll"
"Server"="SQL"
"Database"="IStraka"
"LastUser"="manager"
"Trusted_Connection"="Yes"

When i use a progarm to convert it the results are:

CLASS MACHINE

CATEGORY "SOFTWARE\ODBC\ODBC.INI\ISTraka"
KEYNAME "SOFTWARE\ODBC\ODBC.INI\ISTraka"

POLICY "Driver"
PART "Driver"
EDITTEXT
DEFAULT "C:\WINDOWS\system32\SQLSRV32.dll"
VALUENAME "Driver"
END PART
END POLICY

POLICY "Server"
PART "Server"
EDITTEXT
DEFAULT "SQL"
VALUENAME "Server"
END PART
END POLICY

POLICY "Database"
PART "Database"
EDITTEXT
DEFAULT "IStraka"
VALUENAME "Database"
END PART
END POLICY

POLICY "LastUser"
PART "LastUser"
EDITTEXT
DEFAULT "manager"
VALUENAME "LastUser"
END PART
END POLICY

POLICY "Trusted_Connection"
PART "Trusted_Connection"
EDITTEXT
DEFAULT "Yes"
VALUENAME "Trusted_Connection"
END PART
END POLICY

END CATEGORY

Is this converting correct or is the program wrong?
Back to top
Login to vote
Display posts from previous:   
       Home -> Windows Other -> Group Policy All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
  Windows Other
 Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET