“User Profile Service failed the logon”

Got this error when I tried to log on to a Windows 2008R2 server. I have never logged on to this server before, so it was not that my profile could have been deleted.

Solution to this was that there was a file within the default profile that was missing som permissions.

In this senario it was “C:\Users\Default\AppData\Local\Microsoft\Exchange Server\v14\Configuration3648_100.sqm”

Logged on with local administrator account.

Added “users” and “everyone” the Read permissions.

Now I could log on with my own admin account.

Lync server 2013 prerequisite install.

When installing Lync server 2013 on a Windows server 2012 I got a missing prerequisite.

All you have to do is to install the “Windows Identity Foundation” feature.

Powershell: Add-WindowsFeature Windows-Identity-Foundation

To install all of required Windows features :

import-module servermanager
add-windowsfeature telnet-client,RSAT-ADDS,net-framework-45-core,windows-identity-foundation,Web-Static-Content,Web-Default-Doc,Web-Http-Errors,web-asp-net,web-asp-net45,Web-Net-Ext,Web-ISAPI-Ext,web-isapi-filter,Web-Http-Logging,Web-Log-Libraries,Web-Http-Tracing,Web-Windows-Auth,Web-Filtering,Web-Stat-Compression,Web-Dyn-Compression,Web-Mgmt-Console,Web-Scripting-Tools,Web-Client-Auth,server-media-foundation,MSMQ-Server,MSMQ-Directory,NET-WCF-HTTP-Activation45

 To add “add-windowsfeature Web-Asp-Net,Web-Net-Ext ” your computer needs access to internet.