Toad® for SQL Server and Toad for DB2 4.6 Auditing Guide © 2010 Quest Software, Inc. ALL RIGHTS RESERVED. This guide contains proprietary information protected by copyright. The software described in this guide is furnished under a software license or nondisclosure agreement. This software may be used or copied only in accordance with the terms of the applicable agreement. No part of this guide may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording for any purpose other than the purchaser's personal use without the written permission of Quest Software, Inc. If you have any questions regarding your potential use of this material, please contact: Quest Software World Headquarters LEGAL Dept 5 Polaris Way Aliso Viejo, CA 92656 Web site: www.quest.com Email: legal@quest.com Phone: 949-754-8000 Disclaimer: The information in this document is provided in connection with Quest products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Quest products. EXCEPT AS SET FORTH IN QUEST'S TERMS AND CONDITIONS AS SPECIFIED IN THE LICENSE AGREEMENT FOR THIS PRODUCT, QUEST ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL QUEST BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF QUEST HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Quest makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Quest does not make any commitment to update the information contained in this document. Trademarks Quest, Quest Software, the Quest Software logo, Benchmark Factory, LiteSpeed, Spotlight, SQL LiteSpeed, SQLab, Stat, Toad, T.O.A.D., Toad World, and vToad are trademarks and registered trademarks of Quest Software, Inc in the United States of America and other countries. Other trademarks and registered trademarks used in this guide are property of their respective owners Toad for SQL Server and Toad for DB2 Auditing Guide February 2010 Table of Contents Introduction............................................................................................................................................................... 4 Installation Options ................................................................................................................................................... 4 Toad Release History ............................................................................................................................................... 4 Toad File Signatures ................................................................................................................................................ 6 Toad License File Scan ............................................................................................................................................ 9 Toad Registry Scan .................................................................................................................................................. 9 Toad Uninstall Registry ...........................................................................................................................9 Toad Install Registry ..............................................................................................................................12 SMS Installation ..................................................................................................................................................... 15 Citrix Server ............................................................................................................................................................ 16 Toad Freeware Installation ..................................................................................................................................... 16 4 Toad for SQL Server and Toad for DB2 Auditing Guide Introduction This guide is designed to assist customers who are in the process of auditing their environments for Toad for SQL Server and Toad for DB2 installations. The guide provides the Toad release history and describes the various ways in which Toad can be installed at your site. Installation Options Toad can be installed under the following configurations: Toad Freeware installation (legacy and current) Standard local installation (Trial and Commercial editions) SMS installation (via silent installation options) Citrix installation (available since Toad for SQL Server 3.1 and Toad for DB2 3.0) Toad Release History Toad for SQL Server Product Name Version Release Date Toad for SQL Server 5.0 Jul 2010 4.6 Nov 2009 4.5 Jul 2009 4.1 Nov 2008 4.0 Aug 2008 3.2 Nov 2007 3.1 Aug 2007 3.0 Jun 2007 2.0.3 Oct 2006 2.0.2 Aug 2006 2.0.1 Jul 2006 Toad for SQL Server and Toad for DB2 Auditing Guide Product Name Version Release Date Toad for SQL Server 2.0 Jul 2006 1.0.3 Feb 2006 1.0.1 Dec 2005 1.0 Oct 2005 Product Name Version Release Date Toad for DB2 4.6 Feb 2010 4.5.2 Nov 2009 4.5.1 Sep 2009 4.5 Jul 2009 4.0.1 Nov 2008 4.0 Sep 2008 3.1 Feb 2008 3.0.1 Sep 2007 3.0 Jul 2007 2.5.1 Feb 2007 2.5 Dec 2006 2.0.1 Nov 2006 2.0 Sep 2006 1.0.3 Feb 2006 1.0.2 Jan 2006 1.0.1 Nov 2005 1.0 Oct 2005 Toad for DB2 5 6 Toad for SQL Server and Toad for DB2 Auditing Guide Toad File Signatures The Toad.exe file for each release version is the same size regardless of whether you are using the freeware, trial, or commercial edition. To determine the exact version number of your current Toad installation (if the installation is Toad for SQL Server 3.2 or later or Toad for DB2 3.1 or later), view the file properties for Toad.exe: Toad for SQL Server and Toad for DB2 Auditing Guide To determine the version number for a Toad for SQL Server installation earlier than 3.2, view the file properties for [install dir]\Plugins\SqlServer\ToadSqlServer.dll (where [install dir] is the directory in which you installed Toad): 7 8 Toad for SQL Server and Toad for DB2 Auditing Guide To determine the version number for a Toad for DB2 installation earlier than 3.1, view the file properties for [install dir]\Plugins\DB2\ToadDB2.dll (where [install dir] is the directory in which you installed Toad): Toad for SQL Server and Toad for DB2 Auditing Guide 9 Toad License File Scan For Toad for SQL Server version 4.1 and Toad for DB2 version 4.0.1 and earlier, the most accurate way to determine whether your current installation is a Trial or Commercial edition is to scan the license file to see whether the license key is a commercial or trial key. Starting with version 4.5, you can also determine the edition by looking up the registry value Edition. Refer to “Toad Registry Scan” section for more details. Toad’s license key is stored as clear text in the file license.key. You can examine this file to view your current license key and authorization string. If the second line of the file shows Trial Version, then your Toad copy is licensed as a Trial edition. The following is an example of a trial license key in the in the license.key file: E4B4DCSNJMMD08FGYGS584JYBXSDH6D8KR-123-45678-7B Trial Version For Toad version 4.5 and earlier, in standalone installations, license.key is stored in the same folder where Toad.exe is installed. In Citrix installations, the file is located in the User Settings folder on the Citrix server. For version 4.6 and later, the license.key file is stored in the All Users folder on XP (for example, C:\Documents and Settings\All Users\Application Data\Quest Software\Toad for SQL Server 4.6). On Vista, the license.key location is the ProgramData folder (for example, C:\ProgramData\Quest Software\ Toad for SQL Server 4.6). This location is used by Citrix installations as well. Toad Registry Scan Toad Uninstall Registry The following shows the Toad uninstall registry entry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersio n\Uninstall\[ProductCode] where \[ProductCode] is the appropriate value listed in one of the following sections. 10 Toad for SQL Server and Toad for DB2 Auditing Guide Toad for SQL Server Commercial: 1.0 2.0 3.0 3.1 3.2 4.0 4.1 4.5 4.6 5.0 {EEC2F0E9-DB33-44FF-9823-25959A75FF5B} {17653237-4F56-475A-A8F3-0ECA3279A53F} {DAFFC404-1585-44A1-A200-84315D9CD1CE} {46FA3F7A-6FF2-4B43-A3DC-25D11BD521BC} {581FD160-DFA5-4AC9-A2E5-6408A427E653} {D1A14C20-1D7A-432E-A148-26D8F6AF535A} {01829B32-7868-4606-8BCC-BD39173473F8} {21F7B293-6074-455F-974A-A431A80D8962} {F7A87702-62BD-4847-AD87-3C3AA7F8297C} {2FA0327E-FBFC-4AEE-AAE2-A7C0B632B2A3} Freeware: 1.0 2.0 3.0 3.1 3.2 4.0 4.1 4.5 4.6 5.0 {E760C698-712F-41AF-B33B-3687C8328514} {F5EF25D8-8D4B-40C6-BFD3-A149BBC76CE1} {2B265A23-9059-4A00-BDF6-0E05C73A61A1} {94AA4D86-BAB0-4902-8612-FAE016A7F5FF} {D946E103-B82C-43C5-B131-0427FD2D5BAD} {5C12D6ED-ECEA-4EFE-A960-6243BD42AEF7} {2703A11A-4E84-4666-8934-AB6C9FF3397D} {8B8B4E66-E66D-48DD-88D3-DF41B87A6062} {572BDC42-E46E-455B-BFAD-86FDBB3771A1} {D8F5A89E-2848-4122-8A8A-F745FF9766B4} Trial: 1.0 2.0 3.0 3.1 3.2 4.0 4.1 4.5 4.6 5.0 {55F7872D-9CFD-4D36-A287-3CE5237EBC9B} {7C16057F-5BFF-46D1-B511-8F859C95704F} {23305F1E-19C3-482F-8C50-4C2C4827C26E} {583A7278-0662-4635-8F33-F3463F752C42} {2FBF492C-8F17-42EC-83E8-5CD28AC65D00} {6E745AE7-188E-4B83-A1A9-776CBEB0FEBC} {5C01F86B-B888-4ABE-96AF-E35BF6564A19} {B2F4391B-A04B-400E-B189-B45F1DB55413} {A0AE8AC7-6130-45A3-BA41-B9F82C09FBA3} {202E6CEF-316E-4AB8-A753-E7A15E803AE8} Toad for SQL Server and Toad for DB2 Auditing Guide Toad for DB2 Commercial: 1.0 2.0 2.5 3.0 3.1 4.0 4.5 4.6 {5D590974-91EC-4A5A-8094-6F8799AF01D4} {FF844FB2-02EC-4890-8531-9DAC1EA5D421} {C536C6EB-1AF7-4436-8DF4-0E519EB26F8B} {031F7C23-1B72-4DB8-BF43-0BF476079111} {DA058E1E-0AFD-4772-A7EC-1546CC2C5B43} {E1AD60BB-A3B2-4E9C-88BB-F6C5E770817E} {43C6B5FE-E23F-4AF0-9FEF-9518DDD808EF} {A08FF5DD-7EA6-4016-8484-0007972038B0} Freeware: 1.0 2.0 2.5 3.0 3.1 4.0 4.5 4.6 {CE668198-B8E7-4C76-9DD5-5D22F29906E7} {2D3AAA26-40D3-4F12-A8BC-6699097140D5} {042FFC5B-BFB0-45B6-B918-4FB9C75E5537} {B86F246E-9D78-4948-B18D-86A546F4F358} {7B563540-F863-4BF4-82D3-A1995FB83352} {3C06750E-F353-4F2A-9E62-B5EEE3F75D00} {7235FAA6-943A-487C-9379-FF0FC048CC89} {4B6BA164-65A6-4C16-984F-022D3B03F1BA} Trial: 1.0 2.0 2.5 3.0 3.1 4.0 4.5 4.6 {6F9B93CB-5C9B-4533-8D9E-ABFE4E9B2AAA} {D3CF234F-D5D2-4DC2-AFC9-A6615248B82E} {BEC82B00-8F5B-443C-9DBE-3DCE44E49B64} {6B8851C6-0497-40C2-92AC-F9010E89D592} {F00371E5-5934-4EE6-A02A-14B408EE2EC1} {F89574CB-9F55-45B5-AD80-777D686F7A12} {4A59E320-3001-4DAB-B472-9C313D4CAFE8} {82177208-26F8-429F-ADDF-DE297485910D} 11 12 Toad for SQL Server and Toad for DB2 Auditing Guide Toad Install Registry Toad creates the following registry keys during installation: HKEY_LOCAL_MACHINE Software Quest Software Toad for [Platform Name] [Edition Name] INSTALLDIR = [Install path] [Version] INSTALLDIR = [Install path] [Version] INSTALLDIR = [Install path] [Version] INSTALLDIR = [Install path] ... HKEY_CURRENT_USER Software Quest Software Toad for [Platform Name] [Edition Name] INSTALLDIR = [Install path] [Version] INSTALLDIR = [Install path] [Version] INSTALLDIR = [Install path] [Version] INSTALLDIR = [Install path] ... The INSTALLDIR value for the Toad for [Platform Name] [Edition Name] node contains the installation path of the latest installed Toad. For example, the following shows registry information after several versions of Toad for SQL Server were installed: Toad for SQL Server and Toad for DB2 Auditing Guide 13 The registry entry for a Toad for DB2 2.0 or later installation includes the additional value, DB2COPY, used by the DB2 9 client. This value has the format TOAD[Edition][Version], as shown in the following examples: Freeware 2.0 Trial 2.5 Commercial 3.0 TOADF20 TOADE25 TOADC30 The following is the registry key format that includes DB2COPY: HKEY_LOCAL_MACHINE Software Quest Software Toad for [Platform Name] [Edition Name] INSTALLDIR = [Install path] [Version] INSTALLDIR = [Install path] DB2COPY = TOAD[Edition][Version] [Version] INSTALLDIR = [Install path] DB2COPY = TOAD[Edition][Version] [Version] INSTALLDIR = [Install path] DB2COPY = TOAD[Edition][Version] The following snap shot shows a sample registry key for Toad for DB2: 14 Toad for SQL Server and Toad for DB2 Auditing Guide For Toad for SQL Server and Toad for DB2 4.5 and later, the HKEY_CURRENT_USER node can include the following additional registry values: Edition—Contains the product edition information. The original value is Quest Software Toad for [Platform Name] [Edition Name] [Version]. If you enter the license key for a commercial edition later, the value is updated according to the licensed options in your key (for example, Toad for SQL Server Professional or Toad for DB2 LUW DBA). Add-Ons (optional)—Contains add-on component information (for example, SQL Analysis or Log Reader). Licensed By (optional)—Contains the key origin. For example, Toad for DB2 accepts Quest Central for DB2 keys. If you provide a Quest Central for DB2 key to license Toad, this value shows Quest Central for DB2. HKEY_CURRENT_USER Software Quest Software Toad for [Platform Name] [Edition Name] INSTALLDIR = [Install path] [Version] Add-Ons = [Licensed add-on options] INSTALLDIR = [Install path] Edition = [Licensed Options] Licensed By=[Other product name] [Version] Add-Ons = [Licensed add-on options] INSTALLDIR = [Install path] Edition = [Licensed Options] Licensed By = [Other product name] [Version] Add-Ons = [Licensed add-on options] INSTALLDIR = [Install path] Edition = [Licensed Options] Licensed By = [Other product name] Toad for SQL Server and Toad for DB2 Auditing Guide 15 The following shows sample registry information for a Toad for DB2 4.6 installation that uses a Quest Central for DB2 license key and that includes the key for the SQL Analysis add-on. Note: If you install Toad on a 64-bit machine, the registry entry for HKEY_LOCAL_MACHINE is under HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Quest Software. However, the registry entry for HKEY_ CURRENT_USER is the same as HKEY_ CURRENT_USER \SOFTWARE\Wow6432Node\Quest Software. SMS Installation Toad supports silent installation via a command line option, allowing Toad to be pushed out from an SMS server to client machines. This type of installation can also push out the license key and customized settings at the same time to the clients. For more information, see the “Install Toad Silently” section in the Installation Guide for your Toad product. 16 Toad for SQL Server and Toad for DB2 Auditing Guide Citrix Server A Citrix installation involves a single installation of Toad on the server. No folders or registry keys are created on the client machine. The only way to determine which users have run Toad is to open the User Settings folder on the server to see who has a Toad folder created. If an administrator enters the license key after installation, only one key exists in the installation directory. Otherwise, every user needs to enter a key, which is then stored in their User Settings folder. Toad Freeware Installation Toad Freeware 1.0 expires every 90 days. Note: Toad for DB2 version 1.0.3.837 expires January 1, 2020. All Toad Freeware versions 2.x to 3.0 expire in one year. Toad for SQL Server Freeware 4.0 or later and Toad for DB2 Freeware 3.1 or later never expire.