If you ever encounter multiple prompts from a SharePoint server when trying to open a site, go to this location HKLM:\System\CurrentControlSet\Control\Lsa And, check for a Dword named DisableLoopbackCheck, and that it is set to 1, not 0 … Read More
When running backup-spsite on a large site collection, say it’s greater than 20GB, you look at the backup directory and see that your bak is showing 0 in size after say 15-30 minutes, and your SQL server has 24 GB … Read More
It’s still too early to say for certain, what features will be deprecated and which features will be removed. When a feature is deprecated, it means that something has changed at Microsoft and they are no longer investing in that … Read More
The script below will clear the config cache on each server. It waits until all servers are ready and then it proceeds to start the services back up after you manually tell it that it is time to do so. … Read More
Here’s a quick and dirty way to find out the farm account
If that account looks something like this, you need to change it
stsadm.exe -o updatefarmcredentials -userlogin “Domain\svc_Account” -password “$*y7uxmM2AL4_*r7”
Make sure the account is not disabled or locked before you run … Read More
How to restore the SharePoint Web Services IIS Web Site if accidently deleted The above blog post explains that it is possible to, erroneously, remove the SharePoint Services website from the file system when there are extended zones in play … Read More
The best methods to remove a server from the farm are to either use the psconfig wizard or run Disconnect-SPconfigurationDatabase If that has not happened and someone deleted the VM without first disconnecting the vm from the farm, please … Read More
If you ever have to migrate a search service application from one farm to the next. Do two things: Make sure that the farm’s use the correct SQL client Alias (cliconfg.exe) Run this powershell after you have migrated the … Read More
Another great tool From the creators of SPDocKit, comes one of the best SharePoint security management tools yet to hit the market, SysKit Security Manager for SharePoint. And, like all SysKit products, it works with all SharePoint versions! All of … Read More
If you liked SPDocKit, you will absolutely love SysKit Insights! From the creators of SPDocKit, comes one of the best SharePoint monitoring tools yet to hit the market, SysKit Insights. The name of the product “Insights” is spot-on, accurate, as … Read More
When your site wont start or is not loading properly there may be modifications to the web.config that have caused this and you might need to determine how to remove them. You’ve already verified that the application pool identity password … Read More
After you finish running this script, you’ll need to create the work management service application, app management service application, subscriptions settings service application, and if you’re using powerpivot, then that would need to be configured too. There are other posts … Read More
When creating a farm using powershell, you need to create the managed accounts that your service applications will use. Here’s a script written by Stephen Swinney, Rackspace Senior SharePoint Engineer that does just that!
$Credentials = @()
#Create User Variables
$FarmUser = "Domain\SP_Farm"
$ServcAppUser = "Domain\SP_SA_AP"
$SiteAppUser = "Domain\SP_Site_AP"
$SearchSvcUser = "Domain\SP_SearchSvc"
#Create Password Variables
$FarmPass = ConvertTo-SecureString -String "$*t6uxNM3AL4_*R4" -AsPlainText -Force
$ServcAppPass = ConvertTo-SecureString -String "Htfa3S9^wZ6?CgmX" -AsPlainText -Force
$SiteAppPass = ConvertTo-SecureString -String "Rt)4(97#kDum" -AsPlainText -Force
$SearchSvcPass = ConvertTo-SecureString -String "2t+Z(tm2)NU6" -AsPlainText -Force
#Create object & add to array
$Credentials += New-Object -TypeName "System.Management.Automation.PSCredential" -ArgumentList $FarmUser, $FarmPass
$Credentials += New-Object -TypeName "System.Management.Automation.PSCredential" -ArgumentList $ServcAppUser, $ServcAppPass
$Credentials += New-Object -TypeName "System.Management.Automation.PSCredential" -ArgumentList $SiteAppUser, $SiteAppPass
$Credentials += New-Object -TypeName "System.Management.Automation.PSCredential" -ArgumentList $SearchSvcUser, $SearchSvcPass
#Loop through array and create managed accounts
foreach ($Credential in $Credentials)
Write-Host "Creating new managed account:" $Credential.UserName -foregroundcolor cyan
New-SPManagedAccount -Credential $Credential
Write-Host "All Managed Accounts Created" -foregroundcolor cyan
Note: you could also … Read More
Let’s say you have this ginormous farm with hundreds of databases and you want to update the farm to a new CU. First thing you can do is get a list of your content databases using this powershell
Get-SPContentDatabase | ft DisplayName | out-file c:\PathToFile.txt
## You may also want to know the web application that they're attached
Get-SPContentDatabase | ft DisplayName, webApplication | out-file c:\PathToSomeOtherFile.txt
## This above powershell will give you the web application name, if you want the url run something like this
Get-SPWEbApplication | ft URL
This video builds the WFE Distributed Cache Minimum Role server using the AutoSPInstaller.
In this video we go over filling out the AutoSPInstaller, staging the bits on the SharePoint Application and Search Server, manually running the per-requisite installer, and finally creating the farm by running the AutoSPInstaller. The video is a little over … Read More
In this video I demonstrate getting the dev environment able to be opened using RDP connections. Like all my videos, I show some common issues encountered and how to overcome those issues.
In this video, I demonstrate creating a domain, creating SharePoint service accounts, and overcoming a couple of common issues with joining a server to the newly created domain. the environment is based in hyper-V; but, you could do it in … Read More
Introduction This introduction will cover a few of the key concepts we use throughout the book. For example, mapping drives, pinning items to your start menu, turning off the User account control prompts in the home lab (not in production), … Read More