Using KMS Manually to Activate Software

  • ต้องแจ้ง IP Address ที่ต้องการ activate ผ่าน KMS Server ของมหาวิทยาลัยที่ support@psu.ac.th
  • สำหรับ Windows ให้สร้าง batch script ชื่อ WindowsKMS.bat ไว้ที่ C:\ (drive ที่ติดตั้ง Windows) มีข้อความดังนี้
    สำหรับ Windows Vista/7/8/8.1/2008/2008R2/10/11/2012/2012R2/2016/2019/2022
    CD %windir%\System32
    cscript slmgr.vbs /skms kms1.psu.ac.th
    cscript slmgr.vbs /ato
  • สำหรับ Microsoft Office/Visio/Project ให้สร้างแฟ้ม OfficeKMS.bat ไว้ที่ C:\ (drive ที่ติดตั้ง Office) มีข้อความดังต่อไปนี้
    rem Office 2021, Office 2019, Office 2016:
    CD \Program Files\Microsoft Office\Office16
    CD \Program Files (x86)\Microsoft Office\Office16
    rem Office 2013:
    CD \Program Files\Microsoft Office\Office15
    CD \Program Files (x86)\Microsoft Office\Office15
    rem Office 2010:
    CD \Program Files\Microsoft Office\Office14
    CD \Program Files (x86)\Microsoft Office\Office14
    cscript ospp.vbs /sethst:kms1.psu.ac.th
    cscript ospp.vbs /act

    ทั้งนี้ต้องติดตั้ง Office ด้วย Next technology เท่านั้นคือไม่มีการแก้ไข path ที่ใช้ติดตั้ง Office มิฉะนั้นต้องชี้ path ที่ถูกต้องของแฟ้ม ospp.vbs เอง
  • เสร็จแล้วในคลิกขวาที่แฟ้ม WindowsKMS.bat และแฟ้ม OfficeKMS.bat แล้วเลือก run as administrator
  • สำหรับห้องปฏิบัติการหรือเครื่องที่นานๆ (เกิน 30 วัน) เปิดใช้สักครั้งอาจจะต้องมีการเพิ่มหมายเลขผลิตภัณฑ์ลงในสคริปต์ด้วย หลังไมค์มานะครับ….
  • windows Server ก็ใช้ script เดียวกันนี้สำหรับการ activate
  • จบ ขอให้สนุกครับ