AutoSPInstaller – stuck at Provisioning User Profile Service

Today I am using AutoSPInstaller to install SharePoint 2013 on a Windows 2012 R2 server.  Unfortunately, it appears to have hung at the Provisioning User Profile Service process.


After waiting for 2 hours and giving up, I have increased the timeout within the CreateUserProfileServiceApplication function (inside AutoSPInstallerFunctions.ps1) from 120 seconds to 300 seconds:

[int]$UPSWaitTime = 0
# Wait 5 minutes for either the UPS to be created, or the UAC prompt to time out
While (($UPSWaitTime -lt 300) -and ($profileServiceApp.Status -ne “Online”))

Now the User Profile Service has provisioned without incident.  I suspect this was down to the virtual server hosting UPS running on a slower physical host.

[BlogBookmark] [Blogsvine] [] [Digg] [Facebook] [Furl] [Google] [LinkedIn] [MySpace] [Reddit] [Slashdot] [StumbleUpon] [Twitter] [Windows Live] [Yahoo!] [Email]