Solve the problem of error 0x00000709 when connecting to a shared printer in the latest system version of Win11 22H2¶
Original link: https://www.itylq.com/win11-22h2-connect-printer-bug.html
Release date: 2023-03-22 Migration time: 2026-03-21
1 Problem description¶
After recently updating the Windows 11 system to version 22H2 through the Windows Update component, a pop-up window appears when connecting to a printer shared by a colleague: "The operation cannot be completed (error 0x00000709). Check the printer name again and ensure that the printer is connected to the network." On the test machine, the problem can be reproduced by installing the original win11 22H2 Microsoft system. In summary, problems with the intranet network, printer sharing settings or sharing permission settings are basically ruled out. The main reason is that there is an unknown bug in the win11 22H2 system file.

2 Solution¶
-
Locate the "C:\Windows\System32" folder and copy the three files "localspl.dll, win32spl.dll, spoolsv.exe" to other folders for backup;
-
Download FixPrintSpooler.zip to repair the file, unzip it and copy it to the System32 folder on the C drive for replacement; //Be sure to back up the original system files before replacing the file.

- Restart the computer and try to connect to the shared printer again. The pop-up error message "0x00000709" will no longer appear.
3 Extensions¶
You can also use the BAT script to repair it with one click. The command code is detailed as follows:
@echo off
title Repair shared printer - By IT Lullaby: www.itylq.com
::Switch to the path where the BAT script file is located
cd /d "%~dp0"
%1 %2
ver|find "5.">nul&&goto :start
mshta vbscript:createobject("shell.application").shellexecute("%~s0","goto :start","","runas",1)(window.close)&goto :eof
:start
title Repair shared printer
echo is suitable for fixing the problem that shared printer cannot be used
echo is stopping the print service...
net stop spooler
echo is obtaining permission to print files…………
TAKEOWN /F C:\Windows\System32\localspl.dll /A
Icacls C:\windows\System32\localspl.dll /grant Administrators:F
TAKEOWN /F C:\Windows\System32\win32spl.dll /A
Icacls C:\windows\System32\win32spl.dll /grant Administrators:F
TAKEOWN /F C:\Windows\System32\spoolsv.exe /A
Icacls C:\windows\System32\spoolsv.exe /grant Administrators:F
echo is deleting printer files…………
::Back up the original system localspl.dll, win32spl.dll, spoolsv.exe files
copy C:\windows\system32\localspl.dll C:\windows\system32\localspl.dll.backup
copy C:\windows\system32\win32spl.dll C:\windows\system32\win32spl.dll.backup
copy C:\windows\system32\spoolsv.exe C:\windows\system32\spoolsv.exe.backup
::Delete files
del /F /Q C:\windows\system32\localspl.dll
del /F /Q C:\windows\system32\win32spl.dll
del /F /Q C:\windows\system32\spoolsv.exe
echo is reloading printer files...
::Replace file
copy localspl.dll C:\windows\system32\localspl.dll
copy win32spl.dll C:\windows\system32\win32spl.dll
copy spoolsv.exe C:\windows\system32\spoolsv.exe
echo is starting the print service…………
net start spooler
Echo -------------------------------------------------------------------------------
Echo completes the operation, please test printing!
For more knowledge on Echo software and hardware maintenance, please follow https://www.itylq.com
pause
Instructions for use: Download and unzip FixPrintSpooler(BAT one-click repair version).zip, right-click to select the "fix-printer.bat" file and run it as an administrator.
Finally, I want to emphasize that the above file replacement method has only been tested and effective in the Windows 11 22H2 version, and there is no guarantee that it will be applicable to shared printer connection errors that occur in other Windows system versions.
This article was moved from WordPress to MkDocs