Lỗi 0x00000057 khi thêm máy in mạng thường do driver máy in hỏng/cũ hoặc cài đặt driver thất bại. Máy in hiển thị trong danh sách nhưng báo lỗi ngay khi nhấn Add.
Các phương pháp khắc phục
Phương pháp 1: Thêm máy in cục bộ qua cổng Local Port (Network Path)
- Control Panel > Devices and Printers > Add a printer.
- Chọn Create a new port > Type: Local Port.
- Port Name: nhập đường dẫn mạng
\\ComputerName\SharedPrinterName. - Chọn driver máy in > chọn Replace the current driver.
- Chia sẻ/mặc định theo ý > Hoàn tất.
Phương pháp 2: Copy thư mục FileRepository từ máy hoạt động tốt
- Trên máy tốt: Regedit >
HKLM\System\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3\. - Tìm subkey driver máy in lỗi > xem giá trị InfPath (đường dẫn file .inf).
- Vào
C:\Windows\System32\DriverStore\FileRepository> copy thư mục tương ứng ra USB. - Trên máy lỗi: vào cùng thư mục FileRepository > nếu rỗng, take ownership thư mục.
- Paste nội dung từ USB vào > Thử cài driver lại.
Phương pháp 3: Cài lại máy in và driver thủ công
- services.msc > Stop Print Spooler.
- Win+R > printui.exe /s /t2 > xóa máy in lỗi > chọn xóa driver khi hỏi.
- Start lại Print Spooler.
- Cài lại máy in bình thường.
Phương pháp 4: Thêm Local Server từ Print Management
- Win+R > MMC > File > Add/Remove Snap-in > Print Management > Add > Local server > Finish/OK.
- Mở rộng Print Servers > Local Server > Drivers.
- Xóa driver máy in gây lỗi > Cài lại máy in.
Phương pháp 5: Đổi tên file driver trong driverstore
- Win+R >
%systemroot%\system32\driverstore. - Đổi tên 4 file:
infcache.1 → infcache.1.old infpub.dat → infpub.dat.old infstor.dat → infstor.dat.old infstrng.dat → infstrng.dat.old
- Nếu không đổi được, take ownership file > thử cài driver lại.
Chúc bạn cài đặt máy in thành công!