Quantcast
Channel: Windows Desktop Perfmon and Diagnostic tools forum
Viewing all 1022 articles
Browse latest View live

Descriptions for ResMon Firewall Status Details

$
0
0

Hi all,

I'm working on a tech document on using ResMon to determine if a port is listening and available.  I'd like to provide brief descriptions for each detail under the column "Firewall Status" under ResMon > Network > Listening Ports.  In this column, you see details like "Allowed, restricted", "Allowed, not restricted", "Not allowed, not restricted" and "Not allowed, restricted".  I've looked all over the place for a ResMon tutorial that would define these details, but can't seem to find anything.  Is anyone aware of a document somewhere that will explain what exactly each of these details means?

Thanks,

TSW


Windows Admin Center

$
0
0

Dear All :

I have installed windows admin center on Windows 10 Enterprise computer. everything going fine, the app open without any issue and i can add servers and workstations and the app are able to retrieve data from the remote servers and computers. i want to grant some administrators in my company access through web base.

when typing : https://mswac:6516/ which the mswac is the name of the vm holding the app i get the below error :

"You are not authorized to view this page. If you recently updated Windows Admin Center, you may need to restart your browser, and then refresh the page."

what should i do in order to resolve this issue?

many Thanks.


None

Microsoft Taskmanager show wrong CPU Usage !!!

$
0
0

Hi,

some days ago, when analyzing another problem, i stumbled upon a fatal error in the CPU performance display in the Microsoft task manager. I wrote a little bit about this problem in the following post.

https://community.spiceworks.com/topic/2269972-weird-4gbit-s-nic-limit-without-rss?page=1#entry-8853...

In summary: for me, the task manager as well as the resource monitor and the performance monitor do not show the correct CPU utilization.

Here is an example.

I start a test and the CPU display of core 0 climbs to 100% in Task Manager.



The Resource Monitor shows the same thing.



Only the performance monitor shows the correct load, but the display it "inconsistent".



The processor load is normally shown up to max. 100%, but my core 0 run according to the performance monitoring with up to 120%. 😮🙃

The Process Explorer shows the correct utilization of my core 0.


HWiNFO also shows the load correctly.


I suddenly had the following apprehension.
If you cannot correctly measure the utilization of a system, so it's not possible to control its performance properly. 🤢🤮

So I immediately opened a support ticket at Microsoft by telephone and then described the problem accordingly by email.

A few hours later I received an email with the following text. "Dear Mr. Fuchs, your support case has been closed."

???
That can not be true. 👿

Dear Microsoft, determining and displaying the CPU load of a modern processor based on its base frequency is anything but not a wise idea today. Just take a look at this …

https://ark.intel.com/content/www/us/en/ark/products/series/195734/10th-generation-intel-core-i7-pro...

But this time please not only look at the base clock rate but also at the Max Turbo Frequency. 😉

This also applies to the server processors …

https://ark.intel.com/content/www/us/en/ark/products/series/192283/2nd-generation-intel-xeon-scalabl...

Regards from Germany

Alex

como puedo instalar process explorer antiguo

$
0
0
quiero tener las opciones para descargar  versioes anteriores de windows 7 ultimate  o menos version ya que solo aparece las ultimas versiones

Exporting PC Name and Office version with powershell

$
0
0

Hi, i've found some powershell scripts to export Office versions on remote PCs and combined them together. Here it is:

foreach ($computer in (Get-Content "C:\computers.txt")){
  write-verbose "Working on $computer..." -Verbose
  Invoke-Command -ComputerName "$Computer" -ScriptBlock {
    Get-WmiObject win32_product -ComputerName "$Computer" | where{$_.Name -like "Microsoft Office Standard*"} | select Name,Version
  } | export-csv C:\results.csv -Append -NoTypeInformation
}

The question is "Is there any way to export computer name in csv as well?"

I've tried different ways but I'm quite noob in powershell so none of them worked. 

Thank you!


"Disk Defragger not installed" error on Windows 10

$
0
0

I recently started getting this error: Disk Defragger not installed" when I right-clicked on a drive and selected Tools to Optimize any drive. I could not find any solution on Microsoft support. Finally, I found it here: http://www.winhelponline.com/articles/97/1/Error-The-Disk-Defragmenter-is-not-installed-on-your-computer-when-launching-Disk-Defragmenter-in-Windows-Vista.html

I recall that I had iObit software installed on my Windows 7 PC. When I upgraded to Windows 10, I uninstalled it. However, it turns out, it had "hijacked" my registry and set default to iObit Smart Defrag. So, uninstalling disabled this function instead of defaulting back to Microsoft tool. Microsoft should prevent this, or at least restore default programs when custom replacements are uninstalled.

downloading from disc

$
0
0

have a disc from nhs to download files from  . am struggling it keeps saying

data protection agent offline access utility was in use is there anyway to download or copy to my desktop to open the file i have the password as it is password protected

Exporting PC Name and Office version with powershell

$
0
0

Hi, i've found some powershell scripts to export Office versions on remote PCs and combined them together. Here it is:

foreach ($computer in (Get-Content "C:\computers.txt")){
  write-verbose "Working on $computer..." -Verbose
  Invoke-Command -ComputerName "$Computer" -ScriptBlock {
    Get-WmiObject win32_product -ComputerName "$Computer" | where{$_.Name -like "Microsoft Office Standard*"} | select Name,Version
  } | export-csv C:\results.csv -Append -NoTypeInformation
}

The question is "Is there any way to export computer name in csv as well?"

I've tried different ways but I'm quite noob in powershell so none of them worked. 

Thank you!



Perfmon Process: % Processor Time vs. Task Manager’s CPU usage (for monitoring a specific user)

$
0
0

I'm new to using Perfmon and performance monitoring in general (so go easy on me please ;)

I know that Perfmon doesn't have anything exactly like Task Manager's CPU usage display, but I'm trying to figure out how to monitor a user's web site CPU usage (worker process user) via Perfmon in a similar way, and trying to understand the measurements (or how to convert the numbers to get a similar understanding)

For example, if in Task Manager, a particular user is consistently using more than 5-10% CPU, I would want to contact the user about it.

I learn best by example, so here is exactly what I'm trying to do, with a specific example:

 

This is on a 32-bit Dual Quad Core Windows 2003 web server (8 CPUs), there are many web sites on the server, each running within their own application pool/worker process ID.

Through some research I learned of a registry change (which I made) so that the PID shows up with the w3wp process so I can easily identify the site later by cross-referencing it.

 

I set up a counter with the following settings:

Process->%ProcessorTime -> all instances

 

Here is an example. Let's say I'm interested in the "black line" user process in this graph below, as his process is spiking quite high compared to all the other users:

http://i35.tinypic.com/106yn8k.jpg


Using this as an example, I see that this worker process user has an AVERAGE % PROCESSOR TIME of 23.264 , and has spiked as high as 103.124

So - what exactly does this 23.264 number mean to me?  Since this server has 8 CPUs, should I divide this number by 8?    (23.264/8 = 2.9% AVERAGE CPU LOAD?)

If this is the correct way to calculate this, is this number similar to an average of Task Manager's CPU reading for this user?    (in task manager, this user shows as anywhere from 0 to 13 CPU load, but not consistently at any high number, it almost seems that 2.9% is probably about right as an average taking into account the periodic spikes)

 

I'm just not sure if I'm calculating/understanding this counter correctly and if this would be a valid way to get a report on worker process user's using too much cpu load.

 

Thanks in advance.

 

Windows Server 2019: user defined data collector sets do not start at scheduled time

$
0
0

Hello!

I've already asked the question regarding auto-starting the data collector sets and have posted MS's answer - now it seems the issue can be much broader: I failed to make my user defined data collector sets start according to their schedules, for example:

I created a test data collector set (with several CPU counters), saved it as a template and tested it on Windows Server 2008R2 and Windows Server 2019:

2008R2

2019

I've tested various user defined data collector sets on all my Windows Server 2019 computers - physical and virtual, domain and non-domain joined, the result is always the same - the data collector sets just don't start and the following event(s) get registered in the Diagnosis-PLA log:

Here's the codes' description - https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-pla/590752a5-ddc3-49e4-9914-147a90bd0193

No issues arise when starting the data collector sets manually.

Can anyone tell me if it works on your computers with Windows Server 2019?

Regards,
Michael

PdhBrowseCounters does not seem to work with any counters using VS2019

$
0
0

Hello,

The following sample program is from 

https://docs.microsoft.com/en-us/windows/win32/perfctrs/browsing-performance-counters

What ever counter I select the length at :

else if (wcslen(CounterPathBuffer) == 0)

Is always zero telling I did not select any counter. Please advice what counter would work. I selected ProcessorInformation/ProcessorTime even that did not work. 

thanks

ananda

#include <windows.h>
#include <stdio.h>
#include <conio.h>
#include <pdh.h>
#include <pdhmsg.h>

#pragma comment(lib, "pdh.lib")

CONST ULONG SAMPLE_INTERVAL_MS    = 1000;
wchar_t tmp[] =  L"Select a counter to monitor.";
CONST PWSTR BROWSE_DIALOG_CAPTION = tmp;

int wmain(void)
{
    PDH_STATUS Status;
    HQUERY Query = NULL;
    HCOUNTER Counter;
    PDH_FMT_COUNTERVALUE DisplayValue;
    DWORD CounterType;
    SYSTEMTIME SampleTime;
    PDH_BROWSE_DLG_CONFIG BrowseDlgData;
    WCHAR CounterPathBuffer[PDH_MAX_COUNTER_PATH];

    //
    // Create a query.
    //

    Status = PdhOpenQuery(NULL, NULL, &Query);
    if (Status != ERROR_SUCCESS) 
    {
       wprintf(L"\nPdhOpenQuery failed with status 0x%x.", Status);
       goto Cleanup;
    }

    //
    // Initialize the browser dialog window settings.
    //

    ZeroMemory(&CounterPathBuffer, sizeof(CounterPathBuffer));
    ZeroMemory(&BrowseDlgData, sizeof(PDH_BROWSE_DLG_CONFIG));

    BrowseDlgData.bIncludeInstanceIndex = FALSE;
    BrowseDlgData.bSingleCounterPerAdd = TRUE;
    BrowseDlgData.bSingleCounterPerDialog = TRUE;
    BrowseDlgData.bLocalCountersOnly = FALSE;
    BrowseDlgData.bWildCardInstances = TRUE;
    BrowseDlgData.bHideDetailBox = TRUE;
    BrowseDlgData.bInitializePath = FALSE;
    BrowseDlgData.bDisableMachineSelection = FALSE;
    BrowseDlgData.bIncludeCostlyObjects = FALSE;
    BrowseDlgData.bShowObjectBrowser = FALSE;
    BrowseDlgData.hWndOwner = NULL;
    BrowseDlgData.szReturnPathBuffer = CounterPathBuffer;
    BrowseDlgData.cchReturnPathLength = PDH_MAX_COUNTER_PATH;
    BrowseDlgData.pCallBack = NULL;
    BrowseDlgData.dwCallBackArg = 0;
    BrowseDlgData.CallBackStatus = ERROR_SUCCESS;
    BrowseDlgData.dwDefaultDetailLevel = PERF_DETAIL_WIZARD;
    BrowseDlgData.szDialogBoxCaption = BROWSE_DIALOG_CAPTION;

    //
    // Display the counter browser window. The dialog is configured
    // to return a single selection from the counter list.
    //

    Status = PdhBrowseCounters(&BrowseDlgData);

    if (Status != ERROR_SUCCESS) 
    {
        if (Status == PDH_DIALOG_CANCELLED) 
        {
            wprintf(L"\nDialog canceled by user.");
        }
        else 
        {
            wprintf(L"\nPdhBrowseCounters failed with status 0x%x.", Status);
        }
        goto Cleanup;
    } 
    else if (wcslen(CounterPathBuffer) == 0) 
    {
        wprintf(L"\nUser did not select any counter.");
        goto Cleanup;
    }
    else
    {
        wprintf(L"\nCounter selected: %s\n", CounterPathBuffer);
    }

    //
    // Add the selected counter to the query.
    //

    Status = PdhAddCounter(Query, CounterPathBuffer, 0, &Counter);
    if (Status != ERROR_SUCCESS) 
    {
        wprintf(L"\nPdhAddCounter failed with status 0x%x.", Status);
        goto Cleanup;
    }

    //
    // Most counters require two sample values to display a formatted value.
    // PDH stores the current sample value and the previously collected
    // sample value. This call retrieves the first value that will be used
    // by PdhGetFormattedCounterValue in the first iteration of the loop
    // Note that this value is lost if the counter does not require two
    // values to compute a displayable value.
    //

    Status = PdhCollectQueryData(Query);
    if (Status != ERROR_SUCCESS) 
    {
        wprintf(L"\nPdhCollectQueryData failed with 0x%x.\n", Status);
        goto Cleanup;
    }

    //
    // Print counter values until a key is pressed.
    //

    while (!_kbhit()) 
    {
        Sleep(SAMPLE_INTERVAL_MS);

        GetLocalTime(&SampleTime);

        Status = PdhCollectQueryData(Query);
        if (Status != ERROR_SUCCESS) 
        {
            wprintf(L"\nPdhCollectQueryData failed with status 0x%x.", Status);
        }

        wprintf(L"\n\"%2.2d/%2.2d/%4.4d %2.2d:%2.2d:%2.2d.%3.3d\"",
                SampleTime.wMonth,
                SampleTime.wDay,
                SampleTime.wYear,
                SampleTime.wHour,
                SampleTime.wMinute,
                SampleTime.wSecond,
                SampleTime.wMilliseconds);

        //
        // Compute a displayable value for the counter.
        //

        Status = PdhGetFormattedCounterValue(Counter,
                                             PDH_FMT_DOUBLE,
                                             &CounterType,&DisplayValue);
        if (Status != ERROR_SUCCESS) 
        {
            wprintf(L"\nPdhGetFormattedCounterValue failed with status 0x%x.", Status);
            goto Cleanup;
        }

        wprintf(L",\"%.20g\"", DisplayValue.doubleValue);
    }

Cleanup:

    //
    // Close the query.
    //

    if (Query) 
    {
       PdhCloseQuery(Query);
    }
}

In logman, should All Instances include _Total?

$
0
0

Hello

If this question has already been asked and answered elsewhere, my apologies.

I want to collect IIS worker process perfmon data using logman.  When I add counters in PerfMon, choosing All Instances gives all instances (each w3wp process for each application pool, plus _Total).  When I try to get the same in "logman  create counter" using

-c "\w3svc_w3wp(*)\*"

All I get is _Total, none of the individual instances.

Through getting the wrong end of the stick about parent/instance#index (from http://technet.microsoft.com/en-us/library/bb490956.aspx), I happened into trying

-c "\w3svc_w3wp(**)\*"

which gave the individual instances but not _Total.  I've tried a combination of using (**) and (_Total), but that gave the individual instances only.

I'm sure I'm doing something simple wrong and would appreciate someone telling me what it is.

Thank you

dg


dg

Event Viewer freeze

$
0
0

Hi,

After upgrade from 1909 to 2004 and after displaying properties of a single event the event viewer freezes.

I can use the up/down arrows while an event property is open but as soon as I close the event property

there is no way to select anything within the event viewer anymore - Have to kill mmc via task manager and

re-open eventvwr again. Same happens with task scheduler but not with services!

Funny enough if I use an other user account on this machine then there is no problem at all.

SFC /SCANNOW did not report any error

Any hint most welcome - thanks

Viktor

MMC error after freeze of event viewer

The program mmc.exe version 10.0.19041.329 stopped interacting with Windows and was closed. To see if more information about the problem is available, check the problem history in the Security and Maintenance control panel.
 Process ID: 229c
 Start Time: 01d642357f4566ed
 Termination Time: 4294967295
 Application Path: C:\Windows\System32\mmc.exe
 Report Id: 2ec94094-3d8c-4af3-be9f-41c7fdce24f2
 Faulting package full name: 
 Faulting package-relative application ID: 
 Hang type: Cross-thread

Slow I/O operations on corporate-managed PC

$
0
0

I am experiencing slow I/O Read Bytes/sec on operations taking place at a corporate managed PC. The same operation on a non-managed PC takes 3-4 times less and is 3-4 times faster. I observe this in Performance Monitor (perfmon) counter: I/O Read bytes/sec when I select the specific process (executable). It is confusing that even a virtual machine (VMware guest) on that same managed PC performs times faster than the actual host machine itself. I have attached screenshot of the perfmon measurements. They show the same operation being performed on a managed and non-managed PC. As you can see the operation lasts shorter on the non-Managed PC but reaches values of around 9,000,000 bytes/sec which is super fast compared to the less than 3,000,000 bytes/sec on the managed corporate environment. Please suggest some further Perfmon counters and test that I can perform to isolate the cause of the issue.non managed environment - high throughput a quick operation

managed PC - low throughput and 3-4 times longer operation

RPetster tool : Delegation Authorization Rules / ActAs removed in ADFS 4.0? (Windows Server 2016)

$
0
0

Appreciate if anyone can advise of the RPTester tool is a publicly available tool glimpsed in forum question

Delegation Authorization Rules / ActAs removed in ADFS 4.0? (Windows Server 2016)


Slow I/O operations on corporate-managed PC

$
0
0

I am experiencing slow I/O Read Bytes/sec on operations taking place at a corporate managed PC. The same operation on a non-managed PC takes 3-4 times less and is 3-4 times faster. I observe this in Performance Monitor (perfmon) counter: I/O Read bytes/sec when I select the specific process (executable). It is confusing that even a virtual machine (VMware guest) on that same managed PC performs times faster than the actual host machine itself. I have attached screenshot of the perfmon measurements. They show the same operation being performed on a managed and non-managed PC. As you can see the operation lasts shorter on the non-Managed PC but reaches values of around 9,000,000 bytes/sec which is super fast compared to the less than 3,000,000 bytes/sec on the managed corporate environment. Please suggest some further Perfmon counters and test that I can perform to isolate the cause of the issue.non managed environment - high throughput a quick operation

managed PC - low throughput and 3-4 times longer operation

Windows CE 6.0

$
0
0

Smartbook stuck on "loading OS".

How to get past screen to load?

Slow I/O operations on corporate-managed PC

$
0
0

I am experiencing slow I/O Read Bytes/sec on operations taking place at a corporate managed PC. The same operation on a non-managed PC takes 3-4 times less and is 3-4 times faster. I observe this in Performance Monitor (perfmon) counter: I/O Read bytes/sec when I select the specific process (executable). It is confusing that even a virtual machine (VMware guest) on that same managed PC performs times faster than the actual host machine itself. I have attached screenshot of the perfmon measurements. They show the same operation being performed on a managed and non-managed PC. As you can see the operation lasts shorter on the non-Managed PC but reaches values of around 9,000,000 bytes/sec which is super fast compared to the less than 3,000,000 bytes/sec on the managed corporate environment. Please suggest some further Perfmon counters and test that I can perform to isolate the cause of the issue.non managed environment - high throughput a quick operation

managed PC - low throughput and 3-4 times longer operation

Is there a free program to clean up my computer?

$
0
0
there is a lot of software available on the internet. Everyone said that they are best....so I'm a little confused here about which one I should choose to clean up junk files.
So, can anyone suggest or share their experience in which software or tool is the best fit?
Thanks in Advance

Slow I/O operations on corporate-managed PC

$
0
0

I am experiencing slow I/O Read Bytes/sec on operations taking place at a corporate managed PC. The same operation on a non-managed PC takes 3-4 times less and is 3-4 times faster. I observe this in Performance Monitor (perfmon) counter: I/O Read bytes/sec when I select the specific process (executable). It is confusing that even a virtual machine (VMware guest) on that same managed PC performs times faster than the actual host machine itself. I have attached screenshot of the perfmon measurements. They show the same operation being performed on a managed and non-managed PC. As you can see the operation lasts shorter on the non-Managed PC but reaches values of around 9,000,000 bytes/sec which is super fast compared to the less than 3,000,000 bytes/sec on the managed corporate environment. Please suggest some further Perfmon counters and test that I can perform to isolate the cause of the issue.non managed environment - high throughput a quick operation

managed PC - low throughput and 3-4 times longer operation

Viewing all 1022 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>