Error message: "Handle is invalid"

R

RScotti

Hi,
I just did a complete clean install of my Windows XP MCE cause I had a problem with Vista RC1 and noticed that when I
try to print from Notepad.exe I get this message:
"Handle is invalid"

I can still print from MS Word, MS Works, Wordpad and MS Paint so it must be something to do with that program?

I just went to the Microsoft data base and found these answers but none of them apply to Notepad but am including them
in case they have something valuable:
Search the Support Knowledge Base (KB)
You Searched Search Help | Switch to Advanced Search

Search In: English Knowledge Base (KB)
All of Microsoft.com
Internet
Select which content you want to search in.
Search Product: Windows XP Service Pack 2---- All Products ----Access 2000Access 2002Access 2003Access 97Excel 2000Excel 2002Excel 2003Exchange ServerExchange 2000 ServerExchange Server 2003Exchange Server 5.5FrontPage 2002FrontPage 2003Internet Explorer 6.0Internet Information Services 6.0Internet Security and Acceleration Server 2000Internet Security and Acceleration Server 2004MoneyOfficeOffice 2000Office 2003Office XPOutlookOutlook 2000Outlook 2002Outlook 2003Outlook Express 6.0SharePoint Portal Server 2003Systems Management Server 2003SQL ServerSQL Server 2000SQL Server 2005Visual Basic .NET 2003Visual Basic 6.0Windows 2000Windows 2000 Advanced ServerWindows 2000 ServerWindows 98Windows Media Player 10Windows Media Player 9 SeriesWindows Millennium EditionWindows NT Server 4.0Windows NT Workstation 4.0Windows Server 2003Windows Small Business Server 2003Windows UpdateWindows XPWindows XP Service Pack 2Word 2000Word 2002Word 2003---- More Products ----
Select a product to search from the Search Product list, or accept the default All Products option. Select More Products in this list to see the complete list of Microsoft products.
For:
Type the words on which you want to search.



Search Results
Results 1-6 of 6

• "Terminal read: The handle is invalid" error message when you run the rsh command on a Windows XP Professional Service Pack 2-based computer
(892099) - ... the rsh command on a Microsoft Windows XP Professional-based computer that has Windows XP Service Pack 2 (SP2) installed, and you include the -n option in the command to redirect the input of rsh to NULL, you receive the following error message: Terminal read: The handle is invalid.
http://support.microsoft.com/kb/892099/en-us
• The RSH command does not accept input that is piped from a file in Windows XP Professional with Service Pack 2 and in Windows Server 2003 with Service Pack 1
(896336) - Additionally, you may receive an error message that is similar to the following: Terminal read: The handle is invalid.
http://support.microsoft.com/kb/896336/en-us
• You cannot use the command history when you use the Remote Shell utility in Windows 2000 with Service Pack 4 or in Windows XP with Service Pack 2
(895109) - Additionally, you receive the following error message: Terminal read: The handle is invalid.
http://support.microsoft.com/kb/895109/en-us
• List of Error Codes for Dial-up Connections or VPN Connections
(824864) - 601 The port handle is invalid. ... 607 The event is invalid. ... 610 The buffer is invalid. ... 954 Received invalid packet from RADIUS server.
http://support.microsoft.com/kb/824864/en-us
• List of fixes included in Windows XP Service Pack 2
(811113) - ... on Your Pentium III-M Tualatin Processor Computer Base operating system 810097 The "ipconfig" command does not return connection-specific DNS suffixes for Windows XP Base operating system 810182 The WNetOpenEnum() Function May Not Work If There Are Too Many Open File Handles on a ...
http://support.microsoft.com/kb/811113/en-us
• Information about enhanced browser security in Windows XP Service Pack 2 for Internet developers
(884451) - ... Explorer Using Feature Control Registry Settings with Security Zone Settings Internet Explorer Feature Control Settings in Group Policy Internet Explorer UrlAction Settings in Group Policy Internet Explorer Local Machine Zone Lockdown Internet Explorer MIME Handling Enforcement Internet ...
http://support.microsoft.com/kb/884451/en-us

Have a good day,
RScotti

remove "nospam" in order to email me.

My Specifications:
HP Windows XP MCE 2005 & Vista RC-1
PentiumD 820 (S) DC 2.8 GHz
Socket 775 Chipset Intel 945P
Asus Motherboard Name: P5LP-LE
Memory Installed 2 GB (2 x 1 GB)
Hard drive 250 GB SATA 7200 rpm
Western Digital External HD 500 GB
16X DVD(+/-)R/RW (+/-)R DL LightScribe drive
Nvidia Video Graphics GeForce 7300LE 256 MB
Sound/Audio Integrated High Definition audio
Realtek ALC 882 chipset Supports up to 8 audio channels Dolby Pro Logic II compatible
 
P

Patti MacLeod

Hi RScotti,

Open the Properties window for the Notepad shortcut. Check the path in the
Target field, as it should point to either <drive
letter>\WINDOWS\system32\notepad.exe or <drive letter>\WINDOWS\notepad.exe
(<drive letter>\WINDOWS might be replaced with %SystemRoot% and that is
okay) and the Start in field should point to <drive letter>\WINDOWS\system32
or <drive letter>\WINDOWS
If the path is different than the above, edit it to point to the correct
path.



Regards,
 
R

RScotti

Your right Patti.
It was pointed to C:\I386 so just to be sure I reinstalled notepad per HP instructions and changed the path to
C:\windows.It now works.
Thanks for your help. This has been bugging me for a long time.

Hi RScotti,

Open the Properties window for the Notepad shortcut. Check the path in the
Target field, as it should point to either <drive
letter>\WINDOWS\system32\notepad.exe or <drive letter>\WINDOWS\notepad.exe
(<drive letter>\WINDOWS might be replaced with %SystemRoot% and that is
okay) and the Start in field should point to <drive letter>\WINDOWS\system32
or <drive letter>\WINDOWS
If the path is different than the above, edit it to point to the correct
path.



Regards,

Have a good day,
RScotti

remove "nospam" in order to email me.

My Specifications:
HP Windows XP MCE 2005 & Vista RC-1
PentiumD 820 (S) DC 2.8 GHz
Socket 775 Chipset Intel 945P
Asus Motherboard Name: P5LP-LE
Memory Installed 2 GB (2 x 1 GB)
Hard drive 250 GB SATA 7200 rpm
Western Digital External HD 500 GB
16X DVD(+/-)R/RW (+/-)R DL LightScribe drive
Nvidia Video Graphics GeForce 7300LE 256 MB
Sound/Audio Integrated High Definition audio
Realtek ALC 882 chipset Supports up to 8 audio channels Dolby Pro Logic II compatible
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top