All posts filed under: Deployment

Remote install of SharePoint 2010 prerequisites

I’ve published a free book on PowerShell 2.0 remoting. You can download it at: Did you ever try installing SharePoint 2010 prerequisites remotely? If so, you would know by now that it is not easy. Essentially because of the Windows update packages in the prerequisites. It is a known issue that Wusa.exe cannot be invoked in a remote session. If you try to install SharePoint 2010 prerequisites remotely — either using PowerShell remoting or WMI — it fails with an error code 5. We cannot really claim to have a fully unattended SharePoint deployment process until we have a solution to the prerequisite install process. So, with that background, I started working on the script for remotely installing SharePoint 2010 prerequisites. In today’s post, I will show you how to do that. To achieve this, I used a combination of PsExec.exe and PowerShell remoting. Here are the prerequisites for this script to work. PowerShell remoting must be enabled the remote system where you are deploying SharePoint prerequisites. On the remote system, CredSSP must be enabled …

Blocking SharePoint 2010 installs on unauthorized computers

SharePoint 2010 provides the ability to lock down, track, and even block random installations of Microsoft SharePoint Server 2010. The SharePoint 2010 setup wizard is designed to check for a registry key on the local system and block the install. If you want to block unauthorized SharePoint 2010 installs in your organization, you can setup the following registry key on all unauthorized computers. HKLM\Software\Policies\Microsoft\Shared Tools\Web Server Extensions\14.0\ SharePoint\DisableInstall (DWORD): 1  This will ensure that setup.exe is blocked on the computer. You can use domain group policy to add this registry setting to all computers. If you want to do this using PowerShell, you will require Group Policy PowerShell cmdlets. The following steps will show you how to do that. 

The above commands will first import the Group Policy cmdlets and then use Set-GPRegistryValue cmdlet to include the new registry setting. Since we changed the default domain policy iteself, it will now apply to all the systems in the domain. Once this setting is applied, if you try to run SharePoint 2010 setup.exe, you will see a message as shown here. Now, there …

Announcing SharePoint 2010 PowerShell scripts & utilities codeplex project

I created this project — SharePoint 2010 PowerShell scripts & utilities, on codeplex last week to start sharing all the miscellaneous scripts I have been using throughout my SharePoint 2010 learning cycle. Most of these scripts require quite a bit of rework as they were never meant for sharing with outside world :). I am in the process of doing that and I will post each of those scripts as different modules under different categories. To start with, I am releasing SharePoint install utilities today. This module has only two cmdlets, at present. I will add remaining as time permits. SharePoint 2010 install utilities – SPinstallUtils.psm1 There are a couple of good SharePoint 2010 install automation modules (AutoSPInstaller by @brianlala & SPModule by Zach @ microsoft) already. This module is nowhere close to what they did. But this is just based on the Keep It Simple Stupid (KISS) principle. I have been using this ever since the first beta was released. In this module, you can use the Get-SPPreRequisites to download SharePoint 2010 prerequisite files …

SharePoint 2010 (beta) standalone install on Windows 7

I am a bit late on writing about this but nevertheless, I think I have some useful information to share. I needed a demo system for my SharePoint 2010 talk at Bangalore IT Pro user group meet tomorrow. For this purpose, I started installing SharePoint 2010 on my Windows 7 laptop. I knew that there are a few issues with SharePoint 2010 standalone deployments on Windows 7. You can read about it here. Before you get started with the install, here is a quick note about using SharePoint 2010 on Windows 7 (as posted on MSDN) The development environment that you create by using these instructions will not support SharePoint farm installations, and you should not host active production sites with this configuration. These instructions will enable you to get started with an environment that is specifically suited to developing SharePoint custom solutions. Now to the real stuff There is a prerequisite installer included with SharePoint 2010. However, this won’t run on Windows 7. For installing SharePoint 2010, you need the following prerequisites. You can …

Unattended install of SharePoint 2010 prerequisites

Update: This post was written when SP2010 was in beta. Pls review the prerequisite installer unattend parameters with the RTM version. Update: I have also posted another article on installing prerequisites remotely, Do check that. http://139.59.40.198/blog/?p=1888 First, SharePoint 2010 beta is out there for general public. You can download your copy at http://sharepoint2010.microsoft.com/try-it/Pages/Trial.aspx You can find a complete list of software requirements to install SharePoint 2010 roles @ http://technet.microsoft.com/en-us/library/cc262485(office.14).aspx#section3 Here are the requirements for installing 2010 on a web-front end server in a server farm SharePoint 2010 prerequisite installer can download these from the Internet provided the system has a connection open to Internet. You can also download each of these components youself and install them manually. You can download them at http://technet.microsoft.com/en-us/library/cc262485(office.14).aspx#section4 That is a pretty big list..huh.! Now the issue is, I need to deploy SharePoint 2010 on multiple servers and virtual machines. Again, this on a repeated basis. I cannot sit at each server and install all of these bits manually. Also, none of these physical servers or virtual machines will have access …