Group Blog
 
 
กันยายน 2551
 
 123456
78910111213
14151617181920
21222324252627
282930 
 
20 กันยายน 2551
 
All Blogs
 

วิธีการสร้าง script เพืื่อปิด service ของ windows

ศึกษาจาก google แล้วลองทำเองครับ
คำสั่ง net stop ชื่อservice คือการปิดservice
คำสั่ง sc config ชื่อservice คือการกำหนดค่าเริ่มต้นของservice
ในที่นี้ผมไ้ด้ทำการทำscriptเพื่อปิดserviceที่ไม่จำเป็นสำหรับเครื่องคอมครับ
ใครอยากลองก็copyข้อความด้านล่างแล้วไปเปิดในnotepad จากนั้น save=all file
ชื่อไฟล์เป็นอะไรก็ได้แต่ต้อง .bat เช่น stop service.bat

*************************************************
ปล. ผมปิด wireless zero ด้วยนะครับ ใครไม่อยากปิดให้ลบ2บรรทัดด้านล่างออก
net stop wzcsvc
sc config wzcsvc start= disabled
*************************************************




net stop ersvc
sc config ersvc start= disabled
net stop sharedaccess
sc config sharedaccess start= disabled
net stop wzcsvc
sc config wzcsvc start= disabled
net stop scardsvr
sc config scardsvr start= disabled
net stop scardsvr
sc config scardsvr start= disabled
net stop wscsvc
sc config wscsvc start= disabled
net stop remoteregistry
sc config remoteregistry start= disabled
net stop wuauserv
sc config wuauserv start= disabled
net stop helpsvc
sc config helpsvc start= disabled
net stop tlntsvr
sc config tlntsvr start= disabled
net stop ups
sc config ups start= disabled




 

Create Date : 20 กันยายน 2551
0 comments
Last Update : 20 กันยายน 2551 22:51:35 น.
Counter : 6210 Pageviews.

ชื่อ : * blog นี้ comment ได้เฉพาะสมาชิก
Comment :
  *ส่วน comment ไม่สามารถใช้ javascript และ style sheet
 


Mbell
Location :


[ดู Profile ทั้งหมด]

ฝากข้อความหลังไมค์
Rss Feed

ผู้ติดตามบล็อก : 1 คน [?]




Friends' blogs
[Add Mbell's blog to your web]
Links
 

 Pantip.com | PantipMarket.com | Pantown.com | © 2004 BlogGang.com allrights reserved.