How to check if a shutdown.exe command runs in the background?

Hi all

I recently did a nice, small and useful for my pc application plan a stop. (using c# in visual studio 2012)
I used the shutdown.exe command (with he different tags for different uses).
What I can't find, and I have looked throughout the web and the msdn help files, is a script to run to see if such a command is already running in the background.
Is it possible that this command didn't exist and we are condemned to use tag - one each time and then restart the command to know that, indeed, the computer has a planned shutdown?
If the control option it does not exist, how can I call it?
Thank you
Maor

Hello

The Microsoft Answers community focuses on the context of use. Please reach out to the business community of COMPUTING in the TechNet forum below:

http://social.technet.Microsoft.com/forums/en-us/category/w7itpro

Tags: Windows

Similar Questions

  • How can I find and close programs that run in the background of my computer?

    How can I find and close programs that run in the background of my computer...

    From Internet Explorer

    Original title: battery

    How can I find and close programs that run in the background of my computer...

    From Internet Explorer

    Original title: battery

    The less you have to run all the time, most things you want to run will perform:

    Use Autoruns to understand this all starts when your computer's / when you log in.  Look for whatever it is you do not know using Google (or ask here.)  You can hopefully figure out if there are things from when your computer does (or connect) you don't not need and then configure them (through their own built-in mechanisms is the preferred method) so they do not - start using your resources without reason.

    You can download and use Process Explorer to see exactly what is taking your time processor/CPU and memory.  This can help you to identify applications that you might want to consider alternatives for and get rid of all together.

  • How do I know which programs are constantly running in the background "Vista Home Premium"

    I'm runnning "Vista Home Premium" on my Dell laptop. I use "SUPERAnitiSpyware &"Malwarebytes"at least once a week to get rid of all unwanted programs. What is the best way to investigate and get rid of any program still running. When I boot the hard driver light is solid for a minumtes less than 15 and sparkle even if it is inactive. I also disable all programs in statrup through msconfig. I know enough to find in "Task Manager" processes, but do not know what all processes to make or can I disable. How can I know this stuff?

    I'm runnning "Vista Home Premium" on my Dell laptop. I use "SUPERAnitiSpyware &"Malwarebytes"at least once a week to get rid of all unwanted programs. What is the best way to investigate and get rid of any program still running. When I boot the hard driver light is solid for a minumtes less than 15 and sparkle even if it is inactive. I also disable all programs in statrup through msconfig. I know enough to find in "Task Manager" processes, but do not know what all processes to make or can I disable. How can I know this stuff?

    I highly recommend that you do * not * try disabling all processes.  Although there may be some that you don't need, you'll save time very little by doing this, and you are much more likely to create a serious problem that in order to solve one.

    Also, turning off * everything * automatic start of programs in MSCONFIG is not a good idea. Here is my standard message on the subject:

    First of all, note that you should be in * all * the programs that start automatically, not only with those who are in the system tray. Not all the programs auto-start manifesting by an icon in the status bar.

    On each program, you don't want to automatically start, check its Options to see if she has the choice to not start (make sure that you actually choose to not run, not simply a "don't display the icon" option). Many can easily and better be arrested like that. If this does not work, run MSCONFIG from the start. Run the line and on the Startup tab, uncheck the programs that you do not want to automatically start.

    However, if I were you, I wouldn't do this just for the purpose of the minimum number of running programs. Despite what a lot of people tell you, you should be concerned, not with the way * a lot * of these programs you run, but * that *. Some of them can seriously affect the performance, but others have no effect on performance.

    Don't stop all programs to run willy-nilly. What you need to do is to determine what each program is that its value is for you and what the performance cost is running all the time. You can try searching the Internet and ask questions about the details here.

    Once you have this information, you can make a smart informed decision on what you want to keep and what you want to get rid of.

  • Defragment.exe when running in the background with the scheduling of the task, it wil give me a sign that it has fulfilled the task

    Hello

    When I automate defragment.exe for monthly use then

    It wil run on the bottom. There wil I would like to know who is running and is it wil give me as a sign that the defragmentation task has been fulfilled.

    Thank you

    Johan

    I'm not sure about Windows 7, but Windows 8 has an alert if the task is failed 3 times in a row.  It is a notification directly from Disk Defragmenter.

    Although I'm sure you could look at the system, filtered to defragment the events and see Event Viewer when they all ran.

    I say that it is largely a design philosophy.  The user is notified only when there is a problem. When you start your car, you get a list of all the pumps which committed successfully. You are notified only when there is a problem and the rest of the time that you can just use the machine (the car or your PC) without interruption.

  • How to check only my laptop computer use integrated or the AMD graphics card?

    How to check only my laptop computer use integrated or the AMD graphics card? Some games show me that they use the built-in map: http://img849.imageshack.us/img849/4125/98ab1c28dc9f4b51b537435.png ?

    I have no other option. I have disable Intel card in Device Manager, and it shows me that the AMD driver is not installed correctly. Thank you.

  • It is normal to dllhost.exe 3 running at the same time?

    I found 3 clocked dllhost.exe to thhe same time in windows 7 Professional is that normal or I have a virus?

    Hello

    I wish to inform you that it is possible that the number of instances of dllhost.exe is running at the same time.

    Dllhost.exe is the Windows DCOM DLL host process. It executes the DLL COM + and control processes in Internet Information Services (IIS). As such, is used by many different applications, including Visual Basic and .NET applications.

    However, there are a lot of viruses under the same name and could easily infect a computer. Let us perform a full scan using Microsoft Safety Scanner mode without failure.

    Download Microsoft Safety Scanner, start the computer using safe mode and run a full scan.

    Safe mode is an option of troubleshooting for Windows that starts your computer in a limited State. Only basic files and drivers needed to run Windows are started.

    Follow the link below to learn how to do it.
    http://Windows.Microsoft.com/is-is/Windows7/start-your-computer-in-safe-mode

    Run a virus scan complete and check if the problem is resolved.

    The Microsoft Security Scanner is a security tool free to download that allows demand analyses and helps remove viruses, spyware and other malicious software. It works with your current antivirus software.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

     

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

     

    Warning: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

    Please get back to us with the State of the question.

  • How to find scripts that run in the background

    Hey

    I'm looking for which scripts to run in the background

    Thank you

    Open the Task Manager and go to the Details tab. If a VBScript or JScript is running the wscript.exe or cscript.exe process appear in the list.

    Right-click on the column header and select 'Command Line'. That should tell you what script file is running.

  • How should I detect the application runs in the background?

    Hello friends,

    I use 2 statement to run the application in forground and background.

    UiApplication.getUiApplication () .requestBackground ();
    UiApplication.getUiApplication () .requestForeground ();

    I need to check my application is running in the background or forground? someone help me how should I detect that my application in what state?

    {if (condition)}

    System.out.prinltn ("application run in Background");

    }

    Else if (condition111) {}

    System.out.prinltn ("application in the foreground");

    }

    What is this condition? and condition111? Please help me with this...

    Thank you and best regards,

    Ajay Patil.

    Hello

    With the help of UiApplication.getUiApplication () .isForeground (); You should be able to determine if the application is in the foreground. Hope that helps.

  • How to run in the background need to be killed

    Hi Experts,

    I have a problem as below.

    We are conducting a procedure that calls the procedure who hear the call of the child through the UI which is built in .net, procedures based on the parameters, he will call many times, we went and inserts data into tables.

    Because of the issue of tablespace we are interrupted the session, but the procedure runs in the background.

    Can you please how to abort the procedure at the bottom.

    Thanks in advance...

    Run a select statement on V$ SESSION and identify the sessions that must be killed and use the command ALTER SYSTEM (KILL SESSION) and kill the session.

  • Firefox does not start because he says that it's another instance that runs in the background, but I checked and it is not a!

    Firefox does not start because he says that it's another instance that runs in the background, but I checked and it is not a! I have Linux Fedora 15 and I'm not the root. I spoke to the Manager and he said I should delete a file in the folder where firefox is installed and which can solve the problem. Can you help me?

    Thanks, Marius
    

    Upgrade your browser Firefox 8 and check

  • How do I know what process should run in the background of a HP Pavilion a1020n desktop computer

    There are a lot of processes running in the background of my office, and the amount of memory used varies from 0% to 100%.  Seriously, this affects the performance of my pc, especially if I'm trying to run multiple applications at the same time.  Is there a list of the process 'default' which must be running, and if so, where can I find such a list?

    As I do, that's if you close all the programs that you know how to close there should be only 50-60 process depending on the operating system that you do not specify.

    From there on, organize the task by using the memory manager. Can google those using memory that you want to disable or learn more about.

  • How can I reduce what is running in the background because the computer runs very slowly.

    Original title: S L O W speed

    How can I reduce what is running in the background?  How can I know about the enigmatic ID that I need the program running?

    Click Start, run and type msconfig.

    On the Startup tab, uncheck what you think that you don't need running at startup.

    Then run a virus scan and AntiSpyware - you can find ones that are free on the net and and make sure you have a firewall too.

    Press alt-ctrl-del to bring up the Task Manager and close everything that is running that you think are also unnecessary.

    Overall be careful; confirm and backup before doing the things mentioned.

  • How to close programs that are running in the background and what services are safe cut

    under windows xp with sp3, I hear something running in the background, but no photo with her, how I close it, also how do you know which windows services are safe to clog then start and stop can be a little faster?

    For performance tweaks that I would recommend looking at http://www.tweakxp.com/performance_tweaks.aspx they have a great compilation of good settings you can do and more are step by step, so even the most novice person can perform these tasks. Insofar as something running in the background of his always possible, you have some kind of malware running I want to run a scan for these emissions.

  • How do I know what programs running in the background?

    Original title:

    programs

    How can I find out if there are programs that run in the background on my windows 7, and how can I get rid of them?

    Go to: http://cmdrkeene.com/fix-sluggish-slow-pc to see how to find the programs that run in the background and how to disable them.

  • I want an application that runs in the background while I 'back' menu Chick, how do

    I didn't quit, I just want the application runs in the background while I 'back' menu Chick, how?

    You can use the Application.requestBackground method.

    See the following post:

    http://supportforums.BlackBerry.com/Rim/Board/message?board.ID=java_dev&message.ID=19444&query.ID=79...

Maybe you are looking for

  • Why my iphone can't be upgraded, even if it's just ios 7.1.2

    Why my iphone can't be upgraded, even if it's just ios 7.1.2?

  • the G565 vga memory size

    Hello Anyone know how to change the size of the vga of the computer memory g565 laptop? currently I have 1 GB (out of 4) allocated in the bios and cannot change it. What kind of stupid to pay this? THX

  • The initialization of the project of error

    Whenever I open a sample project, I get this error of initialization (screenshot attached). It could be the cause, or how can I solve this problem? Thanks in advance!

  • Envy 17 t: model numbers for Envy 17 t

    Anyone know what the model number is for the HP Envy 17 t Win 7, which is currently for sale.  The order number for the two laptops are L8L11AV_1 & L8L12AV_1.  Sales of HP cat failed to provide this information.

  • HP Envy 5660:4 x 6 print

    When I try to print a photo 4 x 6, the printer prints on paper 8 x 10.  The printer does not recognize that I have a paper photo 4 x 6 in the paper tray