-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Printers
- Printing Errors or Lights & Stuck Print Jobs
- HP 2400 all in one printer will not print - script error aft...

Create an account on the HP Community to personalize your profile and ask a question
08-04-2019 12:58 PM
I have uninstalled and installed this printer many times
It's telling me i have a script error for the 1st time
I have been at this for about a week and a half and can't print. I am weary from it all
Does anybody out there know how to fix this?
I recently upgraded to windows 7 from windows visa
Could there be something in the files that is not uninstalling or is there something wrong with a gremlin that might be sick?
I sure need help from someone that can help me fix this.
Woe is me
08-06-2019 04:22 PM
@SANDYFEET, Welcome to HP Support Community!
Step 1: Download and run HP Print and Scan Doctor
Download and run the HP Print and Scan Doctor to automatically diagnose and resolve printer hardware and connection issues.
If the error persists, continue to the next step.
Step 2: Install the software patch manually
Select your operating system, and then install a software patch.
-
On your computer, click the Windows icon (
), and then click Run.
-
In the Run dialog box, type regedit, and then click OK. The Registry Editor window opens.
-
Click File, and then click Export. The Export Registry File window opens.
-
From the Save in: dropdown menu, select Desktop.
-
In the File name: box, type backup.
-
In the Save as type: dropdown menu, select Registration Files (*.reg).
-
For Export range, select All, and then click Save.
NOTE:
You can delete this file once the issue has been resolved.
-
On your computer, click the Start icon (
), click Accessories, and then click Notepad. A Notepad window opens.
-
Copy the following text, and then paste it in Notepad.
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\.hta]
[-HKEY_CLASSES_ROOT\htafile]
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.hta]
[HKEY_CLASSES_ROOT\.hta] "PerceivedType"="text" @="htafile" "Content Type"="application/hta"
[HKEY_CLASSES_ROOT\.hta\PersistentHandler] @="{eec97550-47a9-11cf-b952-00aa0051fe20}"
[HKEY_CLASSES_ROOT\htafile] "EditFlags"=dword:00100000 @="HTML Application" "FriendlyTypeName"="@C:\\Windows\\System32\\mshta.exe,-6412"
[HKEY_CLASSES_ROOT\htafile\CLSID] @="{3050f4d8-98B5-11CF-BB82-00AA00BDCE0B}"
[HKEY_CLASSES_ROOT\htafile\DefaultIcon] @="C:\\Windows\\System32\\mshta.exe,1"
[HKEY_CLASSES_ROOT\htafile\Shell]
[HKEY_CLASSES_ROOT\htafile\Shell\Open]
[HKEY_CLASSES_ROOT\htafile\Shell\Open\Command] @="C:\\Windows\\System32\\mshta.exe \"%1\" %*"
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.hta]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.hta\OpenWithList]
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.hta\OpenWithProgids] "htafile"=hex(0):
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.hta\UserChoice] "Progid"="htafile"
-
Save the text file on the Desktop as Fix_hta.reg, and then close Notepad.
-
Double-click the Fix_hta.reg file that you just created on the Desktop.
-
Click OK, and then click OK again.
-
Open HP Printer Assistant.
Refer to this document HP Printers - HP Printer Assistant Opens with a Script Error (Windows)
Keep me posted for further assistance.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution. Click the “Kudos/Thumbs Up" on the bottom right to say “Thanks” for helping!
TEJ1602
I am an HP Employee
Question | Author | Posted | |
---|---|---|---|
10-18-2018 01:53 PM | |||
09-20-2023 06:40 AM | |||
11-14-2023 08:11 AM | |||
07-21-2023 06:04 AM | |||
09-25-2023 12:06 AM |