Перейти к основному содержанию

Восстановление счётчиков производительности

Windows

Чтобы восстановить все счетчики производительности, включая расширенные счетчики и счетчики сторонних производителей, в Windows введите в командной строке под администратором:

cd \windows\system32
lodctr /R

lodctr

Справка по lodctr

C:\Windows\system32>lodctr /?


LODCTR
    Updates registry values related to performance counters.

Usage:
    LODCTR <INI-FileName>
        INI-FileName is the name of the initialization file that contains
            the counter name definitions and explain text for an extensible
            counter DLL.

    LODCTR /S:<Backup-FileName>
        save the current perf registry strings and info to <Backup-FileName>

    LODCTR /R:<Backup-FileName>
        restore the perf registry strings and info using <Backup-FileName>

    LODCTR /R
        rebuild the perf registry strings and info from scratch based on the cur
rent
            registry settings and backup INI files.

    LODCTR /T:<Service-Name>
        set the performance counter service as trusted.

    LODCTR /E:<Service-Name>
        enable the performance counter service.

    LODCTR /D:<Service-Name>
        disable the performance counter service.

    LODCTR /Q

    LODCTR /Q:<Service-Name>
        query the performance counter service information, either query all or s
pecified one.

    LODCTR /M:<Counter-Manifest>
        install Windows Vista performance counter provider definition XML file
            to system repository.

Note: any arguments with spaces in the names must be enclosed within
Double Quotation marks.

Теги

 

Похожие материалы

Работа с реестром Windows из командной строки или BAT файла

Нужно добавить запись в реестр с помощью BAT файла? Хотите по расписанию править ветки реестра? Нужно исправить значение реестра в командной строке? Легко!

Теги

Делаем загрузочную флешку с Windows 7

Понадобилось мне как-то сделать загрузочную USB флешку с дистрибутивом Windows 7. ISO образ у меня был, а Интернета не было. Пришлось делать загрузочную флешку подручными средствами Windows без использования дополнительных программ.

Теги

pathping — трассировка и проверка потерь пакетов в Windows

В Windows есть встроенная сетевая утилита PATHPING, которая позволяет оценить потери до удалённого узла. В процессе работы утилита выполняет трассировку до узла, затем пингует каждый узел в цепочке, подсчитывая процент потерь.

Теги