彻底解决共享打印机时报错误代码0x0000011b或0x00000709或0x000006d9提示错误系统Win10/Win8/Win7/XP等局域网共享文件夹或文件或打印共享等等问题

您所在的位置:网站首页 博本g17快捷键 彻底解决共享打印机时报错误代码0x0000011b或0x00000709或0x000006d9提示错误系统Win10/Win8/Win7/XP等局域网共享文件夹或文件或打印共享等等问题

彻底解决共享打印机时报错误代码0x0000011b或0x00000709或0x000006d9提示错误系统Win10/Win8/Win7/XP等局域网共享文件夹或文件或打印共享等等问题

2024-07-03 21:07| 来源: 网络整理| 查看: 265

最近发现很多Win10/Win8/Win7/XP系统用户连接或安装局域网共享的打印机时出现很多问题,常见的错误代码是0x0000011b和0x00000709或0x000006d9这三个错误。如下图所示:

 

要如何解决呢?下面来讲一下如何解决这两个问题。

  1.键盘组合键徽标键Win+R键打开运行,在弹出的运行框中输入【services.msc】确定打开服务窗口,检查这两个服务是否已启动:Print Spooler和Windows Firewall一般Win7易出的错误6d9是后面的服务未启动所致。   2.确定上述两个服务确定都启动了之后,继续Win+R键运行【shell:::{d450a8a1-9568-45c7-9c0e-b4f9fb4537bd}】打开【已安装更新】界面,如图所示,找到如下面所示的补丁【KB5006670 和 KB5005539】类似或相关的补丁,然后在该补丁上右键选择卸载即可,如果找不到任何相关的补丁,或者为了安全你并不想这么做,那么你可以直接跳过步骤2,去看下面的步骤3也是可以的。

  3.下面是最重要的一步,把下面这段批处理代码复制到记事本中另存为类型选择所有文件类型,然后名称为 修复共享.bat 的批处理文件,然后右键以管理员身份运行该批处理文件就行了:

@echo off %1(start /min cmd.exe /c %0 :&exit) :: by:轶软工作室(Ystudio)局域网共享权限一键修复工具 netsh advfirewall firewall set rule group="文件和打印机共享" new enable=yes >nul netsh advfirewall firewall set rule group="网络发现" new enable=yes >nul netsh firewall set service type = fileandprint mode = enable scope = subnet >nul ver | findstr "6.">nul && set bulid=nt6 && goto sc_yhbl ver | findstr "10.">nul && set bulid=nt10 && goto sc_yhbl set bulid=nt5 :sc_yhbl reg query "HKCU\Environment" /v temp ||set "usertemp=%USERPROFILE%\" && goto sc_top set usertemp=%temp%\ :sc_top net user guest /active:yes net user guest "" reg add "HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Lsa" /v "LimitBlankPasswordUse" /t REG_DWORD /d 0x0 /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa" /v forceguest /t REG_DWORD /d 0x1 /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa" /v LimitBlankPasswordUse /t REG_DWORD /d 0x0 /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print" /v "RpcAuthnLevelPrivacyEnabled" /t REG_DWORD /d "0" /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" /v AllowInsecureGuestAuth /t REG_DWORD /d 0x1 /f reg add "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v "RestrictDriverInstallationToAdministrators" /t REG_DWORD /d "0" /f sc config LanmanWorkstation start= auto sc config LanmanServer start= auto sc config Winmgmt start= auto sc config RpcSs start= auto sc config Netman start= auto sc config RasMan start= demand sc config SSDPSRV start= auto sc config BFE start= auto sc config ALG start= demand sc config SharedAccess start= auto net start SharedAccess /y sc config Browser start= auto net start Browser /y sc config Dnscache start= auto net start Dnscache /y sc config Dhcp start= auto net start Dhcp /y sc config lmhosts start= auto net start lmhosts /y sc config Spooler start= auto net start Spooler /y sc config upnphost start= demand net start upnphost /y reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Netlogon" /v Start|findstr "0x4" && sc config Netlogon start= demand reg add "HKLM\SYSTEM\CurrentControlSet\services\NetBT\Parameters" /v TransportBindName /t REG_SZ /d \Device\ /f reg delete "HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters" /v SMB1 /F reg delete "HKLM\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters" /v SMB2 /F reg delete "HKLM\SYSTEM\CurrentControlSet\services\NetBT\Parameters" /v SMBDeviceEnabled /F sc config netbt start= system net start netbt if %bulid%==nt5 (goto sc_sernt5) else (goto sc_sernt6) :sc_sernt5 sc config PlugPlay start= auto sc config TapiSrv start= auto sc config Nla start= auto net start Nla /y netsh firewall set opmode mode=disable goto sc_main2_etc :sc_sernt6 sc config DcomLaunch start= auto sc config RpcEptMapper start= auto sc config SamSs start= auto sc config nsi start= auto sc config SstpSvc start= demand sc config MpsSvc start= auto net start MpsSvc /y sc config NlaSvc start= auto sc config netprofm start= auto sc config fdPHost start= auto net start fdPHost /y sc config FDResPub start= auto net start FDResPub /y sc config HomeGroupListener start= auto sc config WMPNetworkSvc start= auto net start WMPNetworkSvc /y sc config HomeGroupProvider start= auto net start HomeGroupProvider /y netsh advfirewall set allprofiles state off :sc_main2_etc (echo [Unicode] echo Unicode=yes echo [Version] echo signature="$CHICAGO$" echo Revision=1 echo [Privilege Rights] echo sedenynetworklogonright = echo senetworklogonright = Everyone,Administrators,Users,Power Users,Backup Operators,guest)>>%usertemp%zcl.inf secedit /configure /db %usertemp%zcl.sdb /cfg %usertemp%zcl.inf /log %usertemp%zcl.log /quiet del /q %usertemp%zcl.* reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\MSV1_0" /v LmCompatibilityLevel /t REG_DWORD /d 0x1 /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa" /v restrictanonymous /t REG_DWORD /d 0x0 /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa" /v restrictanonymoussam /t REG_DWORD /d 0x0 /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa" /v everyoneincludesanonymous /t REG_DWORD /d 0x1 /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa" /v NoLmHash /t REG_DWORD /d 0x0 /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters" /v AutoShareServer /t REG_DWORD /d 0x1 /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters" /v AutoShareWks /t REG_DWORD /d 0x1 /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\LanmanServer\Parameters" /v restrictnullsessaccess /t REG_DWORD /d 0x0 /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser\Parameters" /v MaintainServerList /t REG_SZ /d Auto /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Browser\Parameters" /v IsDomainMaster /t REG_SZ /d FALSE /f for /f "delims=" %%a in ('reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NetBT\Parameters\Interfaces" /s /e /f "0x2"^|findstr "\Tcpip_"') do reg add "%%a" /v NetbiosOptions /t REG_DWORD /d 0x0 /f reg query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NetBT\Parameters" /v EnableLMHOSTS|findstr "0x0" && reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\NetBT\Parameters" /v EnableLMHOSTS /t REG_DWORD /d 0x1 /f reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF}" /f net use * /del /y net config server /hidden:no net share ipc$ if %bulid%==nt10 powershell -NonInteractive "Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol" shutdown -r -f -t 0 del /s /q %0

运行上面的批处理命令后,电脑会立即重启,重启完后即可解决局域网共享文件夹或文件或打印机时报的代码0x0000011b或0x00000709错误了。

  我不善言词,如果有哪儿说的不对的地方,请见谅,我做这个工具的初衷是为了帮助小白朋友们解决复杂网络共享问题,不喜勿喷!感谢点赞关注轶软工作室的朋友,你们的支持就是我创作的动力,谢谢。



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3