Scripts always get restarted after installing KB2472264

Topics: General Questions, Support
Jan 25, 2014 at 12:35 PM
Please help scripts always restarts the machine after installing KB2472264
  • Installing Prerequisite Software:
    • .Net Framework 3.5.1...Already installed.
    • Running Prerequisite Installer (offline mode).....................Done.
    • Prerequisite Installer completed in 00:01:30.
    • SharePoint 2013 "missing hotfix" prerequisites...
    • Checking for KB2554876...Missing; attempting to install...
    • File 433385_intl_x64_zip.exe (zip) found.
    • Extracting "Windows6.1-KB2554876-v2-x64.msu" from "433385_intl_x64_zip.exe
      "...Done.
    • Installing hotfix Windows6.1-KB2554876-v2-x64.msu...Done.
    • Checking for KB2708075...Already installed.
    • Checking for KB2567680...Already installed.
    • Checking for KB2759112...Missing; attempting to install...
    • Hotfix file "NDP45-KB2759112-x64.exe" found.
    • Installing hotfix NDP45-KB2759112-x64.exe...Done.
    • Checking for KB2472264...Already installed.

- Setting AutoSPInstaller information in the registry...

  • Script halted!
  • One or more of the prerequisites requires a restart.
  • Setting RunOnce registry entry for AutoSPInstaller...
  • AutoAdminLogon is not enabled in D:\SP\AutoSPInstaller\AutoSPInstallerInput.
    xml; set it to "true" to enable it.
  • The AutoSPInstaller script will resume after the server reboots and WMSERVICE
    \oax45728 logs in.
  • Do you want to restart immediately? (y/n): n
  • Please restart your computer to continue AutoSPInstaller.
    Press any key to exit...
Apr 4, 2014 at 11:53 AM
Hi Guys,

same on my server... AutoSP want to restart all the time... Keep haning in the same loop...

Image

Douse anyone has a Idea?
Apr 4, 2014 at 12:56 PM
Found the Problem...

I had a similar problem

9/21/2012 11:28:01 AM EXEPATH=powershell.exe PARAMS=-command "$str = [System.Environment]::GetEnvironmentVariable(\"PSModulePath\", [System.EnvironmentVariableTarget]::Machine); $str = $str+\";c:\Program Files\AppFabric 1.1 for Windows Server\PowershellModules\"; c:\Windows\system32\setx.exe /M PSModulePath \"$str\"" LOGFILE=C:\Users\amccool.PCTS\AppData\Local\Temp\AppServerSetup1_1_CustomActions(2012-09-21 11-27-26).log
Error: ERROR: Invalid syntax. Default option is not allowed more than '2' time(s).
Error: Type "SETX /?" for usage.


My issue was the PSModulePath having an improper " in it

it was:

C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;C:\Program Files (x86)\Microsoft SQL Server\110\Tools\PowerShell\Modules"

removing it corrected the issue
Marked as answer by brianlala on 4/4/2014 at 11:30 AM