Denisoff, создает их makecab.exe, который запускается при старте системы для архивирования файла C:\Windows\Logs\CBS\CBS.log. В том же каталоге C:\Windows\Logs\CBS лежат несколько последних архивированных файлов. После архивирования файл C:\Windows\Logs\CBS\CBS.log очищается.
PS: Небольшое уточнение — не обязательно при старте системы. В частности, его запускает TrustetInstaller при поиске обновлений, если размер файла cbs.log превышает 192 Mb. Командная строка примерно такая:
Последний раз редактировалось Dzirt2005, 25-05-2016 в 10:03 .
Если же вы забыли свой пароль на форуме, то воспользуйтесь данной ссылкой для восстановления пароля.
Источник
Windows Temp Directory / CAB Files Causing Disk Space Issue
Symptom:
Large amount of space used by the Windows Temp directory.
Specifically it seems a log file under ` C:\windows\Logs\CBS ` becomes corrupt, after which small but numerous ` cab_xxxx ` files start to appear in the ` C:\windows\temp ` directory.
Incident Resolution:
The incident is easily fixed:
— Delete the largest/oldest log file from ` C:\windows\Logs\CBS `
— Delete all ` cab_xxxx ` files from the ` C:\windows\temp `
(some posts suggest stopping & starting the windows update service / regenerating the cab files after performing the above).
Problem Prevention:
NB: It seems that the root cause is known: makecab.exe utility cannot handle files over 2GB.
Question: Is there a hotfix to correct this bug? If not, is there anything in the pipeline?
Additional Info:
Other resources relating to this issue on the web provide additional insights:
Replies (1)
ive been having this prob with various machines lately..
i thought id help out since microsoft doesnt seem to be home lol
heres what i found
i see this everywhere and i suspect this works for a while until some cab file gets to 2gb
Step 1. Stop the Windows Modules Installer service. Click Start and in the Search box type
Press Enter and you see the Local Services list.
Step 2. Scroll down to the Windows Modules Installer service and double-click on it.
Step 3. Under Service status, click Stop. Click OK.
Step 4. Use File Explorer to go to C:\Windows\Logs\CBS
Step 5. Move or rename all of the files in that folder.
Step 6. delete all the «cab*» files in C:\Windows\Temp.
now what im really looking for is a permanent fix and i ran across this
not sure if it works or what the side effects are but heres the guys entire post
cbs.log bloat can be limited with registry tweak http://pastebin.com/wrpqw1SD
CBSLogCompress cbs.log always NTFS compressed
NumCBSPersistLogs the number of cabbed logs, setting to 0 eliminate them (not created)
and if you want to get rid of cbs.log completely (not created), change EnableLog to 0 in [HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionComponent Based Servicing] require taking permissions ownership
later he goes on to say only the reg key at the bottom works on win7
this is the best ive found, if anyone finds something better (like a KB :). post it below
we had the same problem. Deleting the cab_xxxx files only resulted in regeneration every 30min.
Checking \Logs\CBS folder I found lots of .log and (some) .cab files
It seems, that windows wasn’t able to zip (makecab.exe) one of the .log files.
in \Logs\CBS folder delete the oldest .log file (you can also delete them all)
in \temp folder delete every cab_xxxx
in the following regeneration process, the remaining (CBS) logs where zipped correctly, and \temp was left clean
1155 people were helped by this reply
Did this solve your problem?
Sorry this didn’t help.
Great! Thanks for marking this as the answer.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.
How satisfied are you with this response?
Thanks for your feedback.
The CAB-xxxx files that you see in the C:\Windows\Temp\ folder are some temporary files created by different Windows Operations, like installing Updates. You can safely delete these files off from that folder. Alternatively, you can also run Disc Cleanup to delete the temporary files from your computer.
I would suggest you to try the Methods mentioned below and check if it helps:
Please scan your computer from Microsoft Safety Scanner, which would help us to get rid of viruses, spyware, and other malicious software.
The Microsoft Safety Scanner is a free downloadable security tool that provides on-demand scanning and helps remove viruses, spyware, and other malicious software. It works with your existing antivirus software.
Note: The Microsoft Safety Scanner expires 10 days after being downloaded. To rerun a scan with the latest anti-malware definitions, download and run the Microsoft Safety Scanner again.
Note: Any data files that are infected may only be cleaned by deleting the file entirely, which means there is a potential for data loss.