Wednesday, August 6, 2014

Failed to create instance of Microsoft.SystemsManagementServer.WSUS.WSUSServer. error = The parameter is incorrect

Today I have faced one issue with my running WSUS behave likToday I have faced one issue with my running WSUS behave like its not working properly. So as always first point to check is wsusctrl.log and the error is "Failed to create an instance of Microsoft.SystemsManagementServer.WSUS.WSUSServer. error = The parameter is incorrect"

I have checked the other log like wcm.log and found that "Failed to create an instance of Microsoft.SystemsManagementServer.WSUS.WSUSServer. error = The parameter is incorrect...............remote configuration failed at the WSUS server."




As you can see the log properly the error comes after verify the .dll version. After googling found a similar kb and reference blog which is indicating the same thing. 

Solution : 

1.      Open a CMD with elevated privilege window and go to c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\

2.    Then put the below commands in cmd for re-registering the WSUS .dll files   

  • RegAsm.exe C:\Program Files\Microsoft Configuration Manager\bin\i386\wsyncact.dll /unregister 
  • RegAsm.exe C:\Program Files\Microsoft Configuration Manager\bin\i386\wsyncact.dll 
  • RegAsm.exe C:\Program Files\Microsoft Configuration Manager\bin\i386\wsusmsp.dll /unregister 
  • RegAsm.exe C:\Program Files\Microsoft Configuration Manager\bin\i386\wsusmsp.dll 
     The above commands register the                              Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.WSyncAction.WSyncAction  class     and the Microsoft.SystemsManagementServer.WSUS.WSUSServer class successfully. 

You can verify the settings after that which is also mentioned by MS.

Run Regedit.exe and verify that the following registry keys exist: 
  • HKEY_CLASSES_ROOT\Microsoft.SystemsManagementServer.SoftwareUpdatesManagement.WSyncAction.WSyncAction 
  • HKEY_CLASSES_ROOT\CLSID\{E5272449-2083-4020-ACEE-18A145F79A75} 
At last run, the WSUS sync again and check the log file.



Help link: http://support.microsoft.com/kb/962224
http://pratik-pawar.blogspot.co.uk/2014/05/failed-to-create-instance-of.html 

No comments:

Post a Comment