![]() ![]() MakeCab suffers from a 2gb file limitation, so once any single file in the c:\windows\logs\CBS folder grows beyond 2gb it chokes and fails, consuming memory until the process is killed every hour by the task scheduler when it attempts to do it again. That said, the core issue behind the infinite cab problem is often the CBS logs, which have exceeded the storage limits of the MakeCab program. ![]() If WU is in use it'll check the normal Windows Update. If WSUS is in use it'll check the WSUS server. It simply performs a "check for updates" in Windows Update, which will recreate the SoftwareDistribution folder. The script provided in this thread doesn't require WSUS to be used. Try much less code duplication though I have not tested it :) Write-host "$service1 on $machine is $($svc.status)" $svc = (get-service -computername $Machine -name $service1) $Machine = read-host "Type in the Computer Name" ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |