Archived from groups: microsoft.public.windowsxp.help_and_support (
More info?)
hirschfeld
Try SFC:
http://support.microsoft.com/?kbid=310747
--
Ramesh, Microsoft MVP
Windows XP Shell/User
http://windowsxp.mvps.org
"hirschfeld" <hirschfeld@discussions.microsoft.com> wrote in message
news:08F24DBE-AD3E-46F6-886A-636690AEF044@microsoft.com...
> Ramesh,
> I've found the file in my CD, I copied it and wrote it to the system32
> file;
> still get error message on notepad, BTW the mshta.exe is a notepad file
> according to the icon. I don't how how to remove the old mshta and replace
> it. I've tried to delete the old .exe, but came back.
>
> "Ramesh, MS-MVP" wrote:
>
>> The 65KB mshta.exe file might be the renamed notepad.exe. You can confirm
>> it
>> by double-clicking the mshta.exe in your System32 folder. BTW, the
>> filesize
>> of the original mshta.exe from XP SP2 system is 29KB
>>
>> Try extracting the original copy from the XP CD, or ServicePack Files
>> source
>> path. Or, see if copying the file from SoftwareDistribution folder helps.
>>
>> --
>> Ramesh, Microsoft MVP
>> Windows XP Shell/User
>>
http://windowsxp.mvps.org
>>
>>
>> "hirschfeld" <hirschfeld@discussions.microsoft.com> wrote in message
>> news:3E6E55B8-AED2-4FD8-907C-8F5CBD74913B@microsoft.com...
>> > Hello Ramesh-
>> > At the command prompt I typed assoc.hta=htafile and hit enter
>> > the window repeated hta=htafile and then returned another command
>> > prompt
>> > line, C
![:D :D]()
ocuments,settings, owner>
>> > I typed in windows\system32
>> > this was not recognized as a command, so nothing happened.
>> >
>> > I located the mshta.exe file with the seach engine; there are 3:
>> > MSHTA.EXE-1299A8EF.pf this is a 10KB file
>> > mshta.exe; this is the WINNT\system32 file; 65KB
>> > mshta.exe; this is WINNT\SoftwareDistribution\Download\(long string of
>> > letters and #; 29KB
>> >
>> > I think the last one is an app I downloaded, a security devise
>> > recommended
>> > by PC magazine. Maybe this is the problem. I will delete it and see.
>> > Will
>> > also wait for your response. Thanks, Hirschfeld
>> > "Ramesh, MS-MVP" wrote:
>> >
>> >> Open a CMD prompt window and type this command: (without quotes)
>> >>
>> >> "assoc .hta=htafile"
>> >>
>> >> Then, open Windows\System32 folder and note down the file-size for
>> >> mshta.exe. Post the info here.
>> >>
>> >> --
>> >> Ramesh, Microsoft MVP
>> >> Windows XP Shell/User
>> >>
http://windowsxp.mvps.org
>> >>
>> >>
>> >> "hirschfeld" <hirschfeld@discussions.microsoft.com> wrote in message
>> >> news:4CC2F2C0-D0B3-4277-82C8-A81C59F1A1F8@microsoft.com...
>> >> > clicking on "user accounts" opens note pad message " invalid
>> >> > directory,filename or syntax". uisng windows XP on pentuim 4.
>> >>
>> >>
>>
>>