SQL Silent Install

by jyedid 18. January 2012 20:10

Working at Enhansoft, I spin up a lot of VMs and install Configuration Manager 2007 and 2012. Since Configuration Manager requires SQL Server (we use 2008 and 2008 R2) we use the same setups time and again. Now this becomes tedious. Constantly going through the SQL setup to achieve the same end result. There has got to be an easier way to do this. And there was. SQL unattended silent install.

The following procedure is for SQL Server 2008 R2.

First step is to go though one initial setup, choosing your required configuration. You will eventually come the end of the setup with the following line:

image

Do not complete the setup at this point. Take note of the the location of the configuration file location; go there and copy the the configuration file to a safe location (a shared network drive for example). If you had closed the SQL install before coping the configuration file, the configuration file will have been deleted.Once that is done, you can safely close the SQL Server install windows.

Once the configuration file is safe, it has to be edited. The following should be set:

QUIET set to True

SQLSYSADMINACCOUNTS set this for your required Admins (or leave it if you set in the the initial setup)

Add PID and set the license key (this might not be needed if you product came with one preloaded)

IACCEPTSQLSERVERLICENSETERMS set to True

ADDCURRENTUSERASSQLADMIN  - remove this entry, it applies only to SQL Server Express

UIMODE – remove this entry, does not work with quiet mode

INSTALLSHAREDDIR, INSTALLSHAREDWOWDIR, INSTANCEDIR – now when it comes to this 3 settings, they are up to your configuration, We install both Configuration Manager and SQL on D drives, not the default locations; which are normally the C drive.

The next step is to create a batch file to run the install. The following is what I have in mine, although a bit modified.

@echo off
echo Installing SQL Server 2008 R2
e:\setup /ConfigurationFile=\\Sharename\username\ConfigurationFile.ini

Note that I am using SQL Server  2008 R2 ISO and have inserted it into a VM, the batch file and configuration file are stored on a share.

Tags:

Announcement | ConfigMgr | SCCM | System Center Configuration Manager

Dealing with SSRS report errors

by jyedid 7. December 2011 19:40

When dealing with SSRS reports, occasionally you may get an error such as the one below:

No matter what you do you still get this message; even when you fix the report and know it works.

So what does this error message mean? How do you get to the root of the problem?

The starting point of the solution is found in the MS Knowledge Base article:

How to: Enable Remote Errors (Reporting Services Configuration)

http://technet.microsoft.com/en-ca/library/aa337165.aspx

By following the steps in this article, you will re-run the report and a new error message will be created; only this time the error message will be more specific as to what the actual problem is that is causing the report not to run. In some cases in might be simply a permissions issue.

Tags:

Announcement | SSRS | ConfigMgr | SCCM | System Center Configuration Manager

DevTeach – ITProTeach in Ottawa

by jyedid 28. November 2011 18:00

On November 3rd and 4th, I attended the first ever DevTeach conference in Ottawa. As a new addition they added ITProTeach to their list of sessions.

One of the sessions I attended was titled, ‘A deep dive in SCCM Data’ and was presented by none other than Enhansoft’s Chief Architect, Garth Jones. This session covered a lot of info in 90 minutes. I felt like it was directed for the most part at me. Okay, I’m being biased, but that’s only due to the fact that I work for Garth.

The session covered stuff from SQL statements to proper SSRS reports and what goes on behind the scenes of report writing and getting Configuration Manager into those reports. In case you missed it, here is a link to Garth’s PPT.

All in all, as always Garth is a very good presenter and really knows his stuff. In fact, Garth was voted Top Speaker at DevTeach. Not a surprise!

Now if only there was a course on SSRS report writing. Maybe next year….

Tags:

Announcement | ConfigMgr | SCCM | System Center Configuration Manager

Powered by BlogEngine.NET 1.6.0.0


Enhansoft is an information technology company specializing in Windows Management development, implementation and customization for:

  • System Center Configuration Manager v.Next
  • System Center Configuration Manager (ConfigMgr / SCCM)
  • System Management Server (SMS)
  • Virtual environments (Hyper-v / Virtual Server)

We focus on helping you manage your technology needs through our portfolio of world-class products and services.

Tag cloud