Issue [ TFS 2013 ] TF255466 A previous update or installation requires a restart

Audience

Everyone

After you have installed SQL Server 2012 Service Pack 1 you may encounter the error “TF255466 A previous update or installation requires a restart” when trying to install TFS 2013.

Even if you install all Windows Updates and reboot you continue to get this message.

MANDATORY SP1 Hotfix SP1 installations are currently experiencing an issue in certain configurations as described in Knowledge Base article KB2793634. The article provides a fix for this issue that is currently available for download, and is MANDATORY for application immediately following a Service Pack 1 installation. The fix is also being made available on Microsoft Update.

image
Figure: TF255466 A previous update or installation requires a restart

Even if you reboot untill you are pounding on the keyboard….

Applies to

  • Visual Studio 2013 Team Foundation Server Preview
  • Visual Studio 2013 Team Foundation Server RC

Findings

No matter what you do this error continues to occur whenever you try an install TFS 2013. If you have a look at the log you should see that a “PendingFileRenameOperations” flag has been set and does not want to clear.

[Info   @18:53:14.576] +-+-+-+-+-| Verifying that the system restart is not required |+-+-+-+-+-
[Info   @18:53:14.576] Starting Node: VPENDINGREBOOT
[Info   @18:53:14.576] NodePath : VINPUTS/Conditional/Progress/VPENDINGREBOOT
[Info   @18:53:14.577] IsPendingSxsRebootRequired() returned False
[Info   @18:53:14.577] The value 'PendingFileRenameOperations' under 'HKEY_LOCALMACHINE\SYSTEM\CurrentControlSet\Control\Session Manager' registry key is not empty
[Info   @18:53:14.577] IsSessionManagerRebootRequired(True, True) returned True
[Error  @18:53:14.577] Found a pending file operation - configuration blocked until reboot
[Info   @18:53:14.577] Node returned: Error
[Error  @18:53:14.577] TF255466: The configuration process for Team Foundation Server cannot continue.  A previous update or installation requires a restart of the operating system.  Restart the computer, and then open the administration console for Team Foundation to restart the configuration wizard.
[Info   @18:53:14.577] Completed NoPendingReboots: Error
[Info   @18:53:14.577] -----------------------------------------------------

This is normally cleared when you do a reboot as whatever actions can be taken then. This can continue to happen with a newly installed copy of Windows Server 2012 due to the volume of updates that are available. Effectively every time you reboot it can start installing updates immediately. If this is the case then you can wait until all of the Updates are finished or you can stop the Windows Update service temporarily to get things done.

Solution: Non Security Update for SQL Server 2012 SP1

However there was a bug with SQL Server 2012 where the Windows Installer starts repeatedly after you install SQL Server 2012 SP1. Basically there is a mismatch of the version of a file that is installed and the SQL Server installer keep trying to fix it. Thus resulting in a permanent loop of pending reboots…

image
Figure: Windows Installer starts repeatedly after you install SQL Server 2012 SP1

If think this is the issue you can head on over here and download the Non Security Update for SQL Server 2012 SP1 (KB2793634) to fix it.

image
Figure: All readiness checks complete

For me this fixed my issue…

Create a conversation around this article

Share on Facebook
Share on Twitter
Share on Linkdin

Read more

Martin Hinshelwood
In organizational development and team dynamics, Agile (as the Agile Manifesto delineates) and Scrum (as the Scrum Guide outlines) guide teams not by solving their problems but by illuminating the issues that demand attention. These frameworks aim to identify and spotlight the challenges within a team or organization’s processes, effectively …
Martin Hinshelwood
This week, I participated in a Scrum.org Webinar hosted by Sabrina Love (Scrum.org Product Owner) as well as my colleagues, Joanna Płaskonka, Ph.D. and Alex Ballarin to discuss the state of learning and how immersive learning is the future of training. You can watch the video below to hear what …
Martin Hinshelwood
For a long time now I have been searching for that perfect domain that epitomised the vision, the why, of what I am trying to achieve with my customers and the industry at large. Now I have found it in http://nkdagility.com
Martin Hinshelwood
At the MVP Summit I was appalled by the number of people who asked questions about new features for supporting hierarchical tasks! I shared a disgusted look with Peter Provost and we had a quick (and I mean really quick) conversation that resulted in this post. it really comes down …