Welcome to TechNet Blogs Sign in | Join | Help

Browse by Tags

All Tags » processes   (RSS)

Hey, Scripting Guy! Quick-Hits Friday: The Scripting Guys Respond to a Bunch of Questions (9/11/09)

Share this post: Hey Scripting Guy! I stumbled across the TechNet Script Center recently while trying to solve a problem I had at work. I had heard about scripting, of course, but had never taken the time to learn about it. I was able to find a script

Hey, Scripting Guy! How Can I Stop an Unwanted Process?

Hey, Scripting Guy! I need some help. There is a stupid process that launches every time I turn on my computer. I cannot find where it is starting from. I have looked in all the usual places, but I can't find it. This process was installed when I installed

Hey, Scripting Guy! How Do I Display a Message and the Time a Process Was Terminated?

Hey, Scripting Guy! We have this application that is supposed to run all the time. It is constantly giving us headaches and crashing. The applications vendor evidently expects it to crash all the time and has a thread that will restart it three times.

Hey, Scripting Guy! How Can I Be Notified When a Process Begins?

Hey, Scripting Guy! I need to be notified when a process begins. I would like to use Windows PowerShell to do this, but it does not seem to work. While I could do this in VBScript, I prefer to use Windows PowerShell. Can this be done? - NL Hi NL, Because

Hey, Scripting Guy! How Can I Kill Processes?

Hey, Scripting Guy! It seems that every single piece of software I install adds a stub application that starts automatically. I know software makers do not do it out of maliciousness, but good grief these people act as if theirs is the most important

Hey, Scripting Guy! How Can I Change the Priority of Each Instance of an Application?

Hey, Scripting Guy! Is there any way to permanently change the priority of a process? If there isn’t, how can I write a script that will monitor for new instances of this process and then change the priority each time the application runs? -- AM Hey,

Hey, Scripting Guy! How Can I Delete All the Duplicates in a Set of Processes But Keep the Oldest Process?

Hey, Scripting Guy! If I have a bunch of duplicate processes, how can I delete all of them except for the oldest one? -- IR Hey, IR. We apologize for the delay in answering this question. Originally we thought it would be cute if we could get Peter Costantini

How Can I Start a Process and Then Log the User Off When That Process Ends?

Hey, Scripting Guy! How can I write a script that starts a process, waits until that process ends, and then logs the user off the computer? -- AG Hey, AG. You know, the Scripting Guy who writes this column is never one to brag, mainly because he never

How Can I Start a Process and Then Wait For the Process to End Before Terminating the Script?

Hey, Scripting Guy! How can I start a process and then wait until that process quits before terminating the script? -- FG Hey, FG. Before we answer your question, the Scripting Guy who writes this column has a confession to make: he’s the one who ruined

How Can I Determine Which Account a Script is Running Under?

Hey, Scripting Guy! How can I determine which account a script is running under? -- KW Hey, KW. You know, it’s been awhile since we started off a column with a bunch of excuses, and that’s been hard on us: after all, making excuses is what we Scripting

How Can I Monitor the Activity Level of a Process?

Hey, Scripting Guy! How can I monitor the activity of a process to see if anyone is using it? -- AJ Hey, AJ. You know, this is one time when writing the script is actually the easy part of the answer. Although there are a couple different ways to do this,

How Can I Determine the Date and Time that a Process Started?

Hey, Scripting Guy! How can I determine the date and time that a process started? -- BM Hey, BM. We’ve got good news for you: not only do we have an answer to your question, but we’re not going to bore everyone with any more stories regarding our Colt

How Can I Lower the Priority of a Process Using a Script?

Hey, Scripting Guy! How can I lower the priority of a process using a script? -- HS Hey, HS. As many of you know, all processes are not created equal; instead processes are assigned priority values. Processes with a high priority are executed more often

How Can I Tell Which Switches Were Used When Starting an Executable File?

Hey, Scripting Guy! Is there any way to tell which command-line arguments (if any) were used when starting an executable file? -- TO Hey, TO. We don’t mean to cause a scandal in the scripting world - well, OK, we don’t mean to cause any more scandals

How Can I Determine the Account a Process is Running Under?

Hey, Scripting Guy! I’ve got a script that returns information about all the processes running on a computer, except I can’t seem to figure out how to get the name of the user account that these processes are running under. Can you help? -- DL Hey, DL.
More Posts Next page »
 
Page view tracker