The server farm account should not be used for other services.

If you get the following error when you select the Monitoring > Review Problems and Solutions…

Error1a

Dig a little deeper and you’ll get this…

Error1b

To fix this you’ll probably want to jump to Central Admin and change the user account associated with the “Distributed Cache” service but if you do, you’ll find that it can’t be accomplished.

What you need to do is make the change with Powershell…

Just edit the following line of code to match your domain and user account and run.

$accnt = Get-SPManagedAccount -Identity DOMAIN\SERVICE_ACCT

It will take several minutes to complete so be patient.

Posted in Xaml | Comments Off on The server farm account should not be used for other services.

Install SharePoint 2013 w/SP-1 on Sever 2012 R2

Here is a quick 2 step process. First you need to get the required roles and features installed and properly configured. This simple PowerShell script does the job very nicely. Download the code and edit the drive location before you launch it in PowerShell. REBOOT THE SERVER

Download PowerShell Code

Next you need to install the prerequisite files. This is easy and fool proof when you use the following PowerShell code. Download the code and make sure your server has access to your SharePoint 2013 media. We assume that you’ve already downloaded the prerequisite files and copied them to the Prerequisitefiles folder. If not, read this… Download SP 2013 Prerequisite Files.

Before you run the PowerShell code, be sure to edit the code to include the correct path to your SP media.

Download PowerShell Code

After the script runs, you will need to reboot the server. When you login, the prerequisite installer will automatically finish some last minute configurations. Now you are ready to install SharePoint.

Posted in PowerShell, SharePoint | Comments Off on Install SharePoint 2013 w/SP-1 on Sever 2012 R2

Download SharePoint 2013 Prerequisite Files

Installing SharePoint 2013 with no internet access is a challenge. You’ll first need to download the “Prerequisite” files below…

Windows Identity Extensions: http://download.microsoft.com/download/0/1/D/01D06854-CA0C-46F1-ADBA-EBF86010DCC6/r2/MicrosoftIdentityExtensions-64.msi

SQL Server 2008 R2 SP1 Native Client: http://download.microsoft.com/download/9/1/3/9138773A-505D-43E2-AC08-9A77E1E0490B/1033/x64/sqlncli.msi

Microsoft Information Protection and Control Client (MSIPC): http://download.microsoft.com/download/9/1/D/91DA8796-BE1D-46AF-8489-663AB7811517/setup_msipc_x64.msi

Microsoft WCF Data Services 5.0: http://download.microsoft.com/download/8/F/9/8F93DBBD-896B-4760-AC81-646F61363A6D/WcfDataServices.exe

Microsoft WCF Data Services 5.6 (rename this download to WcfDataServices56.exe): http://download.microsoft.com/download/1/C/A/1CAA41C7-88B9-42D6-9E11-3C655656DAB1/WcfDataServices.exe

Windows Identity Foundation (KB974405): http://download.microsoft.com/download/D/7/2/D72FD747-69B6-40B7-875B-C2B40A6B2BDD/Windows6.1-KB974405-x64.msu

Microsoft Sync Framework Runtime v1.0 SP1 (x64): http://download.microsoft.com/download/E/0/0/E0060D8F-2354-4871-9596-DC78538799CC/Synchronization.msi

Windows Server AppFabric: http://download.microsoft.com/download/A/6/7/A678AB47-496B-4907-B3D4-0A2D280A13C0/WindowsServerAppFabricSetup_x64.exe

CU 1 for AppFabric 1.1 (KB2671763): http://download.microsoft.com/download/7/B/5/7B51D8D1-20FD-4BF0-87C7-4714F5A1C313/AppFabric1.1-RTM-KB2671763-x64-ENU.exe

Open your SharePoint media and copy all to a folder on your server. Open up the “prerequisiteinstallerfiles” folder…
PreReqs01

Now copy all of the “Prerequisite” files that you downloaded into this folder. It should look like this…
PreReqs02

Posted in PowerShell, SharePoint | Comments Off on Download SharePoint 2013 Prerequisite Files

Starting Code Block to Access Many Servers in Powershell

I always start with this block of code when I need to perform a task on multiple servers. This code snippet reads a list of servers from a .csv file into memory and then cycles through each server to run a task.

Here is an example ServerList.csv file…

When the above file is loaded into memory, I will have a collection of objects. Each object has the following properties…

Selected
Description
IP
Name

In the “Selected” column (the first column), I place an “x” to indicate that server is selected. In the above .csv file I have six servers selected as indicated on lines 17 to 22.

If you look at the code below, I loop through all of the $Server objects and only act on those that have been selected.

In the example below. I write out the properties of the selected servers.

Here are the results when the above code is run…

serverproperties1

Posted in PowerShell | Comments Off on Starting Code Block to Access Many Servers in Powershell

Barn Needs an Overhang on the Front and Back.

On the fron side of our barn, a driving rain pushed water into the door, also when it snowed, the snow would fall off the roof and pile up in front of the door. In the back, water off the roof made for a sloppy area when the donkeys would congregate. Solution… Install an overhang on the front and the back. We invited my son Jeff and our friend Jason Dolittle to give us hand. We knocked this out on Memorial weekend and before we got started, I got the bright idea to do a time lapse video.

Here is the video…


Posted in Misc. | Comments Off on Barn Needs an Overhang on the Front and Back.

SharePoint Web Services & SOAP

Here is a video showing you how to combine two contact lists from two sub-sites into one simple web page on a top-level site using SOAP services. I briefly walk you through some of the fundamental SOAP and web service concepts. However, there is much to cover in web services and this video addresses only one small aspect of a massive subject. With a length of eighteen minutes it is one of my longer training videos. You can fast forward to the 5 minute mark if you want to omit the SOAP and WSDL tutorial.

Posted in Xaml | Comments Off on SharePoint Web Services & SOAP

Sysprep and WSUS and Cloned VM’s

If you are cloning a VM that will be getting it’s updates from a local WSUS, you need to delete two keys from the registry. WSUS and Windows (online) Update generate there own client ID in the registry. If you update your VM template to keep it current, this client ID will exist.  In fact every clone that you create will have this same ID.  Here is how I work around this…

Continue reading

Posted in Server IT | Comments Off on Sysprep and WSUS and Cloned VM’s

Clear All Event Logs with PowerShell

I had a situation where I needed to clear all of the event logs on a 2008R2 Windows Server. I launched the event viewer and was going to manually clear each of the logs.

Yikes! There are 394 event logs on my server. No way am I going to do this manually. This is a job for PowerShell.

Continue reading

Posted in PowerShell | Comments Off on Clear All Event Logs with PowerShell

VMware says disable screen saver in all VM’s

According to VMware, screen savers are not necessary for virtual machines and if they are running, they waste valuable CPU cycles.

Continue reading

Posted in Server IT | Comments Off on VMware says disable screen saver in all VM’s

Why you need to use SysPrep tool with VM’s

If you plan to have VM’s that are joined to a domain or  if you have a WSUS server and want your VM’s to have access to the WSUS updates, you need to use Sysprep.  According to the VMware forums, WSUS needs all of the client servers/OS to have unique ID’s. This is super easy to do.

Continue reading

Posted in Server IT | Comments Off on Why you need to use SysPrep tool with VM’s