|
Answer» hey all,
does anyone know the command to stop processes???
services i can do but i require stopping winword via ods.
any ideas??
cheers in advanceYou need to understand TASKLIST and TASKKILL.
Quote C:\>tasklist
Image Name PID SESSION Name Session# Mem Usage ========================= ====== ================ ======== ============ System Idle Process 0 Console 0 16 K System 4 Console 0 228 K smss.exe 336 Console 0 372 K csrss.exe 384 Console 0 6,272 K winlogon.exe 408 Console 0 4,216 K services.exe 452 Console 0 4,092 K lsass.exe 464 Console 0 1,184 K svchost.exe 628 Console 0 4,712 K svchost.exe 676 Console 0 4,448 K svchost.exe 720 Console 0 16,028 K svchost.exe 856 Console 0 3,240 K spoolsv.exe 920 Console 0 5,188 K svchost.exe 1000 Console 0 4,320 K avgamsvr.exe 1032 Console 0 292 K avgupsvc.exe 1056 Console 0 588 K MemeoService.exe 1100 Console 0 26,056 K locator.exe 1220 Console 0 2,568 K wdfmgr.exe 1252 Console 0 1,684 K Fast.exe 1444 Console 0 1,736 K PDSched.exe 1496 Console 0 3,912 K alg.exe 1664 Console 0 3,436 K wscntfy.exe 1240 Console 0 2,088 K explorer.exe 1352 Console 0 8,148 K PSTrayFactory.exe 1704 Console 0 4,220 K TaskSwitch.exe 1712 Console 0 1,848 K StartupMonitor.exe 1488 Console 0 140 K Fast.exe 1588 Console 0 2,348 K StxMenuMgr.exe 904 Console 0 4,904 K TC.exe 1732 Console 0 4,072 K Bandwidth Monitor Pro.exe 604 Console 0 2,968 K ctfmon.exe 1756 Console 0 3,760 K ClockTraySkins.exe 648 Console 0 3,964 K speedfan.exe 1880 Console 0 5,908 K taskmgr.exe 1560 Console 0 4,784 K ExtraDNS.dll 2020 Console 0 24,812 K MemeoBackup.exe 288 Console 0 25,244 K Azureus.exe 1888 Console 0 54,612 K firefox.exe 2964 Console 0 43,080 K NOPDB.EXE 3944 Console 0 3,660 K IEXPLORE.EXE 3256 Console 0 3,088 K IEXPLORE.EXE 2700 Console 0 15,036 K explorer.exe 3124 Console 0 4,080 K wmiprvse.exe 2752 Console 0 5,952 K WINWORD.EXE 2828 Console 0 11,288 K agentsvr.exe 2732 Console 0 1,764 K cmd.exe 2880 Console 0 1,476 K cmd.exe 840 Console 0 2,628 K tasklist.exe 3068 Console 0 4,476 K
Quote C:\>taskkill /F /IM WINWORD.EXE SUCCESS: The process "WINWORD.EXE" with PID 2828 has been terminated.
type taskkill /? and tasklist /? at the prompt for full details
You could also hit and hold down "control, alt, delete" in that order. You will see the Windows Task Manager. Click on the tab "Processes," select the process that you wish to stop, and click the button "End Process" at the bottom right of the window.Quote from: smlh89450 on August 27, 2007, 08:32:00 AMYou could also hit and hold down "control, alt, delete" in that order.
Very good, except he SPECIFICALLY asked for a command line method.
Have you found your shutdown.exe yet?
|