C windows system32 wbem repository

  • Что это?
  • Как уменьшить размер?
  • Заключение

Приветствую друзья! Сегодня постараемся узнать что это за папка WBEM, зачем она нужна, может ее вообще можно удалить? Постараюсь все узнать и написать простыми словами.

Папка компонента WMI Provider Host, который необходим для работы некоторого ПО.

WBEM расшифровывается как Web-Based Enterprise Management (управление предприятием через интернет). Представляет из себя инструментарий управления, предназначенный для просмотра и изменения классов, экземпляров и методов CIM (Common Information Model — общая модель данных) при разработке поставщиков и программ WMI (Windows Management Instrumentation — инструментарий управления Windows).

Расположена по такому пути:

C:\Windows\System32\wbem

Внутри есть файл wmiprvse.exe:

Это компонент WMI Provider Host — позволяет получать программам информацию о системе (состояние ее и характеристики). Вообще WMI нужно для работы некоторых программ.

WBEM — как уменьшить размер?

Внимание! Способ уменьшить размер WBEM почти безопасный, но есть низкая вероятность, что будут глюки после удаления данных, и что даже точка восстановления не поможет.

Важно! Провел эксперимент. В Windows 10 в обычном режиме, не останавливая службу, при помощи утилиты Unlocker удалил папку repository. Для удаления нужна была перезагрузка. После — полет нормальный, папка repository создалась заново с нулевым размером, глюков не заметил.

Сперва обязательно создайте точку восстановления:

  1. Зажмите Win + R, укажите команду control или control panel, нажмите ОК.
  2. Откроется панель управления, здесь найдите значок Система, запустите.
  3. Далее слева нажмите Защита системы.
  4. Выберите системный диск (С) и нажмите кнопку Создать.
  5. Укажите название точки, например До очистки папки WBEM. Нажмите Создать.

РЕКЛАМА

Такая страховка поможет сэкономить время и нервы.

Скорее всего папка WBEM много весит из-за другой папки внутри — repository, также могут быть еще копии с названием repository.xxx, где xxx — случайные цифры. Алгоритм действий:

  1. Проверьте, что у вас отключен контроль учетных записей UAC.
  2. Перезагружаемся в безопасный режим.
  3. Останавливаем службу Инструментарий управления Windows (Windows Management Instrumentation).
  4. Открываем C:\Windows\System32\wbem
  5. Теперь главное. Внутри WBEM будет папка repository, также могут быть папки-клоны с названием repository.xxx, где xxx — случайные цифры. Если папок repository.xxx много и они весят прилично — удаляем их (предварительно скопировав в другое место). Если папок repository.xxx нет, а есть только repository — тогда удаляем ее (предварительно скопировав в другое место). Если будут проблемы с удалением — используем утилиту Unlocker.
  6. Выполняем перезагрузку.
  7. При первой перезагрузке могут быть проблемы — подвисания, не обращаем внимание, дожидаемся полной загрузки и потом снова перезагружаемся.
  8. Вторая перезагрузка должна уже быть быстрее, а третья — нормальной.
  9. Если отключали контроль учетных записей (UAC), то включаем его обратно.

Если после этого будут проблемы:

  • Восстанавливаем ПК до предыдущего состояния при помощи точки восстановления.
  • Если проблемы все равно останется — возвращаем назад папки repository, но только в безопасном режиме, отключив службу. Хотя скорее всего это не потребуется, точка восстановления должна все восстановить.

Заключение

  • WBEM — папка системного компонента WMI Provider Host, который нужен для работы некоторого софта.
  • Удалять именно WBEM — не стоит. Внутри могут быть папки repository большого размера, вот их можно попробовать удалить, предварительно создав точку восстановления.

Удачи.

The Web-Based Enterprise Management(WBEM) repository contains the Windows Management Instrumentation (WMI) files. WBEM is an industry initiative to develop a standard technology for accessing management information in an enterprise environment.

What is WBEM protocol?

Web-Based Enterprise Management (WBEM) is a set of industry standards that an enterprise can use to manage its information operations in the distributed computing environment of the Internet. WBEM standards provide a Web-based approach for exchanging CIM data across different technologies and platforms.

What is WBEM WmiPrvSE EXE?

WmiPrvSE is a child of svchost.exe. It resides in the “WBEM” subdirectory of “C:\Windows\System32”. It is a core Windows system file and cannot be uninstalled. Multiple instances of it can run at a time, each being a “host” implementing a WMI “provider” routine.

How do I rename a WBEM repository?

Question

  1. C:\Windows\system32>net stop winmgmt – STOP WMI.
  2. C: \ Windows \ system32 \ wbem \ repository– rename folder (C: \ Windows \ system32> rename% systemroot% \ system32 \ wbem \ repository repository.old)
  3. restart–C: \ windows \ system32> net start winmgmt.

How do I restart WMI service?

To start Winmgmt Service At a command prompt, enter net start winmgmt [/]. For more information about the switches that are available, see winmgmt. You use the built-in Administrator account or an account in the Administrators group running with elevated rights to start the WMI service.

How do I use Wbemtest?

WBEMTEST is available on any Windows system….Opening WBEMTEST

  1. Open WBEMTEST.
  2. Connect to the ROOT\CIMV2 namespace.
  3. Click the Enum Classes button.
  4. Select Recursive and click OK.
  5. Open WBEMTEST.
  6. Connect to the ROOT\CIMV2 namespace.
  7. Click the Enum Classes button.
  8. Select Recursive and click OK.

What is WBEM format?

WBEM is a set of management and Internet standard technologies developed to unify the management of distributed computing environments, facilitating the exchange of data across otherwise disparate technologies and platforms.

What is WBEM used for?

Purpose. Windows Management Instrumentation (WMI) is the infrastructure for management data and operations on Windows-based operating systems.

Is Wmiprvse exe harmful?

wmiprvse.exe is a legitimate process file popularly known as Windows Management Instrumentation. Malware programmers create files with virus scripts and name them after wmiprvse.exe virus with an intention to spread virus on the internet.

Why does Wmiprvse exe crash?

Problems with wmiprvse.exe can occur if your Windows 10 installation is corrupted, and you can fix this problem by performing sfc and DISM scan. When Command Prompt opens enter sfc /scannow and press Enter. Wait for the process to finish. After the sfc /scannow process ends, check if the problem is resolved.

How do I rebuild WBEM?

To perform a rebuild of the WMI repository, please do the following:

  1. Disable and stop the winmgmt service.
  2. Remove or rename C:\Windows\System32\wbem\repository.
  3. Enable and start the winmgmt service.
  4. Open Command Prompt as Administrator.
  5. Run the following commands:

How do I know if my WMI is broken?

Oftentimes, the quickest way to test the if the WMI service is working at all is to just start the WMI Control snap-in.

  1. Click Start, click Run, type wmimgmt. msc, and then click OK.
  2. Right-click WMI Control (Local), and then click Properties.

What is in the Windows \\ System32 \\ WBEM folder?

What is in the C:\\WINDOWS\\SYSTEM32\\wbem folder? Subject says it all, what is this stuff. Is it in use, or leftover from something I once had installed (files not used for a while)?

What does WBEM stand for in Windows 10?

which is Microsoft’s implementation of Web-based Enterprise Management. (WBEM). Those files are part of Windows and are used to query the state of. the machine and other information.

How to clean the WBEM repository in Windows 10?

Enter “Y” and press Enter. Once the process has been completed, you will receive a notification in the Command Prompt as shown Now navigate to the WBEM directory which is located in C:\\Windows\\System32\\wbem, and right click in any blank space. Select “New” and select “Folder”. Name this folder something intuitive such as reposold as below.

Where is the WMI repository located in System32?

This BLOG is no longer valid. Please see this one instead: The WMI Repository “%windir%System32\\Wbem\\Repository” is the database that stores meta-information and definitions for WMI classes; in some cases the repository also stores static class data as well.

Там должна быть только одна копия
C:\Windows\System32\wbem\Repository.

Эти Repository.xxxпапки могут быть хранилища резервных копий WMI генерируется каждый раз, когда вы восстановить хранилище или его заново. Когда-то агент клиента SCCM был предназначен для автоматической попытки перестроить репозиторий WMI, если обнаружена проблема согласованности, функция, которая все еще может существовать и может быть проблемой, с которой вы столкнулись.

Я не знаю, почему у вас так много таких папок, но похоже, что на вашем компьютере возникла проблема с WMI. В качестве первой помощи вы можете избавиться от всех этих папок и восстановить хранилище.

Посмотрите также, относится ли статья
Configuration Manager Client Health — Disable Automatic Remediation
к вашей установке, так как она содержит исправление реестра для аналогичной проблемы.

Также не мешало бы запустить sfc /scannowкоманду.

Простейшее восстановление WMI выполняется с помощью:

  1. net stop winmgmt
  2. Переместить в другое место все папки с именем C:\Windows\System32\wbem\Repository*
  3. net start winmgmt (следует начать восстановление хранилища)
  4. Подождите некоторое время, а затем перезагрузите
  5. Если все работает нормально, вы можете удалить сохраненные папки.

Скрипт восстановления WMI, который существует с незапамятных времен (но я никогда не пробовал), может сам по себе или в некоторых частях по-прежнему быть полезным в Windows 8:

Echo Fix WMI
net stop winmgmt /y
if exist %windir%\system32\wbem\repository.001 rmdir /s /q %windir%\system32\wbem\repository.001
rename %windir%\system32\wbem\repository repository.001
%windir%\system32\wbem\winmgmt /clearadap
%windir%\system32\wbem\winmgmt /kill
%windir%\system32\wbem\winmgmt /unregserver
%windir%\system32\wbem\winmgmt /reserver
%windir%\system32\wbem\winmgmt /resyncperf
regsvr32 /s %systemroot%\system32\scecli.dll
regsvr32 /s %systemroot%\system32\userenv.dll
mofcomp %windir%\system32\wbem\cimwin32.mof
mofcomp %windir%\system32\wbem\cimwin32.mfl
mofcomp %windir%\system32\wbem\rsop.mof
mofcomp %windir%\system32\wbem\rsop.mfl
cd \windows\system32\wbem
for /f %%s in ('dir /b /s %windir%\system32\wbem\*.dll') do regsvr32 /s %%s
for /f %%s in ('dir /b /s %windir%\system32\wbem\*.mof') do mofcomp %%s
for /f %%s in ('dir /b %windir%\system32\wbem\*.mfl') do mofcomp %%s
net start winmgmt
%windir%\system32\wbem\wmiprvse /regserver
%windir%\system32\wbem\winmgmt /regserver

После всего этого вы можете перезагрузиться и запустить еще раз winmgmt /verifyrepository.

Будьте очень осторожны с резервными копиями и создайте хотя бы точку восстановления системы перед запуском, или даже лучше: сделайте снимок образа системного диска.

There should only be one copy of
C:\Windows\System32\wbem\Repository.

The Repository.xxx folders might be WMI repository backups generated each time that
you repair the repository or recreate it.
It was once intended for the SCCM client agent to automatically try to rebuild
the WMI repository if there was a consistency issue detected,
a feature which might still exist and be the issue you are running into.

I do not know why you have so many of these folders, but it seems that WMI has an issue
on your computer. As a first-aid, you could get rid of all these folders and
rebuild the repository.

See also if the article
Configuration Manager Client Health – Disable Automatic Remediation
relates to your setup, as it contains a registry fix for a similar problem.

It also wouldn’t hurt to run the sfc /scannow command.

The simplest WMI rebuild is done via :

  1. net stop winmgmt
  2. Move elsewhere all folders named C:\Windows\System32\wbem\Repository*
  3. net start winmgmt (should start rebuilding the repository)
  4. Wait a while and then reboot
  5. If everything works fine, you can junk the saved folders.

A WMI repair script that has been knocking around since ages (but I have never tried)
might itself or in some parts-of still be useful on Windows 8 :

Echo Fix WMI
net stop winmgmt /y
if exist %windir%\system32\wbem\repository.001 rmdir /s /q %windir%\system32\wbem\repository.001
rename %windir%\system32\wbem\repository repository.001
%windir%\system32\wbem\winmgmt /clearadap
%windir%\system32\wbem\winmgmt /kill
%windir%\system32\wbem\winmgmt /unregserver
%windir%\system32\wbem\winmgmt /reserver
%windir%\system32\wbem\winmgmt /resyncperf
regsvr32 /s %systemroot%\system32\scecli.dll
regsvr32 /s %systemroot%\system32\userenv.dll
mofcomp %windir%\system32\wbem\cimwin32.mof
mofcomp %windir%\system32\wbem\cimwin32.mfl
mofcomp %windir%\system32\wbem\rsop.mof
mofcomp %windir%\system32\wbem\rsop.mfl
cd \windows\system32\wbem
for /f %%s in ('dir /b /s %windir%\system32\wbem\*.dll') do regsvr32 /s %%s
for /f %%s in ('dir /b /s %windir%\system32\wbem\*.mof') do mofcomp %%s
for /f %%s in ('dir /b %windir%\system32\wbem\*.mfl') do mofcomp %%s
net start winmgmt
%windir%\system32\wbem\wmiprvse /regserver
%windir%\system32\wbem\winmgmt /regserver

After all this, you might reboot and run once more winmgmt /verifyrepository.

Be very careful with backups and create at least a system restore point before starting,
or even better : take an image snapshot of the system disk.

Related videos on Youtube

3 Easy Ways to Free Hard Disk Space on Windows [Automatically Full Drive C: SOLVED]

06 : 47

3 Easy Ways to Free Hard Disk Space on Windows [Automatically Full Drive C: SOLVED]

Hard Drive Full for No Reason Windows 10

06 : 13

Hard Drive Full for No Reason Windows 10

[SOLVED] 100% DISK USAGE Windows 10 FIX 2021

05 : 25

[SOLVED] 100% DISK USAGE Windows 10 FIX 2021

Cannot shrink a volume beyond the point

07 : 47

Cannot shrink a volume beyond the point

🔧 How to FREE Up More than 30GB+ Of Disk Space in Windows 10, 8 or 7!

15 : 29

🔧 How to FREE Up More than 30GB+ Of Disk Space in Windows 10, 8 or 7!

Comments

  • The folder C:\Windows\System32\wbem\ takes up almost 100 GB on my SSD drive. This doesn’t feel like an optimal utilization of my SSD drive. Can it be reduced?

    I’ve come across some references to «rebuilding your WMI repository» that seemed related to the wbem directory. So I’ve tried doing this, but the size did not decrease noticeably.

    The content in the wbem directory is a lot of folders named repository.xxx where xxx is 001 to 096. These folders’ sizes range from 758 MB to 1 140 MB. There is also a folder called merely repository, which is 1 078 MB in size.

    I’m using Windows 8 Enterprise 64-bit (not Win 8.1). I just ran winmgmt /verifyrepository and got the result: WMI repository is consistent

    • How large is the ..\wbem\logs directory?

    • That directory is 20 KB (one log .txt)

    • What version of WMF (windows management framework) do you have? I’m stepping out to lunch, but your WMI repo is getting rebuilt constantly. This is usually caused by incompatibilities. Are you using the RTM version of windows 8?

    • I haven’t installed WMF v4.0, so I have 3.0 I guess? Not RTM

    • Is there an error repeated in ..\wbem\logswmiprov.log?

    • I didn’t catch my error till now but that should be ..\wbem\logs\wmiprov.log. Sorry about that.

  • Running sfc /scannow gave the result Windows Resource Protection did not find any integrity violations. I’ve now removed the folders and rebooted my computer, and is currently looking for any side effects

  • One day after clearing the stuff out, I already have a 1 GB repository folder and a 1 GB repository.001 folder… I guess that I will have to live with this and re-run the procedure when the folder gets too large. Un-accepting your answer due to not knowing how to prevent this

  • You could maybe try the WMI Diagnosis Utility and also do "winmgmt /resetRepository. Check the date/time on repository.xxx — if the hours are similar this might be a scheduled job. Check also the Event Viewer for interesting error messages relating to WMI.

  • Impressed! winmgmt /resetRepository did it

  • Is it that risky to create restore points and/or system image? I am unable to install Visual Studio Build Tools 2017 and people on stackoverflow are suggesting to perform something like this to successfully install build tools

  • @Mahesha999: I recommend creating restore points and periodically a system image (and also before any forceful system manipulation). No harm possible, and they can be a life-saver.

Recents

Related

What is Windows WBEM?

Windows Management Instrumentation (WMI) is the Microsoft implementation of Web-Based Enterprise Management (WBEM), which is an industry initiative to develop a standard technology for accessing management information in an enterprise environment.

What is C Windows System32 WBEM?

“WmiPrvSE.exe” is Microsoft’s Provider Host Service for Windows Management Instrumentation (WMI). It resides in the “WBEM” subdirectory of “C:\Windows\System32”. It is a core Windows system file and cannot be uninstalled.

Where is the WMI repository located?

%\System32\wbem\Repository
Manually inspecting the WMI repository The WMI repository is located at %WINDIR%\System32\wbem\Repository and the sum of all the files in that folder constitute the repository size.

How do I rename a folder in WBEM?

Question

  1. C:\Windows\system32>net stop winmgmt – STOP WMI.
  2. C: \ Windows \ system32 \ wbem \ repository– rename folder (C: \ Windows \ system32> rename% systemroot% \ system32 \ wbem \ repository repository.old)
  3. restart–C: \ windows \ system32> net start winmgmt.

Is WBEM a virus?

20180701 091524 File “C:\Windows\System32\wbem\scrcons.exe” belongs to virus/spyware ‘C2/Generic-B’.

Can I delete WBEM folder?

If everything is working as expected, you can now navigate to the wbem folder, and delete the reposold folder. If you experience issues, please navigate back to wbem , and copy the contents of reposold back in to the wbem folder.

What is Sink received asynchronous?

Unsecapp.exe is also known as Sink to receive asynchronous callbacks for WMI client application, which is a software component of the Microsoft Windows operating system. Unsecapp.exe t is an essential Windows component, so you shouldn’t remove it.

How do I use the Wbemtest tool?

Opening WBEMTEST

  1. Open WBEMTEST.
  2. Connect to the ROOT\CIMV2 namespace.
  3. Click the Enum Classes button.
  4. Select Recursive and click OK.
  5. Open WBEMTEST.
  6. Connect to the ROOT\CIMV2 namespace.
  7. Click the Enum Classes button.
  8. Select Recursive and click OK.

How do I find my WMI repository?

  1. Open an elevated command prompt.
  2. Verify the WMI repository is not corrupt by running the following command: winmgmt /verifyrepository. If the repository is not corrupted, a “WMI Repository is consistent” message will be returned. If you get something else, go to step 3.
  3. Run the following commands to repair WMI:

What is WMI classes in Windows?

The WMI system classes are a collection of predefined classes based on the Common Information Model (CIM). Unlike classes supplied by providers, the system classes are not declared in a Managed Object Format (MOF) file. WMI creates a set of these classes whenever a new WMI namespace is created.

Is WmiPrvSE exe a virus?

wmiprvse.exe is a legitimate process file popularly known as Windows Management Instrumentation. Malware programmers create files with virus scripts and name them after wmiprvse.exe virus with an intention to spread virus on the internet.

What is Webem?

WBEM is a set of management and Internet standard technologies developed to unify the management of distributed computing environments, facilitating the exchange of data across otherwise disparate technologies and platforms.

  • C windows syswow64 svchost exe
  • C windows system32 werfault exe
  • C000021a windows 7 при загрузке
  • C windows syswow64 rundll32 exe
  • Call of duty 2 черный экран при запуске windows 10