Rather low priority and eccentric inquiry. Thanks in advance for any help! This thread is locked. You can follow the question or vote as helpful, but you cannot reply to this thread. I have the same question Report abuse. Details required :. Cancel Submit.
Omoikane Independent Advisor. Hello my name is Bradford and I'm an Independent Advisor for the Microsoft Community and I will try to resolve your question with Windows 10 task manager options.
I just did some research as well and you're correct the available literature confirms that command line arguments aren't available, and better said aren't recognized by Task Manager. I did some experimenting myself invoking Task Manager with arguments from an elevated command prompt and despite the arguments, Task Manager launched and behaved with no changes.
Viewed 15k times. What is the difference between two scenarios a service vs. Is there a way to figure out the arguments of the Windows service? Peter Mortensen Duat Le Duat Le 3, 2 2 gold badges 17 17 silver badges 18 18 bronze badges. Add a comment. Active Oldest Votes. There are two types of arguments for services: Arguments that were passed on the process start command line. You can get to those easily using Process Explorer, etc.
Arguments that were passed to the ServiceMain function. NET equivalent is ServiceBase. This has nothing to do with "command line process arguments". Simon Mourier Simon Mourier k 18 18 gold badges silver badges bronze badges. Thanks for the answer, Simon. You're probably right. I couldn't get a better answer from an internal mailing list.
This is correct. Note that a service process can contain multiple services SvcHost. In these cases, there are multiple ServiceMain calls, which makes it obvious that you need more than just the host process to find the arguments to a particular ServiceMain.
For the same reason, you can't find the answer in the single PEB. Michael Kennedy Michael Kennedy 2, 2 2 gold badges 23 23 silver badges 33 33 bronze badges. Thanks for the tip, but even this registry does not show the command-line arguments of the Windows service either. The closest key is "ImagePath" which shows the path to the executable of the service, like Task Manager, Procexp.
I've seen on at least some of the services, at the end of the ImagePath there is the commandline arguments. Thanks, exactly what i needed! Try the Process Explorer application from Sysinternals It is like Task Manager, only it lists all the running processes. I actually tried procexp. I should have mentioned trying it too.
It can analyze the performance of various hardware components and also shows you all the processes running in your user session. However, it does not show the app's command line by default. So you might want to tweak its tabs to show this information. Windows 10's Task Manager has some nice features, like a performance graph and startup impact calculation.
It is able to control which apps launch during startup. There is a special tab "Startup" which is designed to manage startup apps. Tip: You can save your time by creating a special shortcut to open the Task Manager directly on the Startup tab. It is possible to make Task Manager show the command line of apps on the Processes, Details and Startup tabs.
When enabled, it will allow you to quickly see which folder an app is launched from what its command line arguments are. Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:. If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!
0コメント