กุมภาพันธ์ 20, 2018

แก้ไขข้อผิดพลาดการปฏิเสธการเข้าถึง Windows Installer

Fix Windows Installer Access Denied Error: If you are facing the error message “Access Denied” while trying to install a new program on Windows 10 or if you’re facing Msiexec.exe Access is Denied Error then you are at the right place as today we are going to fix this issue. The main cause of the error seems to corrupted or damaged Windows Installer files.

แก้ไขข้อผิดพลาดการปฏิเสธการเข้าถึง Windows Installer

When you try to install or uninstall programs from Windows 10, you may get any one of the following warning messages:

ไม่สามารถเข้าถึงบริการ Windows Installer ได้
Windows Installer Service couldn’t be started
Could not start the Windows Installer service on Local Computer. Error 5: Access is denied.

Fix The Windows Installer service could not be accessed error

In order to fix the underlying cause of this problem, we need to re-register Windows Installer files or sometimes by simply restarting Windows Installer services seems to fix the issue. So without wasting any time let’s see how to actually Fix Windows Installer Access Denied Error with the help of the below-listed guide.

แก้ไขข้อผิดพลาดการปฏิเสธการเข้าถึง Windows Installer

ตรวจสอบให้แน่ใจว่าได้สร้างจุดคืนค่า เผื่อในกรณีที่มีสิ่งผิดปกติเกิดขึ้น

Method 1: Restart Windows Installer Service

1.กดแป้น Windows + R แล้วพิมพ์ services.msc และกด Enter

หน้าต่างบริการ

2.ค้นหา บริการตัวติดตั้ง Windows จากนั้นคลิกขวาที่มันแล้วเลือก คุณสมบัติ

Right-click on Windows Installer Service then select Properties

3 คลิกที่ เริ่มต้น if the service is not already running.

ตรวจสอบให้แน่ใจว่าประเภทการเริ่มต้นของ Windows Installer ถูกตั้งค่าเป็นอัตโนมัติแล้วคลิกเริ่ม

4.If the service is already running then right-click and select เริ่มต้นใหม่

5.Again try to install the program which was giving access denied error.

วิธีที่ 2: ลงทะเบียน Windows Installer อีกครั้ง

1.กด Windows Key + X จากนั้นเลือก Command Prompt (Admin)

admin พร้อมรับคำสั่ง

2. พิมพ์คำสั่งต่อไปนี้ลงใน cmd แล้วกด Enter:

msiexec / unreg

msiexec / regserver

Re-register Windows Installer

3. รีบูตเครื่องพีซีของคุณเพื่อบันทึกการเปลี่ยนแปลง

4.If the issue is not resolved then press Windows key + R then type the following and hit Enter:

%windir%ระบบ32

Open system 32 %windir%system32

5. ค้นหาไฟล์ Msiexec.exe file then note down the exact address of the file which would be something like this:

C:WINDOWSsystem32Msiexec.exe

Note down the exact address of msiexec.exe file in System 32 folder

6.กดแป้น Windows + R แล้วพิมพ์ regedit และกด Enter เพื่อเปิด Registry Editor

เรียกใช้คำสั่ง regedit

7. ไปที่คีย์รีจิสทรีต่อไปนี้:

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesMSIServer

8.Select เซิร์ฟเวอร์ MSI จากนั้นในบานหน้าต่างด้านขวาให้ดับเบิลคลิกที่ ImagePath.

Double-click on ImagePath under msiserver registry key

9.Now type the location of the Msiexec.exe file which you noted above in the value data field followed by “/V” and the whole thing would look like:

C:WINDOWSsystem32Msiexec.exe /V

Change value of ImagePath String

10.Boot your PC into safe mode using any of the methods listed here.

11.กด Windows Key + X จากนั้นเลือก Command Prompt (Admin)

admin พร้อมรับคำสั่ง

12.พิมพ์คำสั่งต่อไปนี้แล้วกด Enter:

msiexec / regserver

%windir%Syswow64Msiexec /regserver

Re-register msiexec or windows installer

13.Close everything and boot your PC normally. See if you’re able to แก้ไขข้อผิดพลาดการปฏิเสธการเข้าถึง Windows Installerถ้าไม่เช่นนั้นให้ดำเนินการตามวิธีถัดไป

Method 3: Reset the Windows Installer Service

1.Open Notepad then copy & paste the following as it is:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesmsiserver]
"DisplayName"="@%SystemRoot%system32msimsg.dll,-27"
"ImagePath"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,
74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,
00,73,00,69,00,65,00,78,00,65,00,63,00,20,00,2f,00,56,00,00,00
"Description"="@%SystemRoot%system32msimsg.dll,-32"
"ObjectName"="LocalSystem"
"ErrorControl"=dword:00000001
"Start"=dword:00000003
"Type"=dword:00000010
"DependOnService"=hex(7):72,00,70,00,63,00,73,00,73,00,00,00,00,00
"ServiceSidType"=dword:00000001
"RequiredPrivileges"=hex(7):53,00,65,00,54,00,63,00,62,00,50,00,72,00,69,00,76,
00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,61,00,
74,00,65,00,50,00,61,00,67,00,65,00,66,00,69,00,6c,00,65,00,50,00,72,00,69,
00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,4c,00,6f,00,63,00,
6b,00,4d,00,65,00,6d,00,6f,00,72,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,
00,65,00,67,00,65,00,00,00,53,00,65,00,49,00,6e,00,63,00,72,00,65,00,61,00,
73,00,65,00,42,00,61,00,73,00,65,00,50,00,72,00,69,00,6f,00,72,00,69,00,74,
00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,
65,00,43,00,72,00,65,00,61,00,74,00,65,00,50,00,65,00,72,00,6d,00,61,00,6e,
00,65,00,6e,00,74,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,
00,00,53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,72,00,69,00,76,00,69,
00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,53,00,65,00,63,00,75,00,72,00,
69,00,74,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,
00,53,00,65,00,43,00,68,00,61,00,6e,00,67,00,65,00,4e,00,6f,00,74,00,69,00,
66,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,
00,65,00,50,00,72,00,6f,00,66,00,69,00,6c,00,65,00,53,00,69,00,6e,00,67,00,
6c,00,65,00,50,00,72,00,6f,00,63,00,65,00,73,00,73,00,50,00,72,00,69,00,76,
00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,49,00,6d,00,70,00,65,00,
72,00,73,00,6f,00,6e,00,61,00,74,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,
00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,61,00,74,00,65,00,
47,00,6c,00,6f,00,62,00,61,00,6c,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,
00,67,00,65,00,00,00,53,00,65,00,41,00,73,00,73,00,69,00,67,00,6e,00,50,00,
72,00,69,00,6d,00,61,00,72,00,79,00,54,00,6f,00,6b,00,65,00,6e,00,50,00,72,
00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,52,00,65,00,
73,00,74,00,6f,00,72,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,
00,65,00,00,00,53,00,65,00,49,00,6e,00,63,00,72,00,65,00,61,00,73,00,65,00,
51,00,75,00,6f,00,74,00,61,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,
00,65,00,00,00,53,00,65,00,53,00,68,00,75,00,74,00,64,00,6f,00,77,00,6e,00,
50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,54,
00,61,00,6b,00,65,00,4f,00,77,00,6e,00,65,00,72,00,73,00,68,00,69,00,70,00,
50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,4c,
00,6f,00,61,00,64,00,44,00,72,00,69,00,76,00,65,00,72,00,50,00,72,00,69,00,
76,00,69,00,6c,00,65,00,67,00,65,00,00,00,00,00
"FailureActions"=hex:84,03,00,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,
00,01,00,00,00,c0,d4,01,00,01,00,00,00,e0,93,04,00,00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesmsiserverEnum]
"0"="RootLEGACY_MSISERVER000"
"Count"=dword:00000001
"NextInstance"=dword:00000001

2.Now from Notepad menu click เนื้อไม่มีมัน แล้วคลิก บันทึกเป็น.

จากเมนู Notepad คลิกที่ File จากนั้นเลือก Save As

3.จาก บันทึกเป็น ประเภทรายการแบบหล่นลงเลือก เอกสารทั้งหมด.

4.Name the file as MSIrepair.reg (reg extension is very important).

Type MSIrepair.reg and from save as type select All Files

5.Navigate to desktop or where you want to save the file and then click บันทึก

6.Now right-click on the MSI repair.reg file and select ทำงานเป็นผู้ดูแลระบบ

7.รีบูตเครื่องพีซีของคุณเพื่อบันทึกการเปลี่ยนแปลงและดูว่าคุณสามารถ Fix Windows Installer Access Denied Error.

Method 4: Reinstall Windows Installer

หมายเหตุ Only Applied to earlier version of Windows

1.กด Windows Key + X จากนั้นเลือก Command Prompt (Admin)

admin พร้อมรับคำสั่ง

2. พิมพ์คำสั่งต่อไปนี้ลงใน cmd แล้วกด Enter หลังจากแต่ละคำสั่ง:

cd %windir%system32
attrib -r -s -h dllcache
ren msi.dll msi.old
ren msiexec.exe msiexec.old
ren msihnd.dll msihnd.old
exit

3.Reboot your PC and then download the Windows Installer 4.5 Redistributable from Microsoft website here.

4.Install the Redistributable package and then reboot your PC.

ที่แนะนำ:

นั่นคือคุณประสบความสำเร็จ แก้ไขข้อผิดพลาดการปฏิเสธการเข้าถึง Windows Installer หากคุณยังคงมีคำถามเกี่ยวกับคู่มือนี้ คุณสามารถถามพวกเขาได้ในส่วนความคิดเห็น

ผู้ดูแลระบบ