![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-07 02:52 |
48,040 topics / 350,125 posts / today 1 new / 48,252 members |
| DOS批处理 & 脚本技术(批处理室) » [Help]Close all unnecessary startup items and scheduled tasks in the system |
| Printable Version 1,707 / 9 |
| Floor1 cad55 | Posted 2007-12-28 10:56 |
| 高级用户 Posts 329 Credits 620 | |
|
Please come to the expert for a powerful...
Write a BAT It directly. Shuts down the system.. Excessively... Any startup items and scheduled tasks.... Then restarts the system..... (Often.. When repairing the machine,, often manually.. A bit tedious......) Please expert... Show hand....... [ Last edited by lxmxn on 2007-12-28 at 11:27 PM ] |
|
| Floor2 HAT | Posted 2007-12-28 11:10 |
| 版主 Posts 5,017 Credits 9,023 | |
|
```
@echo off reg delete HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run /va /f reg delete HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /va /f at /delete /yes shutdown -r -f -t 0 ``` |
|
| Floor3 cad55 | Posted 2007-12-28 11:16 |
| 高级用户 Posts 329 Credits 620 | |
Originally posted by HAT at 2007-12-28 11:10 AM: |
|
| Floor4 HAT | Posted 2007-12-28 11:28 |
| 版主 Posts 5,017 Credits 9,023 | |
|
System 2000 can call VBS to shut down. Just add it yourself.
Set colOperatingSystems = GetObject("winmgmts:{(Shutdown)}").ExecQuery("Select * from Win32_OperatingSystem") For Each objOperatingSystem in colOperatingSystems ObjOperatingSystem.Win32Shutdown(1) Next |
|
| Floor5 cad55 | Posted 2007-12-28 11:42 |
| 高级用户 Posts 329 Credits 620 | |
Originally posted by HAT at 2007-12-28 11:28 AM: First of all, thank you, brother, for coming to help. What I really need is to close unnecessary startup items and scheduled tasks. Turning off the computer is secondary. What you wrote above is not useful at all for closing ... |
|
| Floor6 HAT | Posted 2007-12-28 11:49 |
| 版主 Posts 5,017 Credits 9,023 | |
|
What exactly is your "unnecessary startup item"?
|
|
| Floor7 cad55 | Posted 2007-12-28 12:16 |
| 高级用户 Posts 329 Credits 620 | |
Originally posted by HAT at 2007-12-28 11:49 AM: Run "System Configuration Utility" In its "Startup" tab. Clear all startup items..... How to be more aggressive.... Just keep the "MICROSOFT Services" item... Stop all others....... |
|
| Floor8 everest79 | Posted 2007-12-28 12:30 |
| 金牌会员 Posts 1,127 Credits 2,564 | |
|
This batch comes from xpsp2op.exe
|
|
| Floor9 lxmxn | Posted 2007-12-28 16:37 |
| 版主 Posts 4,938 Credits 11,386 | |
Originally posted by everest79 at 2007-12-28 12:30: |
|
| Floor10 everest79 | Posted 2007-12-28 16:59 |
| 金牌会员 Posts 1,127 Credits 2,564 | |
|
I haven't used it yet, heh heh
|
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |