Friday, September 23, 2016

HPSA failed to scan the patch compliance on windows 2012 clients - Resolved


 Action Taken :

C:\Users\kalanithi.ramalingam>Dism /Online /Cleanup-Image /restoreHealth

Deployment Image Servicing and Management tool
Version: 6.3.9600.17031

Image Version: 6.3.9600.17031

[==========================100.0%==========================]
The restore operation completed successfully. The component store corruption was
repaired.
The operation completed successfully.

C:\Users\kalanithi.ramalingam>services.msc

C:\Users\kalanithi.ramalingam>

Step 2:


Renamed c:\windows\SoftwareDistribution folder to c:\windows\SoftwareDistribution.old and generated the new folder c:\windows\SoftwareDistribution upon scanning the patches from HPSA .  

Still no luck ..

Resolution 

Step 3: Reboot the server censso01   (We have performed the above steps and server has not been rebooted so far )

Step 4: Login to HPSA and scan the patch compliance for the server xxxxxxxx


Further steps needs to be followed if patch compliance scan fails again after following the above steps 


ISSUE GOT RESOLVED AT STEP 5 ITSELF :-) 

##############

Step 5: Automatically reset Windows Update components by running Windows Update diagnostic tool  



Note   Windows Server 2012 R2 with update 2919355 already include the latest version of the Windows Update Agent. So, there is no need to update the WUA

 ##########


If diagnostic tool fails to execute, run this DOS Script to Reset Windows Update Agent (Execute only if Windows Update diagnostic tool fails to run )




Step 6: Uninstall the HPSA agent on the server xxxxxxx and reboot the server


Step 7: Log in to the server and Install the HPSA agent. Now, log in to HPSA client ensure the server and hpsa connectivity by running the communication test


Step 8: Run the patch compliance test again on HPSA against xxxxxx and document the output


###########################

Exceptional case:


I have followed all the steps mentioned above in the article and patch scan was failed again 


Finally we have resolved the issue by upgrading "silver light "
















Backup VSS error 8193 - Resolved



This is regarding the problem task id # xxxxxxxx on server xxxxxxxx  for backup failure incident caused by VSS error - event id 8193

Action Taken:

We checked and found that multiple temporary profiles (invalid entries) in the following location >> HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList

The SID associated with the temp profile cannot be resolved. This is due to a “.bak” entry inside the following registry location. Removing the invalid entries from the registry will solve the problem and this is one of the reason for vss error – event id 8193






Resolution :





1.            Log in to the  problematic server xxxxxxxxx)  and open the Registry Editor
2.            Browse to HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList
3.            Find the entries that have a ".bak" value appended. (.bak – Temp profile is one of the reason for vss error / backup failure and this issue will happen while trying to resolve the SID of the writer)
4.            Backup the entire registry, and then delete all the entries with ".bak"   >>>> (Important)
5.            Reboot the problematic machine
6.            Re-try the backup.