幫忙一下,把net service stop和註冊表一起整合了;tongue;
存成bat(虛線之間)
----------------------------------------------------------------------
@echo off
reg add HKLM\SYSTEM\CurrentControlSet\Services\upnphost /v start /t REG_DWORD /d 4 /f
reg add HKLM\SYSTEM\CurrentControlSet\Services\SSDPSRV /v start /t REG_DWORD /d 4 /f
cd %TMP%
echo Windows Registry Editor Version 5.00 > x.reg
echo.>> x.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer] >> x.reg
echo "AlwaysUnloadDLL"="1" >> x.reg
echo.>> x.reg
echo [HKEY_CURRENT_USER\Control Panel\desktop] >> x.reg
echo "AutoEndTasks"="1" >> x.reg
echo "HungAppTimeout"="5000" >> x.reg
echo "MenuShowDelay"="400" >> x.reg
echo "WaitToKillAppTimeout"="4000" >> x.reg
echo "WaitToKillServiceTimeout"="4000" >> x.reg
echo.>> x.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem] >> x.reg
echo "NtfsDisable8dot3NameCreation"=dword:00000001 >> x.reg
echo "NtfsDisableLastAccessUpdate"=dword:00000001 >> x.reg
echo.>> x.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management] >> x.reg
echo "DisablePagingExecutive"=dword:00000001 >> x.reg
echo "LargeSystemCache"=dword:00000001 >> x.reg
echo "ClearPageFileAtShutdown"=1 >> x.reg
echo.>> x.reg
echo.>> x.reg
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters] >> x.reg
echo "EnableSuperfetch"=dword:00000001 >> x.reg
echo "EnablePrefetcher"=dword:00000003 >> x.reg
reg import x.reg
del x.reg
Rundll32.exe advapi32.dll,ProcessIdleTasks
net stop "dhcp client"
net stop "dns client"
net stop "ipsec services"
net stop "task scheduler"
net stop "application layer gateway service"
net stop "automatic updates"
net stop "system event notification"
net stop "com+ event system"
net stop "computer browser"
net stop "cryptographic services"
net stop "distributed link tracking client"
net stop "error reporting service"
net stop "fast user switching compatibility"
net stop "help and support"
net stop "hid input service"
net stop "logical disk manager"
net stop "usnsvc"
net stop "network location awareness (nla)"
net stop "print spooler"
net stop "protected storage"
net stop "remote access connection manager"
net stop "remote registry"
net stop "secondary logon service"
net stop "security center"
net stop "server"
net stop "shell hardware detection"
net stop "ssdp discovery service"
net stop "system restore service"
net stop "tcp/ip netbios helper"
net stop "telephony"
net stop "terminal services"
net stop "themes"
net stop "webclient"
net stop "windows audio"
net stop "windows firewall/internet connection sharing (ics)"
net stop "windows time"
net stop "wireless zero configuration"
net stop "workstation"
--------------------------------------------------------------------------------