.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

Cannot install Sharepoint 2010 from powershell

Posted By:      Posted Date: September 03, 2010    Points: 0   Category :SharePoint
I have been given the task of installing Sharepoint 2010 onto a Windows Server 2008 fresh OS. I am attempting to do this using Powershell as we will likely have to rebuild this machine later so i want the rebuild to be as quick as possible. I have setup the SPModules in powershell and add the path to to the PSModule variable. When i run the following command: PS C:\Windows\system32> Install-SharePoint -SetupExePath "location of software\setup.exe" -ConfigXML "location of software\Files\SetupFarm\config.xml" -PIDKey "my key" i get the error: Property 'Value' cannot be found on this object; make sure it exists and is settable. At D:\SPModule\spmodule.setup\Install-SharePoint.ps1:373 char:52 +             $CurrentConfigXml.Configuration.PIDKEY. <<<< Value = $PIDKey     + CategoryInfo          : InvalidOperation: (Value:String) [], ParentContainsErrorRecordException     + FullyQualifiedErrorId : PropertyNotFound even though the key is an argument. I then added the key to a copy of the config file and ran following: PS C:\Windows\system32> Install-SharePoint -SetupExePath "location of software\setup.exe" -ConfigXML "location of software\Files\SetupFarm\configpidkey.xml"

View Complete Post

More Related Resource Links

Video: SharePoint 2010 Integration with PowerShell

Learn about the new PowerShell integration in SharePoint 2010, which brings SharePoint administration in line with other server products such as Exchange. Understanding PowerShell is a must-have skill for SharePoint 2010 developers. (Length: 19:52)

PowerShell script to add/edit ContentEditor webpart on SharePoint 2010

Hi all, I'm new to PowerShell scripting with SharePoint. Following are the requirements that were given to me. Can any one direct me in the right direction interms of writing the script and how to save and execute the script? I am aware of Cmdlets. 1. Cycle through all sites in site collection 2. For each site, retrieve all document libraries 3. Look for specific CMV document library name (ie value communication, key business drivers, etc)          o add content editor web part if doesn't exist          o add/update appropriate description based on the document library name Thanks in advance...

Cannot install Sharepoint Server 2010 "A previous installation has been detected with a license type

I'm trying to upgrade to Team Foundation Server 2010 and Project Server 2010. After getting TFS 2010 and Project Server 2007 to work with WSS 3.0, I started upgrade to Project Server 2010 which requires update to Sharepoint Server 2010 Enterprise. I installed pre-requisites and run "stsadm -o preupgradecheck" which passed everything. When I tried to run the installation I get Setup Warning "A previous installation has been detected with a license type that does not match the install in progress". I thought that my trial licence for Project Server 2007 stopped this so I completely uninstalled WSS 3.0 and restarted the server but the installation still stops with Upgrade window. Any ideas? Regards    mjsk

Wanted to know if windows 7 pro is needed to install sharepoint 2010? or it is better to do vmware a

Wanted to know if windows 7 pro is needed to install sharepoint 2010? or it is better to do vmware and then do virtual sharepoint 2010 development environment?

SharePoint 2010 Cumulative Update - Install sequence - Foundation required or not?

For a SharePoint 2010 Server (not Foundation) environment, is it necessary to install the Foundation Cumulative Update as well as the Server Cumulative Update?  (In the same way that with 2007, you install the WSS update and then the MOSS update) The nearest I have found to an answer is here: http://technet.microsoft.com/en-gb/sharepoint/ff800847.aspx where it says 'We recommend that you always install SharePoint Foundation 2010 patches before installing SharePoint Server 2010 patches. This best practice ensures that you will always be successful when installing updates.'   In this regard, should 2010 Foundation be thought of as a pre-req, or underlying component, for 2010 Server?   The same question applies to the use of the Updates folder in the install media - for a Server install, should we be extracting both the Foundation and Server Cumulative Updates there, for a correct slipstreamed install?   Thanks.   Rob

Can you install SharePoint 2010 and User PerformancePoint in a single server enviroment?

Hi I Installed SharePoint 2010 in a single server farm and I configured a Performance Point service aplication. Whenever I run dashboard designer it seems to work but it eventually crashes. I don´t know if I have any configuration errors. I read this Run the Secure Store Service on a separate application server that is not used for any other service. Create the secure store database on a separate application server running SQL Server. Do not use the same SQL Server installation that contains content databases. Here http://technet.microsoft.com/en-us/library/ee806889.aspx I believe this service is necesary to run connect to data sources does this mean it all cannot be run in the same server.

SharePoint 2010 install issues with english 1033

Hi,Im running into searious issues installing the SP2010 foundation, error im getting is :Microsoft Sharepoint Foundation 2010 1033 Lang Pack cannot install one of its requierd products. Contact your technical support group.I ran out of ideas,The server is localized to EN-US, evreything is standard, running with Win2008 SP2 + SQL 2008, all the rest of the prerequierd setups passed sucesfullyPlease Advise!The log file writes the following: MSI(INFO): 'Property(S): LogonUser = spadmin' MSI(INFO): 'Property(S): UserSID = S-1-5-21-776561741-1085031214-1177238915-48444800' MSI(INFO): 'Property(S): UserLanguageID = 1033' MSI(INFO): 'Property(S): ComputerName = RVIL-MOSS2010' MSI(INFO): 'Property(S): SystemLanguageID = 1033' MSI(INFO): 'Property(S): ScreenX = 1024' MSI(INFO): 'Property(S): ScreenY = 768' MSI(INFO): 'Property(S): CaptionHeight = 19' MSI(INFO): 'Property(S): BorderTop = 1' MSI(INFO): 'Property(S): BorderSide = 1' MSI(INFO): 'Property(S): TextHeight = 16' MSI(INFO): 'Property(S): TextInternalLeading = 3' MSI(INFO): 'Property(S): ColorBits = 32' MSI(INFO): 'Property(S): TTCSupport = 1' MSI(INFO): 'Property(S): Time = 18:41:31' MSI(INFO): 'Property(S): Date = 11/17/2009' MSI(INFO): 'Property(S): MsiNetAssemblySupport = 2.0.50727.4016' MSI(INFO): 'Property(S): MsiWin32AssemblySupport = 6.0.6001.18000' MSI(INFO): 'Property(S): RedirectedD

HTTP 500 After Sharepoint 2010 Install on Win 2008 R2

Environment specifics: Windows 2008 R2 SQL 2008 (Version: 10.0.2746.0) No internet connection so I installed all the prerequisite software. I have two domain accounts: SPAdmin and SPFarm SPAdmin is what I use to install Sharepoint. SPFarm runs the app pool, timer service etc. Domain: Development domain. Scenario: After the SP Setup Wizard, Central admin is inaccessible and gives a HTTP 500 error. I checked the recommended permissions for both accounts and they both appear to be in the correct groups. The only way I can get it to work is to add the SPFarm account as a local admin. So it appears to be a permissions issue. But I can't figure out what the issue is or even where to start. Any advice would be greatly appreciated.

Silent Install SharePoint Designer 2010

How do you do a silent install of SharePoint Designer 2010? I tried using SharePointDesigner.exe /passive /norestart but it prompts to accept the license and to pick a full or custom install. I also tried extracting the package and running setup /admin but it fails also with an error that the components are missing to run /admin.

SharePoint 2010 new install falls over when using automatic password renewal.

Guys, I've installed SharePoint Server 2010 today, and it has fallen over heavily once this afternoon and I rebuilt the farm, it has now just happened again. I believe it is falling over when I set the managed credentials up to change the password automatically. To test this feature I scheduled the password change so it would happen in the next 15-30 mins to monitor the behavior. Initially I manually did a 'change password for this account now' with a randomly generated password that SP generates. I did this for the Farm account, I then restarted the Timer Service (which obviously uses this account). The restart of the service was successful. I was then using the 'Manage Service Accounts' console to change ther service for the 'Windows Token Claims Service' to a least priv service account, I then did the same for some other services. I then got the following exception: SharePoint.Administration.SPWindowsServiceCredentialDeploymentJobDefinition... Unfortunately I don't have the entire exception as I no longer can access the farm, but it seemed to suggest there was already an object in the timer service named the same as the job I had potentially created in trying to change the credentials, and said to rename the object first?!?! Others have had a similar exception trying to change the profile import service credentials (I LEFT THIS SERVICE ALONE!!). I then restarted the

Purpose of initial "site" in SharePoint Server 2010 Express Install

I’m installing Search Server 2010 Express using “Farm” mode. After the SharePoint Configuration Wizard completes, and selecting  the SharePoint config wizard, one needs to create a website. What is that site intended for? Is it for the Search Center itself? (If so, then I better select the Enterprise – “Basic Search Center" template. If it is intended for a "normal" top level site, then I will create a new Search site in its own web app). TIA, Barkingdog  

failed to create configuration database on Sharepoint 2010 beta install under Windows 7

sharepoint configuration wizard at final step issued message as follows:

failed to create the configuration database.

an exception of type system.io.filenotfoundexception ws thrown.  additional exception informaion. could not load file or assemble 'microsoft.identity.model. version=,culture=neutral, publickeytoken=31bf3856ad364e35' or one of it's dependencies. the system cannot find the file specified.

the only option was to 'finish' the wizard and exit without a successful install.

can anyone help me with diagnosing this problem.

i am running windows 7 on a dell machine and installed all the software requirements for sharepoint install. with the exception of a hotfix for sql server which when i followed the lin appeared to be updated to a more recently posted hotfix.  i downloaded this and installed successfully.


Install Sharepoint 2010 Arabic Language Pack on windows 7 x64


Dear Team,

I have installed sharepoint server on windows 7 x64, and after that when i tried to install

arabic language on my enviroment i got the following message that means "language pack need to be installed on windows server 2008 service pack 2"

I don't know what i have to do now,  i need to install language pack but at the same time i don't want to install windows server 2008

So please advise


How can I install Features into the Sharepoint 2010 Server Standard after the install?


I have installed SharePoint Server 2010 Standard. We are testing the functionality of the new system and what it can do. I got an upgraded copy of the HelpDesk and Knowledge Base Templates (Part of the Fab 40) from http://techsolutions.net/Blog/tabid/65/EntryId/17/Fab-40-Templates-for-MOSS-2010.aspx. They seem to be good, but there is a feature that is in the Server that is not installed that I need to be able to get both of these working.

The feature is: Web Analytics Customize Reports functionality (Display Name: WACustomReports).

I need to be able to get this feature installed and activated so that I can use these 2 templates. Is there someone that can help me with this issue?

NOTE: I have tried to use the command line for SharePoint Power Shell. It is not working. The files that it is looking for are not on the HDD where they should be.

Install SharePoint 2010 in a farm environment


Recently for one of my project, I had a requirement to install SharePoint on a farm environment. I had a walkthrough with technet site and completed the installation. I thought share my scenario so that somebody with similar requirement may find this useful.

First of all, I had 2 servers for the implementation. So I have decided to dedicate one server for database and another for Sharepoint installation.

The server names are SP2010_DB (for database) and SPPortal (for sharepoint). Both are joined to the domain. For the sake of this article, I am mentioning the domain as SP2010FARM.

I have used the following user accounts for the installation.

User Account


Server roles required


-Sql Server service account

- domain user account

Can I install SQL 2008 on a server running SQL 2005 to install Sharepoint 2010 Enterprise (Productio



Sharepoint 2010 Upgrade Question - A customer is currently running sharepoint 2007 on a 64bit windows 2003 OS with SQL 2005 sp2, they are looking to install/upgrade to Sharepoint 2010 and want to use the current SQL server,for the upgrade a new SharePoint 2010 environment will be built and for a short while they will have two instances of SharePoint running SP2007 and SP2010. The plan is to then manually migrate the data from SP2007 to SP2010 (ENT), the web and application servers will be newly built. From research I think they have three options

1) Upgrade the current SQL 2005(SP2) instance to SQL 2008 R2 standard.

2) Install a new instance of SQL 2008 R2 on the same server and have both SQL 2005 & SQL 2008 running on the same server (Is this an option? Will sharepoint happily run from a SQL server running two SQL instances, do I have to be careful regarding the installation and configuration, could I break the existing sharepoint farm doing this?)

3) Upgrade the current SQL server to SP3 and install a new instance of SQL 2005 SP3 and install SharePoint 2010 Enterprise here, again I have all the questions from point 2 above.

We are thinking of trying option 1, then 2, then 3, and obviously only moving to the next option if we come across a show stopper. H

Why I can't install Project Server 2010 on my SharePoint 2010 Server?


I recently installed on my server SharePoint 2010, SQL Server 2008 is on another box and all seems to work fine, except that when I try to install Project Server 2010 it keeps telling me that I need ton install SP 2010.

I already checked that the required edition of SP is the Enterprise, as far as I remember that is the edition I activated because I used the Product Key for the  "SharePoint Server 2010 For Internet Sites Enterprise", but to double check this (and correct it if I am wrong I went to the 'Convert License Type' page and not only it does NOT show what my current license is (information is empty), but also the box to type a new Key is disabled, so I am not allowed to try to change the one used.

Can anybody tell me what is going wrong?

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend