Posts tagged: Verify

You receive a “This installation package could not be opened” error message when you try to install a Windows Installer-based program in Windows Server 2003

Symptoms
When you try to install a Windows Installer-based program (.msi) on a Microsoft Windows Server 2003-based domain controller, you receive the following error message in a Windows Installer dialog box:

This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package.Additionally, if you turn on verbose logging for Windows Installer, an error message that is similar to the following may appear in the Windows Installer log file:

Verbose logging started: 26-10-2004 10:50:42
Build type: SHIP UNICODE 2.00.2600.1168
Calling process: C:\WINDOWS\system32\msiexec.exe ===
MSI (c) (0C:B4): Resetting cached policy values MSI (c) (0C:B4): Machine policy value ‘Debug’ is 0 MSI (c) (0C:B4): ******* RunEngine: *******
Product: \\ComputerName\sysvol\DomainName.com\msi\SMSClient\ProgramName.msi
******* Action: ******* CommandLine: ********** MSI (c) (0C:B4): Note: 1: 2203 2: \\ComputerName\sysvol\DomainName.com\msi\SMSClient\ProgramName.msi 3: -2147287035 MSI (c) (0C:B4): MainEngineThread is returning 1619
=== Verbose logging stopped: 26-10-2004 10:50:42 ===
On the network you see an access denied:
SMB: C lock & X, FID = 0x800d, Locks = 1 (0x7FFFFF92 for 0×00000001)
SMB: R lock & X – NT error, System, Error, Code = (34) STATUS_ACCESS_DENIED Note ProgramName.msi is the name of the Windows Installer program.
Resolution
This behavior occurs when you try to install a program, and the program’s installation files are located in the Sysvol folder.
By default, the Net Logon service in Windows Server 2003 creates the Svsvol folder with the SHI1005_FLAGS_RESTRICT_EXCLUSIVE_OPENS attribute. Therefore, the Sysvol folder cannot be exclusively locked. This behavior prevents Active Directory directory service synchronization problems. We recommend that you do not use the Sysvol folder as an installation point for programs.

How to use Kerberos authentication in SQL Server

Symptoms
You can use Kerberos authentication with Microsoft SQL Server 2000. SQL Server 2000 supports this functionality as part of a typical Microsoft Windows 2000 or Microsoft Windows Server 2003 Active Directory domain installation. With Microsoft Windows 2000 Service Pack 3 (SP3) and Windows Server 2003, you can enable Kerberos authentication on server clusters.
For more information about this added functionality, click the following article number to view the article in the Microsoft Knowledge Base:
235529?(http://support.microsoft.com/kb/235529/) Kerberos support on Windows 2000-based server clusters
Note You can only use this functionality if you are running Windows 2000 SP3 or Windows Server 2003.
SQL Server 2000 failover clustering also uses this functionality. When the Network Name resource that SQL Server is dependent on is in a Windows 2000-based cluster, you can use Kerberos authentication on the resource after you upgrade the computer to Windows 2000 SP3 or to Windows Server 2003. To install SQL Server failover clustering, you must have Microsoft SQL Server 2000 Enterprise Edition or Developer Edition installed.
Note The concepts and discussions in this article that apply to SQL Server 2000 also apply to SQL Server 2005. For more information about this subject in SQL Server 2005, see the following topics in SQL Server 2005 Books Online:How to: Enable Kerberos Authentication Including SQL Server Virtual Servers on Server ClustersRegistration of Service Principal Name For more information about how to make sure that you are using Kerberos authenticationin SQL Server 2005, click the following article number to view the article in the Microsoft Knowledge Base:
909801?(http://support.microsoft.com/kb/909801/) How to make sure that you are using Kerberos authentication when you create a remote connection to an instance of SQL Server 2005
Resolution
SQL Server can use Kerberos authentication for server clusters. You can use Kerberos authentication with stand-alone computers that are running SQL Server, or with instances of SQL Server that are running on a virtual server.
Connect to a server that is running Microsoft Internet Information Services and make a Kerberos connection to SQL Server 2000 This section describes how to connect to a server that is running Microsoft Internet Information Services (IIS) to make a Kerberos connection to a server that is running SQL Server.
Note Before you perform the setup procedure, download the Kerbtray and the SetSPN utilities.
To download the Kerbtray utility, visit the following Microsoft Web site:
http://www.microsoft.com/downloads/details.aspx?FamilyID=4e3a58be-29f6-49f6-85be-e866af8e7a88&displaylang=en(http://www.microsoft.com/downloads/details.aspx?FamilyID=4e3a58be-29f6-49f6-85be-e866af8e7a88&displaylang=en) With Kerbtray.exe, you can easily verify or remove (or both) Kerberos tickets from any of the associated computers that are being used.
To download the SetSPN utility, visit the following Microsoft Web site:
http://www.microsoft.com/downloads/details.aspx?FamilyID=5fd831fd-ab77-46a3-9cfe-ff01d29e5c46&displaylang=en(http://www.microsoft.com/downloads/details.aspx?FamilyID=5fd831fd-ab77-46a3-9cfe-ff01d29e5c46&displaylang=en)
The following procedure provides an example of a setup sequence where you use Kerberos authentication through an IIS page to access a server that is running SQL Server.Step 1: Configure the domain controller On a domain controller, in Active Directory Users and Computers: Right-click the computer that you want to set up for delegation (IIS Services server), and then click to select Trust this computer for delegation. If the computer that is running SQL Server is what appears to be the last computer contacted but that computer has a linked server, it must also granted delegation permissions. If it is not the last computer in the chain, all the computers that are intermediaries must be trusted for delegation. Grant delegation permission to the SQL Server service account domain user account. You must have a domain user account for clustered SQL Server installations (this step is not required for computers that are running SQL Server that are using a local system account): In the Users folder, right-click the user account, and then click Properties.In the user account properties dialog box, click the Account tab.Under Account Options, click to select the Account is Trusted for Delegation check box. Make sure that the Account is sensitive and cannot be delegated check box is cleared for this account.
Note The ‘Account is trusted for delegation’ right is required for the SQL Server service account only when you are delegating credentials from the target SQL server to a remote SQL server such as in a double hop scenario like distributed queries (linked server queries) that use Windows authentication.Note These stepsapply only to Windows 2000 Server. If you are using Windows Server 2003, visit the following Microsoft Developer Network (MSDN) Web site:
http://technet2.microsoft.com/windowsserver/en/library/bef202b0-c8e9-4999-9af7-f56b991a4fd41033.mspx(http://technet2.microsoft.com/windowsserver/en/library/bef202b0-c8e9-4999-9af7-f56b991a4fd41033.mspx)Use the Kerbtray.exe utility to verify that Kerberos tickets were received from the domain controller and host: Right-click the Kerbtray icon in the notification area, and then click purge tickets. Wait for the green Kerbtray icon to change from green to yellow. As soon as this occurs, open a command prompt window and run this command:
net session * /d This will drop the existing sessions, and force a new session to be established and a Kerberos ticket received. Step 2: Configure the IIS services serverReplace the default Web site Wwwroot files with the sample .asp files. To create the sample .asp files, use the code that is provided in the “ASP test script for SQL Server data retrieval” section.Add the file to the Wwwroot folder. To do so, use the sample code in the “ASP Test Script for SQL Server Data Retrieval” section. Save the file as Default.asp.Re-configure the Web server to use Integrated Windows Authentication only: Right-click the default Web server, and then click the Security folder. In the Security folder, make the correct changes, and then click to clear anonymous access.From a command prompt, run this command:
cscript C:\Inetpub\Adminscripts\adsutil.vbs get w3svc/NTAuthenticationProviders If Negotiate is enabled, the following is returned:

NTAuthenticationProviders : (STRING) Negotiate,NTLMFor more information, click the following article number to view the article in the Microsoft Knowledge Base:
215383?(http://support.microsoft.com/kb/215383/) How to configure IIS to support both the Kerberos protocol and the NTLM protocol for network authenticationNotesYou must install Microsoft Data Access (MDAC) 2.6, or later, on the IIS Services server. To do so (and to make the tools available for testing), install the SQL Server 2000 client tools to the Web server. To install only MDAC 2.6, or later (without installing the client tools), visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/data/aa937730.aspx(http://msdn2.microsoft.com/en-us/data/aa937730.aspx)IIS is a common middle tier system. However, IIS is not the only middle tier system. If IIS is not the middle tier system in your environment, follow the appropriate steps for your middle tier system.Verify that the HKLM\SW\MS\MSSQLSERVER\Client\DSQUERY value is present in the registry. If the value is not displayed, add it as DSQUERY:Reg_SZ:DBNETLIB. Use the Kerbtray.exe utility to verify that Kerberos tickets were received from the domain controller and host: Right-click the Kerbtray icon in the notification area, and then click purge tickets.Wait for the green Kerbtray icon to change from green to yellow. As soon as this occurs, open a command prompt window and run this command:
net session * /d This will drop the existing sessions, and force a new session to be established and a Kerberos ticket received. Step 3: Configure the SQL Server service to create SPNs dynamicallyTo do this, you must grant the following access control settings for the SQL Server service account in the Active Directory directory service:Read servicePrincipalNameWrite servicePrincipalNameWarningsIf you use the Active Directory Service Interfaces (ADSI) Edit snap-in, the LDP utility, or the LDAP 3 clients and you incorrectly modify the attributes of Active Directory objects, serious problems occur. To resolve these problems, you may have to reinstall Microsoft Exchange 2000 Server or Microsoft Exchange Server 2003. In some cases, you may have to reinstall Microsoft Windows 2000 Server or Microsoft Windows Server 2003 and then reinstall Exchange 2000 Server or Exchange Server 2003. We cannot guarantee that these problems can be resolved. Modify these attributes at your own risk.You must be logged on as a domain administrator. Alternatively, you must ask your domain administrator to grant the appropriate permissions and the appropriate user rights to the SQL Server startup account.To configure the SQL Server serviceto create SPNs dynamically when the SQL Server service starts, follow these steps:Click Start, click Run, type Adsiedit.msc, and then click OK.
Note TheADSIEdit tool is included in the Windows Support Tools. To obtain the Windows Support Tools, visit the following Microsoft Web site:
http://www.microsoft.com/downloads/details.aspx?familyid=6EC50B78-8BE1-4E81-B3BE-4E7AC4F0912D&displaylang=en(http://www.microsoft.com/downloads/details.aspx?familyid=6EC50B78-8BE1-4E81-B3BE-4E7AC4F0912D&displaylang=en)In the ADSI Edit snap-in, expand Domain [DomainName], expand DC= RootDomainName, expand CN=Users, right-click CN= AccountName , and then click Properties.
NotesDomainName is a placeholder for the name of the domain.RootDomainName is a placeholder for the name of the root domain.AccountName is a placeholder for the account that you specify to start the SQL Server service.If you specify the Local System account to start the SQL Server service, AccountName is a placeholder for the account that you use to log on to Microsoft Windows.If you specify a domain user account to start the SQL Server service, AccountName is a placeholder for the domain user account.In the CN= AccountName Properties dialog box, click the Security tab.On the Security tab, click Advanced.In the Advanced Security Settings dialog box, make sure that SELF is listed under Permission entries.
If SELF is not listed, click Add, and then add SELF.Under Permission entries, click SELF, and then click Edit.In the Permission Entry dialog box, click the Properties tab.On the Properties tab, click This object only in the Apply onto list, and then click to select the check boxes for the following permissions under Permissions:Read servicePrincipalNameWrite servicePrincipalNameClick OK two times.
Note For help with this process, contact Active Directory product support, and mention this Microsoft Knowledge Base article.
Note To use the dsacls tool to determine if the self account hasthe Write ServicePrincipalName permission, use the dsacls command.The following is the syntax:

dsacls <distinguished_Name_of_service_account> If the self account has the Write ServicePrincipalName permission, you see the following output:

Allow NT Authority\SELF SPECIAL ACCESS for Validated Write to Service principal name
WRITE PROPERTYThe dsacls tool is part of the Support Tools.In the CN= AccountName Properties dialog box, click Attribute Editor.Under Attributes, click servicePrincipalName in the Attribute column, and then click Edit.In the Multi-valued String Editor dialog box, remove the service principle names (SPNs) for the instances of SQL Serverthat use this SQL Server service account.
WarningYou should only delete the SPNs for the instances of SQL Server that you are currently working on. The other instances of SQL Server that use this service account will be able to remove the SPNs that are related to these instances the next time that you start these instances.Exit the ADSI Edit snap-in.After you follow these steps, SPN issues are also eliminated if you change the TCP/IP port or the domain name for new installations of SQL Server 2005 or for existing instances of SQL Server 2005.Step 4: Configure the clientcomputersFor each client that will connect, verify that Microsoft Internet Explorer is configured to use Windows authentication: In Internet Explorer, on the Tools menu, click Internet Options. Click the Advanced tab.Under Security, click to select Enable Integrated Windows Authentication (requires restart), and then click OK.Step 5: Test the configuration For each computer that is involved: Log on to the computer, and then use Kerbtray.exe to verify that the computer can obtain a valid Kerberos ticket from the domain controller.Use Kerbtray.exe to remove all tickets on the computer.Create and connect to the Web page that returns the SQL Server data.
Note Replace SQLSERVERNAME with the name of the computer that is running SQL Server: If data is returned, this page displays the authentication type Negotiate, and the SQL Server data for the result of the sp_helpdb stored procedure that should return a list of the databases on the server that is being connecting to through the .ASP page. If you have auditing turned on in SQL Server, in the Application log you will see that the connection is “trusted”.
ASP test script for SQL Server data retrievalHere is an ASP test script for SQL Server data. If you use this code sample, make sure that you replace SQLSERVERNAME with the name of the computer that is running SQL Server.

<%@ Language=VBScript %><HTML><HEAD><META NAME=”GENERATOR” Content=”Microsoft Visual Studio 6.0″></HEAD><BODY><%=”‘auth_user’ is” & request.servervariables(“auth_user”)%><P><%=”‘auth_type’ is” & request.servervariables(“auth_type”)%><P>Connections string is <B>” Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=pubs;Data Source=SQLSERVERNAME </B><P><% set rs = Server.CreateObject(“ADODB.Recordset”) set cn = Server.CreateObject(“ADODB.Connection”) cn.Open “Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=pubs;Data Source=SQLSERVERNAME” rs.open “MASTER..sp_helpdb”,cn Response.Write cstr(rs.Fields.Count) +”<BR>” while not rs.EOF Response.Write cstr(rs(0))+”<BR>” rs.MoveNext wend rs.Close cn.Close set rs = nothing ‘ Frees memory reserved by the recordset. set cn = nothing ‘ Frees memory reserved by the connection.%></BODY></HTML>
How to gather a list of Active Directory server principle name information To gather a list of Active Directory server principal name (SPN) information, type the following command on one of your domain controllers, where betaland is the NetBIOS domain name and NewoutputUsers.txt is the name of the output file that you will use to port the results. If you do not use a full path, the file is placed in the current folder where you run the command line. This sample command queries the whole domain:
ldifde -d “CN=Users,DC=betaland” -l servicePrincipalName -F NewoutputUsers.txt This syntax creates a file named NewoutputUsers.txt that contains information that is similar to the output in the “Domain level output of NewouputUsers.txt” section in this article.
This output may be overwhelming when you gather it for a whole domain. Therefore, to limit the gathered information to a specific user name, use the following syntax, where User Name is the user name and betaland is the domain that you are querying:
ldifde -d “CN=User Name,DC=betaland” -l servicePrincipalName -F NewoutputUsers.txt Gathering the information for a specific user greatly reduces the data that you must search through. If you gather the information for a whole domain, search for the specific user name of the server in question. In the output sample, you see: Entries for servers that no longer exist, but that were not completely removed from Active Directory.The user “User Name” has valid SPN information about ten different servers. Additionally, you can use the Active Directory Service Interfaces (ADSI) tool to correct Active Directory entries that are not valid.
Warning If you use the ADSI Edit snap-in, the LDP utility, or any other LDAP version 3 client, and you incorrectly modify the attributes of Active Directory objects, you can cause serious problems. These problems may require you to reinstall Microsoft Windows 2000 Server, Microsoft Windows Server 2003, Microsoft Exchange 2000 Server, Microsoft Exchange Server 2003, or both Windows and Exchange. Microsoft cannot guarantee that problems that occur if you incorrectly modify Active Directory object attributes can be solved. Modify these attributes at your own risk.
Domain level output of NewouputUsers.txt

dn: CN=User Name,CN=Users,DC=betaland changetype: add servicePrincipalName: MSSQLSvc/CLUSTERDEFAULT.betaland:1257 servicePrincipalName: MSSQLSvc/INST3.betaland:3616 servicePrincipalName: MSSQLSvc/INST2.betaland:3490 servicePrincipalName: MSSQLSvc/SQLMAN.betaland:1433 servicePrincipalName: MSSQLSvc/VSS1.betaland:1433 servicePrincipalName: MSSQLSvc/INST1.betaland:2536 servicePrincipalName: MSSQLSvc/INST4.betaland:3967 servicePrincipalName: MSSQLSvc/SQLVIRTUAL1.betaland:1434 servicePrincipalName: MSSQLSvc/SQLVIRTUAL.betaland:1433 servicePrincipalName: MSSQLSvc/SQLBUSTER.betaland:1315

Anyone Know Person Finder By Reverse Look Up

Are you seeing an obscure number on your caller ID or home phone? Did the bimonthly phone bill come in and there are calls established to a figure that is unknown? Researching can provide you with results to these kind of calls into question – and more – with a Reverse Phone Lookup.

VISIT HERE to find out the real owner of That Number
So why should we try to do this? A reverse phone lookup you can add, it's a phone, whether landline or mobile phone, and then data on each phone, whose number it is. Data as the individual? S name and location will be delivered to you immediately. If you wish additional quality data such as credit history, property records on this person, you can get it on this website. Now that you realize what this kind of reverse lookup row, that you may be interesting to know if they are as useful as they look. In a word, yes.
Why do people search for target reverse look it up? Check Who is annoying every time you go to bed. From the study of a phone bill, keep an unwanted caller's eyes, or verify the address, phone detective reverse to find everything you need, fast, good!
1. , Knowing who is calling your home phone, your phone or your child's? Tel.
2. Detection of repeated calls from anonymous numbers on your caller ID.
3. Learn about joke callers.
4. Verify the name of the person and the job.
Name and address of the phone detective, reverse search to provide a number of behind the bizarre. The Phone Detective, we have the capacity to supply the contact information you need to exercise, beyond the yellow pages have access to classified records of the country for this reason. If so, can I? T get it to our database once we? Step forward and seek additional hours not addable in the No. 1 North Run is a delicate transfer of reverse phone search results.