Windows始终确保计算机及其用户的安全。定期发布更新以使您的 PC 远离威胁和错误。因此,当您按照提示进行更新时,您的设备将保持最新状态。然而,有时几个更新没有完全安装,导致错误。常见错误之一是无法安装打印机,句柄无效。在本文中,您将了解什么是句柄无效错误,以及解决Windows 10句柄无效问题的故障排除方法。
如何修复 Windows 10 中的句柄无效错误(How to Fix The Handle is Invalid Error in Windows 10)
INVALID_HANDLE 错误(INVALID_HANDLE error)发生在登录或注册屏幕上,并且此错误不允许您打印作业或运行任何脚本。由于不兼容的 Windows 更新文件(incompatible Windows update files)或PC 中的任何错误配置的系统文件,会发生此错误。(misconfigured system files)在几种情况下,您可能会遇到该错误,但(You may face the error under several circumstances, but being )无法安装打印机会阻止您添加任何打印机或使用现有打印机。您可能会在所有旧版本的Windows(Windows)中遇到此安装打印机句柄无效错误,并且您无法继续进行任何待处理的更新或软件更新。其他原因如下。
- 恶意软件或病毒攻击
- 有问题的注册表文件
- 登录凭据不正确
- Windows 无法从PEB32(PEB32)进程复制非伪句柄
在本节中,我们编制了一个方法列表,可帮助您修复此INVALID_HANDLE 错误(INVALID_HANDLE error)。根据严重程度和有效性(severity and effectiveness)安排方法,以便您尽早解决问题。以相同的顺序跟随它们以获得完美的结果。
方法一:重启电脑(Method 1: Reboot PC)
简单的重新启动将帮助您解决任何临时错误,因此您可以轻松修复此错误。因此,请尝试按照以下步骤重新启动您的 PC,并检查您是否再次遇到问题。或者,您可以使用电源选项(Power)完全关闭(fully shut down)系统,然后再次打开。
1. 同时按 Windows + D keys导航到桌面(Desktop ) 。
2. 现在,同时按Alt + F4 keys 。您将看到一个弹出窗口,如下所示。
3. 现在,单击下拉框并选择重新启动(Restart )选项。
4. 最后,按 Enter(Enter )重新启动系统。
检查此错误现在是否已解决。
方法 2:运行打印机疑难解答(Method 2: Run Printer Troubleshooter)
运行Windows 打印机疑难解答(Windows Printer Troubleshooter)是解决 PC 中此错误的最简单方法。当您继续此过程时,您计算机中的所有损坏和损坏的文件都将被消除。以下是运行Windows 打印机疑难解答(Windows Printer Troubleshooter)的几个简单步骤。
1. 同时按Windows + I keys打开 设置(Settings)。
2. 单击 pn更新和安全(Update & Security)。
3. 单击疑难解答(Troubleshoot)。然后,选择打印机(Printer)并单击运行疑难解答(Run the troubleshooter)。
4. 您的系统将进行筛选过程(screening process)。等待(Wait)该过程完成,如果在您的系统中发现任何问题,请单击应用此修复程序(Apply this fix )并按照连续提示中给出的说明进行操作。
5. 最后,在您的系统中应用并修复所有问题后,重新启动您的 PC 。(restart your PC)
另请阅读:(Also Read:)如何修复打印机在(Fix Printer)Windows 10中无响应
方法 3:下载 HP 通用打印驱动程序(适用于 HP 系统)(Method 3: Download HP Universal Print Driver ( For HP Systems))
许多用户报告说,下载HP 通用打印驱动程序(HP Universal Print Driver)已解决此问题,因为它会自动检测和配置 HP 和非 HP 驱动程序。您也可以尝试从HP 网站下载(HP website)HP 通用打印驱动程序(HP Universal Print Driver)。
方法四:修改本地安全策略(Method 4: Modify Local Security Policy)
许多用户报告说修改网络安全(Network security)策略已帮助他们解决此错误。更改时有某些参数,当您遇到此类错误时,它们可能是一手好牌。以下是调整本地安全策略(Local Security Policies)的一些说明。
注意:(Note:)仅当您使用Windows 10 专业版、企业版(Windows 10 Pro, Enterprise)和教育(Education)版时才能访问本地安全策略(Local Security Policy)。
1. 同时按下Windows + R keys 运行(Run)对话框。
2. 现在,在框中键入secpol.msc并按(secpol.msc )Enter 键(Enter key)。
注意:(Note: )您也可以在搜索框中键入(Search box)本地安全策略(Local Security Policy )来打开窗口。
3. 然后,单击左窗格中的本地策略,然后单击(Local Policies )安全选项(Security Options ),如图所示。
4. 现在,在右窗格中,双击网络安全:LAN Manager 身份验证级别(Network security: LAN Manager authentication level )将其打开。
5. 现在,在本地安全设置(Local Security Setting )选项卡中,从下拉菜单中选择发送 LM 和 NTLM - 如果协商后使用 NTLMv2 会话安全选项,如图所示。(Send LM & NTLM – use NTLMv2 session security if negotiated )
6. 现在,单击Apply > OK 以保存更改并返回本地安全策略窗口(Local Security Policy window)。
7. 然后,双击网络安全:基于 NTLM SSP(包括安全 RPC)客户端的最低会话安全(Network Security: Minimum session security for NTLM SSP based (including secure RPC) clients)将其打开。
8. 现在,取消选中需要 128 位加密(Require 128-bit encryption )选项,如下所示。
9. 最后,单击Apply > OK 保存更改并重新启动(reboot) 您的 PC(your PC)。
检查问题现在是否已解决。
另请阅读:(Also Read:) Windows 无法连接到打印机 [已解决]
方法 5:更新或回滚驱动程序(Method 5: Update or Roll Back Drivers)
按照以下步骤更新驱动程序或回滚打印机驱动程序(driver or rollback printer driver)更新以修复无法安装打印机句柄无效错误。
选项 I:更新驱动程序(Option I: Update Drivers)
如果您系统中的当前驱动程序与程序文件不兼容或已过时,那么您将面临句柄无效的问题,尤其是打印机(the handle is invalid issue, especially with printers)。因此,建议您更新打印机驱动程序以防止出现上述问题。
1.在 Windows 10 搜索菜单中键入 设备管理器。(Device Manager)
2. 双击打印队列(Print queues)将其展开。
3. 右键单击打印机名称并选择(printer and select) 更新驱动程序(Update driver)。
注意:(Note:)此处以Microsoft XPS 文档编写(Microsoft XPS Document Writer)器为例。
4. 接下来,单击 自动搜索驱动程序 (Search automatically for drivers )以自动下载并安装最佳可用驱动程序。
5A。现在,如果驱动程序未更新,驱动程序将更新并安装到最新版本。
5B。如果它们已经处于更新阶段,则会显示消息 “您的设备的最佳驱动程序已安装” (The best drivers for your device are already installed )。
重新启动(Restart)计算机,并检查您是否已在系统中修复此问题(this issue )。
选项 II:回滚驱动程序更新(Option II: Roll back Driver Updates)
如果您的系统运行正常并在更新后开始出现故障,则回滚驱动程序可能会有所帮助。驱动程序的回滚将删除系统中当前安装的驱动程序,并将其替换为之前的版本。此过程应消除驱动程序中的任何错误并可能解决上述问题。
1.在Windows 搜索(Windows search)栏中键入设备管理器(Device Manager),然后从搜索结果中打开它。
2. 双击左侧面板中的打印机并将其展开。(Printers)
3. 右键单击打印机驱动程序(printer driver)并单击属性(Properties),如图所示。
4. 切换到驱动程序选项卡(Driver tab)并选择回滚驱动程序(Roll Back Driver),如突出显示的那样。
5. 提供你为什么要回滚的原因?(Why are you rolling back?) 在 驱动程序包回滚(Driver Package rollback)。然后,单击 Yes,如下图所示。
6. 然后,单击确定(OK) 以应用此更改。最后, 重新启动您的 PC(restart your PC)。
方法 6:更新 Windows(Method 6: Update Windows)
确保您使用Windows的更新版本。否则(Otherwise),系统中的文件将与程序文件不兼容,导致句柄无效的问题(the handle being an invalid issue)。请按照以下步骤更新您的Windows 操作系统(Windows OS)。
1. 同时按 Windows + I keys 启动 设置(Settings)。
2. 单击 更新和安全(Update & Security) 磁贴,如图所示。
3. 在 Windows 更新 (Windows Update )选项卡中,单击 检查更新(Check for updates) 按钮。
4A。如果有新更新可用,请单击 立即安装(Install Now) 并按照说明进行更新。
4B。否则,如果Windows是最新的,那么它将显示 您是最新的(You’re up to date) 消息。
另请阅读:(Also Read:) 修复打印机驱动程序(Fix Printer Driver)在 Windows 10 上不可用
方法 7:重新安装打印机(Method 7: Reinstall Printer)
假设您在运行(Suppose)打印机疑难解答(Printer troubleshooter)后遇到此错误。在这种情况下,您可以尝试按照以下说明重新安装遇到错误的任何特定打印机。
注意:(Note:)这里以Microsoft Print to PDF设备为例
1. 打开控制面板(Control Panel )并单击设备和打印机(Devices and Printers),如图所示。
2. 然后,右键单击打印机并选择删除设备(Remove device )选项,如下所示。
3.在删除设备(Remove Decice)提示中单击是。(Yes)
4. 稍后,单击添加打印机(Add a printer ),如下所示。
5. 现在,选择我想要的打印机未列出(The printer that I want isn’t listed )选项,如下所示。
6. 然后,单击添加本地打印机或具有手动设置的网络打印机,(Add a local printer or network printer with manual settings )如图所示,然后单击下一步(Next)。
7. 在下一个窗口中,单击“使用现有端口(Use an existing port )”下拉菜单中的PORTPROMPT:(本地端口)(PORTPROMPT: (Local Port) ) ,然后单击“下一步”(Next)。
8. 现在,选择制造商(Manufacturer )和打印机(Printers),如下所示,然后单击下一步(Next ),突出显示。
9. 如果需要,重命名打印机,然后单击下一步(Next)。
10. 最后,等待Windows安装打印机(Printer)并检查您是否再次遇到此错误。
方法8:修复系统文件(Method 8: Repair System Files)
您可以通过运行系统文件检查器(System File Checker)( SFC ) 和DISM扫描来自动扫描和修复系统(repair system)文件。按照下面提到的步骤来实现相同的。
1. 按 Windows 键(Windows key),键入 命令提示符(Command Prompt) 并单击 以管理员身份运行(Run as administrator)。
2.在 用户帐户控制(User Account Control) 提示中单击 是。(Yes)
3. 键入 chkdsk C: /f /r /x 命令并按 Enter 键(Enter key)。
4. 如果系统提示您, Chkdsk cannot run...the volume is... in use process,然后,键入 Y 并按 Enter 键(Enter key)。
5. 再次键入命令: sfc /scannow 并按 Enter 键(Enter key) 运行 系统文件检查器(System File Checker) 扫描。
注意:(Note:) 系统扫描将启动,需要几分钟才能完成。同时,您可以继续执行其他活动,但请注意不要意外关闭窗口。
完成扫描后,它将显示以下任一消息:
- Windows 资源保护未发现任何完整性违规。(Windows Resource Protection did not find any integrity violations.)
- Windows 资源保护无法执行请求的操作。(Windows Resource Protection could not perform the requested operation.)
- Windows 资源保护发现损坏的文件并成功修复它们。(Windows Resource Protection found corrupt files and successfully repaired them.)
- Windows 资源保护发现损坏的文件,但无法修复其中一些。(Windows Resource Protection found corrupt files but was unable to fix some of them.)
6. 扫描完成后, 重新启动(restart) 您的 PC(your PC)。
7. 再次 以管理员身份启动命令提示符(Command Prompt as administrator) 并依次执行给定的命令:
dism.exe /Online /cleanup-image /scanhealth
dism.exe /Online /cleanup-image /restorehealth
dism.exe /Online /cleanup-image /startcomponentcleanup
注意:(Note:) 您必须具有有效的Internet 连接(internet connection)才能正确执行DISM命令。
另请阅读:(Also Read:)如何在Windows 10中让(Windows 10)您的打印机重新联机(Your Printer Back Online)
方法 9:运行恶意软件扫描(Method 9: Run Malware Scan)
按照以下步骤运行恶意软件扫描并修复无法安装打印机句柄无效错误。
1. 同时按Windows + I keys 启动 设置(Settings)。
2. 在这里,单击 更新和安全(Update & Security) 设置,如图所示。
3. 转到 左侧窗格中的Windows 安全性。(Windows Security)
4. 单击右窗格中的 病毒和威胁防护(Virus & threat protection) 选项。
5. 单击 快速扫描(Quick Scan) 按钮搜索恶意软件。
6A。扫描完成后,将显示所有威胁。单击(Click)当前威胁(Current threats)下 的 开始操作 (Start Actions )。
6B。如果您的设备中没有威胁,设备将显示 无当前威胁 (No current threats )警报。
方法 10:运行启动修复(Method 10: Run Startup Repair)
运行启动修复(Startup repair)将帮助您修复无法安装打印机的句柄无效错误。请按照下面提到的说明来实施相同的操作。
1. 导航到 开始菜单(Start menu)。
2. 现在,选择 电源图标并在按住(Power icon)Shift 键(Shift key)的同时 单击重新启动(Restart )。
3. 在这里,单击疑难解答(Troubleshoot)。参考图片。
4.现在,单击高级选项(Advanced options ),然后单击启动修复(Startup Repair)。
5. 现在,单击继续(Continue )继续。如果您的帐户受密码保护,请选择您的帐户并输入密码以继续。
现在,启动修复(Startup repair)工具将扫描您的 PC 并修复问题。
另请阅读:(Also Read: )没有打印机时如何打印
方法 11:在安全模式下卸载损坏的更新(Method 11: Uninstall Corrupt Updates in Safe Mode)
其他一些面临无法安装打印机句柄是无效错误的用户已设法在安全模式下解决它。以安全模式启动(Boot)您的 PC,然后尝试卸载导致错误的最近更新。以下是在安全模式下(Safe Mode)安装更新的一些说明。
注意:(Note: )要以安全模式启动 PC,系统可能会提示您输入BitLocker 密钥(BitLocker key)(如果您有加密设备)。
要在安全模式下启动 PC,您必须进入Windows 恢复环境(Windows Recovery Environment),这可以通过反复关闭和打开设备来完成。
1. 同时按 Windows + I 键(keys) 打开 系统中的设置(Settings) 。
2. 现在,选择 更新和安全(Update & Security)。
3. 现在,单击 左侧窗格中的 恢复 ,然后选择(Recovery )高级启动下的(Advanced startup)立即重新启动 (Restart now )选项 。
4. 现在,让您的 PC 这次完全重启。您现在将进入 Windows 恢复环境(Windows Recovery Environment) 。
5. 在这里,单击 疑难解答(Troubleshoot)。
6. 现在,单击 高级选项 (Advanced options ),如图所示。
7. 现在,选择 高级选项 (Advanced options ),然后 选择启动设置。(Startup Settings.)
8. 单击 重新启动 (Restart )并等待 启动设置 (Startup Settings )屏幕出现。
9. 按 (数字)4 键((number) 4 key) 进入 安全模式(Safe Mode)。
注意:(Note:) 要启用具有网络访问权限的安全(network access)模式(Mode),请点击 数字 5(number 5)。
现在,您将能够通过在安全模式下启动 PC 后手动卸载最近的更新来跟踪和修复此问题。(this)
10. 按Windows键。键入控制面板(Control Panel)并启动它。
11. 将查看方式(View by)设置为大图标(Large icons)并选择程序和功能(Programs and Features)。
12. 现在,单击左窗格中的查看已安装更新(View installed updates ),如下所示。
13. 现在,选择最新更新并单击(update and click)卸载选项( Uninstall ),如下所示。
14. 然后,确认提示(如果有),然后重新启动您的 PC(reboot your PC)。
检查您是否已解决问题。
注意:(Note: )如果您在安全模式下(Safe Mode)遇到任何错误,请卸载或重新安装导致此错误的有问题的应用程序。
另请阅读:(Also Read:) 修复打印机安装错误 0x000003eb(Fix Printer Installation Error 0x000003eb)
方法 12:执行系统还原(Method 12: Perform System Restore)
更常见的情况是,您可能会面临无法安装打印机的问题, Windows 更新(Windows update)后句柄是无效错误。如果您遇到此问题,则可以将系统恢复到以前的版本。
注意:(Note:) 建议 在继续进行系统还原(System Restore) 之前将 Windows 10 PC引导至(Boot Windows 10)安全模式(Safe Mode)。
1. 按 Windows 键(Windows key),键入 命令提示符(Command Prompt) 并单击 以管理员身份运行(Run as administrator)。
2. 键入 rstrui.exe 命令并按 Enter 键(Enter key)。
3. 现在,在“ 系统还原” (System Restore )窗口中单击“ 下一步 ”,如图所示。(Next )
4. 最后,单击“ 完成 (Finish )”按钮确认还原点。(restore point)
现在,系统将恢复到以前的状态,现在检查问题是否已解决。
推荐的:(Recommended:)
- (Fix Service Error 1053)修复Windows 10 上的服务错误 1053
- 28款适用于Windows的(Windows)最佳文件复制软件(Best File Copy Software)
- 修复您尝试使用的(Use)功能(Feature)位于不可用的网络资源上(Network Resource)
- 修复缩放(Fix Zoom)无法检测到相机
我们希望本指南对您有所帮助,您可以修复Windows 10中(Windows 10)无法安装打印机(unable to install printer) 手柄无效(the handle is invalid )错误。让我们知道哪种方法最适合您。此外,如果您对本文有任何疑问/建议,请随时将它们放在评论部分。
Fix The Handle is Invalid Error in Windows 10
Windows always ensure the security оf the compυters and their users. Regular updates are releasеd frequentlу to keep your PC away from threаts and bugs. Thus, your device is maintained up to date whеn you follow the prompts to update it. Yеt, sometimes several updates are not installed сompletely, leading to errors. One of the common errors is υnable to inѕtall printer the handle is іnvalid. In this artiсle, you will know what is the handle is invalid error, and troubleshooting methods to resolve the handle is invalid Windows 10 issue.
How to Fix The Handle is Invalid Error in Windows 10
INVALID_HANDLE error occurs on the login or sign-up screen, and this error does not let you print a job or run any script. This error occurs due to incompatible Windows update files or any misconfigured system files in your PC. You may face the error under several circumstances, but being unable to install a printer prevents you from adding any printers or using an existing printer. You may face this install printer the handle is invalid error in all older versions of Windows, and you cannot proceed with any pending updates or software updates. Other reasons are listed below.
- Malware or virus attack
- Problematic registry file
- Incorrect log in credentials
- Windows unable to duplicate non-pseudo handles from PEB32 processes
In this section, we have compiled a list of methods that will help you fix this INVALID_HANDLE error. The methods are arranged according to the severity and effectiveness so that you can solve the problem at the earliest. Follow them in the same order to attain perfect results.
Method 1: Reboot PC
A simple restart will help you resolve any temporary errors, and thus you can easily fix this error. So, try to reboot your PC by following the below-mentioned steps and check if you face the problem again. Alternatively, you can fully shut down the system using the Power options and turn it on again.
1. Navigate to the Desktop by pressing Windows + D keys simultaneously.
2. Now, press Alt + F4 keys simultaneously. You will see a pop-up window as shown below.
3. Now, click on the drop-down box and select the Restart option.
4. Finally, hit Enter to reboot your system.
Check if this error is resolved now.
Method 2: Run Printer Troubleshooter
Running the Windows Printer Troubleshooter is the simplest way to resolve this error in your PC. All the corrupt and damaged files in your computer will be eliminated when you proceed with this process. Here are a few simple steps to run the Windows Printer Troubleshooter.
1. Press Windows + I keys simultaneously to open Settings.
2. Click pn Update & Security.
3. Click Troubleshoot. Then, select Printer and click on Run the troubleshooter.
4. Your system will undergo a screening process. Wait for the process to be complete, and if any issue is found in your system, click Apply this fix and follow the instructions given in the successive prompts.
5. Finally, restart your PC once all the issues are applied and fixed in your system.
Also Read: How to Fix Printer Not Responding in Windows 10
Method 3: Download HP Universal Print Driver ( For HP Systems)
Many users have reported that downloading HP Universal Print Driver has fixed this issue as it will automatically detect and configure both HP and non-HP drivers. You can also try downloading the HP Universal Print Driver from the HP website.
Method 4: Modify Local Security Policy
Many users have reported that modifying Network security policies has helped them resolve this error. There are certain parameters when changed, and they could be a great hand when you face such errors. Here are a few instructions to tweak Local Security Policies.
Note: You can access Local Security Policy only if you use Windows 10 Pro, Enterprise, and Education editions.
1. Launch the Run dialog box by pressing the Windows + R keys together.
2. Now, type secpol.msc in the box and hit Enter key.
Note: You can also type Local Security Policy in the Search box to open the window.
3. Then, click on Local Policies in the left pane, followed by Security Options as shown.
4. Now, in the right pane, double-click on Network security: LAN Manager authentication level to open it.
5. Now, in the Local Security Setting tab, select the Send LM & NTLM – use NTLMv2 session security if negotiated option from the drop-down menu as shown.
6. Now, click on Apply > OK to save the changes and return to the Local Security Policy window.
7. Then, double-click on Network Security: Minimum session security for NTLM SSP based (including secure RPC) clients to open it.
8. Now, uncheck the Require 128-bit encryption option as shown below.
9. Finally, click on Apply > OK to save the changes and reboot your PC.
Check if the issue is resolved now.
Also Read: Windows Cannot Connect to the Printer [SOLVED]
Method 5: Update or Roll Back Drivers
Follow these steps to update driver or rollback printer driver updates to fix unable to install printer the handle is invalid error.
Option I: Update Drivers
If the current drivers in your system are incompatible or outdated with the program files, then you will face the handle is invalid issue, especially with printers. Therefore, you are advised to update the printer drivers to prevent the said problem.
1. Type Device Manager in the Windows 10 search menu.
2. Double-click on Print queues to expand it.
3. Right-click the name of the printer and select Update driver.
Note: Here the Microsoft XPS Document Writer is shown as example.
4. Next, click on Search automatically for drivers to automatically download and install the best available driver.
5A. Now, the drivers will update and install to the latest version, if they are not updated.
5B. If they are already in an updated stage, the message saying The best drivers for your device are already installed will be shown.
Restart the computer, and check if you have fixed this issue in your system.
Option II: Roll back Driver Updates
If your system had been working correctly and began to malfunction after an update, rolling back the drivers might help. The rollback of the driver will delete the current driver installed in the system and replace it with its previous version. This process should eliminate any bugs in the drivers and potentially fix the said problem.
1. Type Device Manager in the Windows search bar and open it from the search results.
2. Double-click on the Printers from the panel on the left and expand it.
3. Right-click on the printer driver and click on Properties, as depicted.
4. Switch to the Driver tab and select Roll Back Driver, as shown highlighted.
5. Provide your reason for Why are you rolling back? in Driver Package rollback. Then, click on Yes, as illustrated below.
6. Then, click on OK to apply this change. Finally, restart your PC.
Method 6: Update Windows
Ensure that you use an updated version of Windows. Otherwise, the files in the system will not be compatible with the program files leading to the handle being an invalid issue. Follow the below-mentioned steps to update your Windows OS.
1. Press Windows + I keys simultaneously to launch Settings.
2. Click on the Update & Security tile, as shown.
3. In the Windows Update tab, click on Check for updates button.
4A. If a new update is available, then click Install Now and follow the instructions to update.
4B. Otherwise, if the Windows is up-to-date, then it will show You’re up to date message.
Also Read: Fix Printer Driver is unavailable on Windows 10
Method 7: Reinstall Printer
Suppose you face this error after running the Printer troubleshooter. In that case, you can try reinstalling any particular printers where you face the error as instructed below.
Note: Here, the Microsoft Print to PDF device is taken as an example
1. Open Control Panel and click on Devices and Printers as shown.
2. Then, right-click on the printer and select the Remove device option as shown below.
3. Click Yes in the Remove Decice prompt.
4. Later, click on Add a printer as shown below.
5. Now, select The printer that I want isn’t listed option as highlighted below.
6. Then, click on Add a local printer or network printer with manual settings as shown and click on Next.
7. In the next window, click on PORTPROMPT: (Local Port) in the drop-down menu of Use an existing port and click on Next.
8. Now, choose the Manufacturer and Printers as shown below and click on Next as highlighted.
9. Rename the printer if needed and click on Next.
10. Finally, wait for Windows to install the Printer and check if you face this error again.
Method 8: Repair System Files
You can automatically scan and repair system files by running System File Checker (SFC) and DISM scans. Follow the below-mentioned steps to implement the same.
1. Hit the Windows key, type Command Prompt and click on Run as administrator.
2. Click on Yes in the User Account Control prompt.
3. Type chkdsk C: /f /r /x command and hit Enter key.
4. If you are prompted with a message, Chkdsk cannot run…the volume is… in use process, then, type Y and hit the Enter key.
5. Again, type the command: sfc /scannow and press Enter key to run the System File Checker scan.
Note: A system scan will be initiated and it will take a couple of minutes to finish. Meanwhile, you can continue performing other activities but be mindful of not accidentally closing the window.
After completing the scan, it will show either of these messages:
- Windows Resource Protection did not find any integrity violations.
- Windows Resource Protection could not perform the requested operation.
- Windows Resource Protection found corrupt files and successfully repaired them.
- Windows Resource Protection found corrupt files but was unable to fix some of them.
6. Once the scan is finished, restart your PC.
7. Again, launch Command Prompt as administrator and execute the given commands one after the other:
dism.exe /Online /cleanup-image /scanhealth
dism.exe /Online /cleanup-image /restorehealth
dism.exe /Online /cleanup-image /startcomponentcleanup
Note: You must have a working internet connection to execute DISM commands properly.
Also Read: How to Get Your Printer Back Online in Windows 10
Method 9: Run Malware Scan
Follow these steps to run a malware scan and fix unable to install printer the handle is invalid error.
1. Hit Windows + I keys simultaneously to launch Settings.
2. Here, click on Update & Security settings as shown.
3. Go to Windows Security in the left pane.
4. Click on the Virus & threat protection option in the right pane.
5. Click on the Quick Scan button to search for malware.
6A. Once the scan is done, all the threats will be displayed. Click on Start Actions under Current threats.
6B. If there is no threat in your device, the device will show the No current threats alert.
Method 10: Run Startup Repair
Running Startup repair will help you to fix unable to install printer the handle is invalid error. Follow the below-mentioned instructions to implement the same.
1. Navigate to the Start menu.
2. Now, select the Power icon and click on Restart while holding the Shift key.
3. Here, click on Troubleshoot. Refer to the Pic.
4. Now, click on Advanced options followed by Startup Repair.
5. Now, click on Continue to proceed. If your account is password-protected, choose your account and type the password to proceed.
Now, the Startup repair tool will scan your PC and fix the issue.
Also Read: How to Print When You Don’t Have a Printer
Method 11: Uninstall Corrupt Updates in Safe Mode
Some other users facing unable to install printer the handle is an invalid error have managed to resolve it in safe mode. Boot your PC in safe mode and try uninstalling the recent update causing the error. Here are a few instructions to install the update in Safe Mode.
Note: To boot your PC in safe mode, you may be prompted with a screen to enter your BitLocker key (if you have an encrypted device).
To boot PC in safe mode, you have to enter into Windows Recovery Environment, which can be done by turning your device off and on repeatedly.
1. Press Windows + I keys together to open Settings in your system.
2. Now, select Update & Security.
3. Now, click on Recovery in the left pane and select the Restart now option under Advanced startup.
4. Now, allow your PC to restart completely this time. You will enter into Windows Recovery Environment now.
5. Here, click on Troubleshoot.
6. Now, click on Advanced options as shown.
7. Now, select Advanced options followed by Startup Settings.
8. Click on Restart and wait for the Startup Settings screen to appear.
9. Press the (number) 4 key to enter Safe Mode.
Note: To enable Safe Mode with network access, hit number 5.
Now, you will be able to follow and fix this by manually uninstalling the recent updates after booting the PC in safe mode.
10. Press the Windows key. Type Control Panel and launch it.
11. Set View by as Large icons and select Programs and Features.
12. Now, click on View installed updates in the left pane as shown here.
13. Now, select the most recent update and click on the Uninstall option, as shown below.
14. Then, confirm the prompt, if any, and reboot your PC.
Check if you have fixed the problem.
Note: If you face any errors in Safe Mode, uninstall or reinstall problematic applications causing this error.
Also Read: Fix Printer Installation Error 0x000003eb
Method 12: Perform System Restore
More often, you could face unable to install printer the handle is an invalid error after a Windows update. If you encounter this issue, then you could restore the system to its previous version.
Note: It is recommended to Boot Windows 10 PC into Safe Mode before proceeding with System Restore.
1. Hit the Windows key, type Command Prompt and click on Run as administrator.
2. Type rstrui.exe command and press the Enter key.
3. Now, click on Next in the System Restore window, as shown.
4. Finally, confirm the restore point by clicking on the Finish button.
Now, the system will be restored to its previous state, and now check if the issue is resolved.
Recommended:
We hope that this guide was helpful and you could fix unable to install printer the handle is invalid error in Windows 10. Let us know which method worked for you the best. Also, if you have any queries/suggestions regarding this article, then feel free to drop them in the comments section.