Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบ >> Windows

แก้ไข "This publisher has been blocked from running software on your machine" ใน Windows 10

บางครั้งพยายามเปิดไฟล์ อาจเห็นกล่อง Open File Security Warning บอกว่า – This publisher has been blocked from running software on your machine, You must unblock this publisher to run this software นี่คือวิธี unblock publisher ใน Windows 10 หากเจอข้อความนี้

แก้ไข  This publisher has been blocked from running software on your machine  ใน Windows 10

This publisher has been blocked from running software on your machine

หากไฟล์ถูกบล็อก อาจเป็นเพราะ Windows ถือว่าไม่ปลอดภัย อย่างไรก็ตาม หากแน่ใจว่าปลอดภัยและยังต้องการเปิด ลองข้อเสนอแนะ:

  1. รันโปรแกรมผ่าน Command Prompt
  2. Unblock ผ่าน File Properties
  3. ปิด SmartScreen
  4. ใช้คำสั่ง Unblock-File PowerShell

1. รันโปรแกรมผ่าน Command Prompt

เปิด Command prompt ผ่าน WinX Menu

กด 'Shift+Right click' บนไฟล์ exe ของโปรแกรม เลือก Copy as path

วาง path นี้ใน Command Prompt กด Enter

โปรแกรมจะเปิด

2. Unblock ผ่าน File Properties

แก้ไข  This publisher has been blocked from running software on your machine  ใน Windows 10

เพื่อเปิด คลิกขวาที่ไฟล์ เลือก Properties

คลิกปุ่ม Unblock แล้ว Apply/OK

ตอนนี้จะเข้าถึงหรือเปิดไฟล์ได้

3. ปิด SmartScreen

ปิด Windows SmartScreen ชั่วคราว ดูว่าช่วยได้หรือไม่

4. ใช้คำสั่ง Unblock-File PowerShell

เปิด elevated PowerShell prompt พิมพ์คำสั่งและกด Enter:

Get-ChildItem -Path 'C:\Users\<username>\Downloads\' | Unblock-File

จะ unblock ไฟล์ทั้งหมดในโฟลเดอร์ Downloads คำสั่งนี้สมมติว่าไฟล์อยู่ใน Downloads folder อาจต้องเปลี่ยน path หากอยู่ที่อื่น

จำไว้แทนที่ <username> ด้วย Username ของคุณ

ตรวจสอบว่าไฟล์ถูก unblock แล้ว และเปิดได้หรือไม่

หวังว่าจะช่วยได้

แก้ไข  This publisher has been blocked from running software on your machine  ใน Windows 10