ADFS 服务无法重启,A SQL operation in the AD FS configuration database with connection string.......
在Hyper-v的一个虚拟机上安装了AD+ADFS+CRM.
当重启电脑后发现ADFS服务无法启动。
报错如下:
A SQL operation in the AD FS configuration database with connection string Data Source=np:\\.\pipe\microsoft##wid\tsql\query;Initial Catalog=AdfsConfiguration;Integrated Security=True failed.

应该是将AD与ADFS安装在同一台服务器上的原因导致的把。试了很多种办法都没有成功,后来参照下面这个方法算是折中解决了。
1. 重启服务器后立即将 ADFS Service的启动方式从 Automatic (Delayed) 改成 Manual.

2. 将 Microsoft Key Distribution Service (kdssvc) service to auto (instead of manual trigger) .

3. 再手动重启 ADFS service (starts successfully)

4. Done.
如还有其它解决办法的话请留言交流。谢谢!
原文参考地址:
http://scug.be/sccm/2014/01/15/adfs-3-0-on-windows-2012-r2-adfssrv-hangs-in-starting-mode-and-makes-youre-domain-controller-unusable-after-reboot/
浙公网安备 33010602011771号