Check running programs windows

How to see what programs are running in Windows 10

James Walker | February 24, 2021 October 16, 2019 | How-To

To view running programs in Windows 10, use the Task Manager app, accessible by searching in the Start menu.

  1. Launch it from the Start menu or with the Ctrl+Shift+Esc keyboard shortcut
  2. Sort apps by memory use, CPU use, etc.
  3. Get more details or «End Task» if needed

Applies to All Windows 10 Versions

When your computer is running sluggishly, it can be helpful to cull the number of programs you have open. This includes cutting down on background processes which run invisibly, sometimes without your knowledge.

The best place to start when monitoring apps is the Task Manager. Launch it from the Start menu or with the Ctrl+Shift+Esc keyboard shortcut. You’ll land on the Processes screen.

At the top of the table, you’ll see a list of all the apps which are running on your desktop. These are generally programs which you have started yourself. You should recognise them as apps which you’re currently using.

The next section, «Background processes,» details programs which probably aren’t visible on your desktop. These include processes installed by other programs, such as self-update utilities, Windows components and «suspended» Windows Store apps.

At the bottom of the list, you’ll find «Windows processes.» These are individual components of the Windows operating system. You won’t generally need to interact with any of these. They should be left on their own to keep your system running.

You can click the column headings to sort the table by the available fields. This helps you quickly identify apps which are using a lot of RAM, or those which are consuming processor time. Right-clicking a column header allows you to add further fields to the table, such as estimates of power consumption or the complete command which was used to launch the process.

If you need more detailed information, switch over to the «Details» pane. This provides technical details for each process. Again, you can add extra fields and change the sorting using the column headers at the top of the screen.

You can right-click a process to change its attributes. Terminate a process by selecting «End task» – this should work even if the program is unresponsive and you can’t use the regular «Close» button.

Finally, we should note that Task Manager only shows apps running on your own desktop. If there are multiple users logged in, you can view their processes by switching to the «Users» tab. This enables you to see if one of their open programs is consuming all the resources of the machine. You’ll need to be logged in as an administrator in order to see this information, due to the inherent privacy and security implications of viewing another user’s processes.

Password Recovery

How can I list out all the running processes on a Windows machine? You can use Task Manager to view a list of processes running on your computer, but it doesn’t provide you an option to print or save the processes list. In this tutorial we’ll show you 2 simple ways to print a list of currently running processes in Windows 10 / 8 / 7.

Читайте также:  Tc powercore drivers mac os

Method 1: Print the List of Running Processes Using Command Prompt

  1. Open the Command Prompt.
  2. Run the following command and it will save the list of running processes in a file named processes.txt.


Open the output text file in NotePad which allows you to print the processes list.

Method 2: Print the List of Running Processes Using PowerShell

  1. Open the Windows PowerShell.
  2. In order to save the list of running processes in a file named processes.txt, on your C:\ drive, type the following command and press Enter.

Get-Process | Out-File C:\processes.txt


The output text file is formatted as shown below.

Conclusion

Of course, you can also find other ways to print out the list of the processes that are running in Windows 10 / 8 / 7. For example, you can run the following command at Command Prompt:

wmic /output:C:\process.txt process

Or use the third-party freeware PsList that is developed by Sysinternals.

Comments Off on Print a List of Currently Running Processes in Windows 10 / 8 / 7 »

System file check (SFC) Scan and Repair System Files & DISM to fix things SFC cannot

Technical Level : Basic

System file check is a utility built into the Operating System that will check for system file corruption The sfc /scannow command (System File Check) scans the integrity of all protected operating system files and replaces incorrect, corrupted, changed, or damaged versions with the correct versions where possible. When it cannot repair the damage DISM should be run to fix as many errors as possible.

System file check works on Vista and UP

Dism works on win 7 and UP

If you are running an insider build (ie 14915) and SFC fails

20% it is a known problem with this build

If you are running sfc &/or DISM to fix an underlying problem please tell us what that problem is.

If you have modified your system files ( including Windows DLL files) running sfc /scannow will revert the system files back to the default state.

It is always a good idea to back up your data beforehand!

To run a system file check (SFC)

Go to start >Type CMD

Right click and run as Administrator

If you want to verify and repair the OS type sfc /scannow (note the space between sfc and «/»)

If you just want to check (verify only) the OS type sfc /verifyonly (no changes will be made using verify only)

You may have to run this up to 3 times to fix all the problems

When you have finished it will say one of three things

Windows did not find any integrity violations (a good thing)

Windows Resource Protection found corrupt files and repaired them (a good thing)

Windows Resource Protection found corrupt files but was unable to fix some (or all) of them (not a good thing) If you get this message run DISM as described below

If SFC was not able to repair some or all of the files there are a few options including a repair install from the OS dvd, and DISM (win 8 & UP)

If SFC did not find any violations it is still a good idea to run DISM Restorehealth

DISM

If you are on win 8 (and up) you should also run DISM whether SFC found errors or not!!

You can run Check, then Scan, but you should always run RESTORE HEALTH

To check the health (You would use /CheckHealth to only check whether the image has been flagged as corrupted)

run Dism /Online /Cleanup-Image /CheckHealth

To scan the health use /ScanHealth to scan the image for component store corruption. This option does not fix any corruption.

run Dism /Online /Cleanup-Image /ScanHealth

To RESTORE health (recommended)

Use DISM / Online / Cleanup — Image / RestoreHealth to scan the image for component store corruption, perform repair operations automatically, and records that corruption to the log file. This generally takes 15-30 minutes depending on the corruption and size of the partition

You can run scanhealth & restore health at the same time like this

DISM.exe /Online /Cleanup-image /Scanhealth && DISM.exe /Online /Cleanup-image /Restorehealth

After running DISM it is a good idea to re-run SFC /scannow to make sure all the issues were fixed.

If you get the error message «cannot find source files»you need to have an ISO file mounted and need to specify where it is located with the below command

The ISO must be exactly the same version as the running OS. An ISO of 10586.0 will not repair a running system of 10586.35 because it has additional updates and files.

DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:\Sources\Install.wim:1 /LimitAccess Where « is the drive letter where the ISO is located. Simply change the «X» to the correct drive letter

If you do not have an ISO you can make one. The instructions are here

If this wiki has proved helpful please click me too at the bottom of the wiki.

Other Wiki’s you may be interested in

Checking if my Windows application is running

How do I check if my C# Windows application is running ?

I know that I can check the process name but the name can be changed if the exe changes.

Is there any way to have a hash key or something to make my application unique?

9 Answers 9

The recommended way is to use a Mutex. You can check out a sample here : http://www.codeproject.com/KB/cs/singleinstance.aspx

In specific the code:

For my WPF application i’ve defined global app id and use semaphore to handle it.

you need a way to say that «i am running» from the app,

1) open a WCF ping service 2) write to registry/file on startup and delete on shutdown 3) create a Mutex

. i prefer the WCF part because you may not clean up file/registry correctly and Mutex seems to have its own issues

Mutex and Semaphore didn’t work in my case (I tried them as suggested, but it didn’t do the trick in the application I developed). The answer abramlimpin provided worked for me, after I made a slight modification.

This is how I got it working finally. First, I created some helper functions:

Then, I added the following to the main method:

If you invoke the application a 3rd, 4th . time, it does not show the warning any more and just exits immediately.

How to check if a process is running via a batch script

How can I check if an application is running from a batch (well cmd) file?

I need to not launch another instance if a program is already running. (I can’t change the app to make it single instance only.)

Also the application could be running as any user.

18 Answers 18

Another possibility I came up with, inspired by using grep, is:

It doesn’t need to save an extra file, so I prefer this method.

Here’s how I’ve worked it out:

The above will open Notepad if it is not already running.

Edit: Note that this won’t find applications hidden from the tasklist. This will include any scheduled tasks running as a different user, as these are automatically hidden.

I like Chaosmaster’s solution! But I looked for a solution which does not start another external program (like find.exe or findstr.exe). So I added the idea from Matt Lacey’s solution, which creates an also avoidable temp file. At the end I could find a fairly simple solution, so I share it.

This is working for me nicely.

The suggestion of npocmaka to use QPROCESS instead of TASKLIST is great but, its answer is so big and complex that I feel obligated to post a quite simplified version of it which, I guess, will solve the problem of most non-advanced users:

The code above was tested in Windows 7, with a user with administrator rigths.

Under Windows you can use Windows Management Instrumentation (WMI) to ensure that no apps with the specified command line is launched, for example:

wmic process where (name=»nmake.exe») get commandline | findstr /i /c:»/f load.mak» /c:»/f build.mak» > NUL && (echo THE BUILD HAS BEEN STARTED ALREADY! > %ALREADY_STARTED% & exit /b 1)

I use PV.exe from http://www.teamcti.com/pview/prcview.htm installed in Program Files\PV with a batch file like this:

TrueY’s answer seemed the most elegant solution, however, I had to do some messing around because I didn’t understand what exactly was going on. Let me clear things up to hopefully save some time for the next person.

TrueY’s modified Answer:

Anyway, I hope that helps. I know sometimes reading batch/command-line can be kind of confusing sometimes if you’re kind of a newbie, like me.

The answer provided by Matt Lacey works for Windows XP. However, in Windows Server 2003 the line

INFO: No tasks are running which match the specified criteria.

which is then read as the process is running.

I don’t have a heap of batch scripting experience, so my soulution is to then search for the process name in the search.log file and pump the results into another file and search that for any output.

I hope this helps someone else.

I like the WMIC and TASKLIST tools but they are not available in home/basic editions of windows.Another way is to use QPROCESS command available on almost every windows machine (for the ones that have terminal services — I think only win XP without SP2 , so practialy every windows machine):

QPROCESS command is not so powerful as TASKLIST and is limited in showing only 12 symbols of process name but should be taken into consideration if TASKLIST is not available.

More simple usage where it uses the name if the process as an argument (the .exe suffix is mandatory in this case where you pass the executable name):

The difference between two ways of QPROCESS usage is that the QPROCESS * will list all processes while QPROCESS some.exe will filter only the processes for the current user.

Using WMI objects through windows script host exe instead of WMIC is also an option.It should on run also on every windows machine (excluding the ones where the WSH is turned off but this is a rare case).Here bat file that lists all processes through WMI classes and can be used instead of QPROCESS in the script above (it is a jscript/bat hybrid and should be saved as .bat ):

And a modification that will check if a process is running:

The two options could be used on machines that have no TASKLIST .

The ultimate technique is using MSHTA . This will run on every windows machine from XP and above and does not depend on windows script host settings. the call of MSHTA could reduce a little bit the performance though (again should be saved as bat):

Читайте также:  Устройство для воспроизведения звука для windows 10
Оцените статью