Windows – Reading & Removing CBS.Log

September 28, 2017

If you run SCFit will produce a SBS.Log file in C:\Windows\Logs\CBS


But if you want to read the errors out of the log file you need to filter and export it to a different log file. Because the original size is way too big to open up in Notepad.

Solution :

findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfclogs.txt"

Now go and open the new log file to inspect for Errors.

How to delete the log file

Over time the CBS.log can grow to several Gigabytes !




Solution :

Deleting the CBS.log not possible because it is locked by the Process TrustedInstaller.

To solve this you need to stop the Service Windows Modules Installer



Next remove the CBS.log and start the service again.

See also here for more cleanup options

Enjoy !

VMWare – Tray Dmp Files on Citrix UserProfiles

September 27, 2017


You might notice that your Citrix Server runs out of DiskCapacity over time.

After some investigation I found out that we had over 12.000 VMWareTray dmp files counting up to serveral Gb’s !!


Problem :

The process vmwaretray.exe and vmwareuser.exe resulting in ‘Access Denied’ on the operation “RegOpenKey” against the key “HKLM\Software\VMWare. Inc.\VMWare Tools”.


Solution :

Change the permissions to the VMWare key “HKLM\Software\VMWare. Inc.” by adding ‘Read Only’ access to the proper AD Group.





So far I have not seen the .dmp show up in any of the user Terminal Services profiles anymore.


Windows – Server 2012r2 cannot install .Net Framework 3 / 3.5

September 21, 2017

This error when you try to install Microsoft .Net Framework 3 or 3.5 on a server running Windows Server 20012 R2.

Using Windows Server 2012 RC from the VHD, and selecting the .NET Framework 3.5 Feature, gives error message “The source files could not be found”


This issue continues even if you manually download the application and try to install it.

Solution :

To solve this issue, you need to install the .Net 3.5 framework from the Windows 2012 R2 installation DVD. The files are located on “Source\sxs”.

Note: To improve the speed you can copy the files from the DVD to any folder on the server.

For this example, the files were copy to “C:\temp\sxs”.

Open a CMS windows as an “Administrator” and paste the following command:

C:\Windows\system32>dism.exe /online /enable-feature /featurename:NetFX3 /Source :C:\temp\sxs /LimitAccess /all

Note: Modify the /Source attribute if needed.

If the process was successful, you will see the following message