Microsoft อนุญาตให้ปรับแต่ง User Experience ของ Windows Command Prompt และ Windows PowerShell ใน Windows 10 เช่น สี, Font Type, Font Size แต่บางครั้งการปรับแต่งทำให้แอปพลิเคชันบรรทัดคำสั่งทำงานผิดปกติ และยากที่จะ Reset กลับค่าเริ่มต้น เนื่องจากไม่มีปุ่ม Reset my settings

แนะนำสร้าง System Restore Point ก่อน เพื่อ Rollback ได้หากเกิดข้อผิดพลาด
Reset PowerShell เป็นค่าเริ่มต้น
Windows PowerShell มี 2 รุ่นบน Windows 10 x64:
- Windows PowerShell
- Windows PowerShell (x86)
Windows 10 x86 จะมีแค่ Windows PowerShell
วิธี Reset: แทนที่ Shortcut ด้วย Default Version ดาวน์โหลด Default Shortcuts จากเซิร์ฟเวอร์เรา (ลิงก์ท้ายบทความ)
ไปที่ Path:
C:\Users\\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows PowerShell

นำ Shortcut จาก Archive มาแทนที่บนเครื่อง
PowerShell กลับสู่ค่าเริ่มต้นแล้ว
Related: PowerShell has stopped working and will not open
Reset Command Prompt เป็นค่าเริ่มต้น
ดาวน์โหลดไฟล์จากเซิร์ฟเวอร์เรา จะได้ไฟล์ .reg
รันไฟล์ หากมี Security Warning เลือก Run > UAC Prompt เลือก Yes > Registry Editor Warning เลือก Yes

จะมีข้อความ Registry Modified > Reboot > CMD กลับค่าเริ่มต้น
หากต้องการทำเอง: Win+R > regedit > Enter > ไปที่:
HKEY_CURRENT_USER\Console

คลิกขวา Folder Console ด้านซ้าย > Delete > Yes ยืนยัน > Reboot > CMD กลับค่าเริ่มต้น
อ่านเพิ่ม: PowerShell has stopped working
เสร็จแล้ว!