Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsWindows VistaWindows XPWindows MeWindows 98Windows 95Virtual PCInternet ExplorerOutlook ExpressWindows MediaSecurity
Related Topics
MS Server ProductsMS OfficePC HardwareMore Topics ...

Windows Forum / Windows 95 / January 2004

Tip: Looking for answers? Try searching our database.

Disastrous Registry Corruption in Win95

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
jim price - 04 Jan 2004 20:18 GMT
I was backing up Win98 files from my notebook computer to
my upright computer, when I erroneously copied Win98 files
from the Windows and Windows\System directories into those
directories on my upright computer, which runs Win95.  I
was able to finally restart the upright computer and get
it working, but the Explorer program would not paste files
when dragging or using the CTRL-v keys.  To correct this I
deleted the Win98 files and reinstalled Win95 from my CD
ROM and really messed things up.  Apparently, I screwed up
the registry, and some files cannot be found by the
system.  

Here are examples of the error messages.  Windows Explorer
will still not paste.  Notepad, Wordpad and several other
programs will not run correctly, when opened the
message:"unable to register document; document may be
open" appears.  For Notepad, a message indicates
loadwc.exe could not be opened because
"shlwapi.dll:wnspintfa" was not found; the file
shlwapi.dll is in Windows\System directory.  

A similar message appears with WinWord (Office 97) in this
form:"could not be registered; unable to create links",
then a message about PDFWriter97.dot appears, then a
message about Visual Basic environment not initialized,
then "document could not be registered" naming the sought
filename.

In MSMoney 2000 the message is "wininet.dll is linked to
missing export SHLWAPI.dll:StrNCatA".  Surprisingly, EXcel
97 seems to work fine.

I trying using regclean.exe without any success.  Any
suggestions to correct this catastrophe?

My system uses a Pentium Pro cpu.
philo - 04 Jan 2004 22:48 GMT
> I was backing up Win98 files from my notebook computer to
> my upright computer, when I erroneously copied Win98 files
[quoted text clipped - 32 lines]
>
> My system uses a Pentium Pro cpu.

If you installed windows in a different folder from the original...
your apps won;t be in the registry and mat explain why they don't work.

You could try reinstalling windows back in the original windows folder...
but if that;s what you already did... i think i;d back up your data
and do a fresh install
Bill Starbuck - 04 Jan 2004 23:02 GMT
The following articles explain how to install Windows into a new
folder:

How to Reinstall Windows 95 to a New Folder [142096]
http://support.microsoft.com/support/kb/articles/142/0/96.asp

How to Install Windows 98 to a New Folder [193902]
http://support.microsoft.com/support/kb/articles/193/9/02.asp

However, before reinstalling Windows 98, you should first try running
the System File Checker. Go to Start/Run and enter “sfc”.

Information about reinstalling is also on www.windowsreinstall.com.

Bill Starbuck (MVP)
cquirke (MVP Win9x) - 05 Jan 2004 05:14 GMT
On Sun, 4 Jan 2004 12:18:53 -0800, "jim price"

>I was backing up Win98 files from my notebook computer to
>my upright computer, when I erroneously copied Win98 files
>from the Windows and Windows\System directories into those
>directories on my upright computer, which runs Win95.  

Hint: Show Full Path In Title Bar.  This sort of thing is a big reason
why MS's duhfault of hiding this information sucks.

>I was able to finally restart the upright computer and get
>it working, but the Explorer program would not paste files
>when dragging or using the CTRL-v keys.  

A common issue when the shell gets version soup'd, as in your case, or
due to misadventures in IE (un)installation etc.

>To correct this I deleted the Win98 files
OK, though rename-away is safer...
>and reinstalled Win95 from my CD
Bad idea - do NOT consider "just re-install Windows" to be a trivial
or safe procedure!  Better would have been to use Extract /A to pull
the replacement files WITHOUT going anywhere near Setup.exe

>Apparently, I screwed up the registry,

Your optimisim is touching (i.e. assuming that only the registry is
botched).  Smells like version soup from here.

> and some files cannot be found by the system.  

>Here are examples of the error messages.  Windows Explorer
>will still not paste.  

Try Extract /? followed by use of this to pull out a replacement
Shell32.dll (or is that Shell32.exe ?).  Rename the existing one
first, in case you want to Undo.

Win95 (any version) and Win98 (any version) - in fact, any Windows
version older than XP - is unfit for use on the 'net "as is", due to
serious defects within IE's HTML rendering code.  You have to either
leave IE at version 3.xx or older or take it to IE 5.01 SP2, 5.5 SP2
or any IE 6 variant in order to fix the MIME-spoofing bug.  See
http://users.iafrica.com/c/cq/cquirke/mimehole.htm

I hate to recommend this, but it is possible that doing this IE
upgrade may fix your issues, by consistently up-versioning the
afflicted files.  Thereafter any "just re-install Windows" will cause
serious version soup unless the new IE is uninstalled first.  

This is merely a common case of a general rule; don't install OS over
updated subsystem upgrades (IE, Winsock, DirectX).  At best, you will
lose all patches and upgrades, re-opening the defects these fixed.  At
worst, you will end up with unbootable porridge.

>Notepad, Wordpad and several other
>programs will not run correctly, when opened the
[quoted text clipped - 3 lines]
>"shlwapi.dll:wnspintfa" was not found; the file
>shlwapi.dll is in Windows\System directory.  

>A similar message appears with WinWord (Office 97) in this
>form:"could not be registered; unable to create links",
>then a message about PDFWriter97.dot appears, then a
>message about Visual Basic environment not initialized,
>then "document could not be registered" naming the sought
>filename.

Yep - this looks like you may have copied the *registry* from one PC
to another, which is Bad.  Suspect this if Plug-n-Play went on a
re-detection rampage, or your SVGA fell back to 16 colors.

>In MSMoney 2000 the message is "wininet.dll is linked to
>missing export SHLWAPI.dll:StrNCatA".  Surprisingly, EXcel
>97 seems to work fine.

>I trying using regclean.exe without any success.  Any
>suggestions to correct this catastrophe?

Go back in time and don't screw up   :-)

Sorry, that's prolly the only solution - in this case, you may be
forced to do drastic things, like re-install the OS after renaming
away the old Windows subtree and re-install all your apps etc.

Thereafter, fix the OS code defects (IE upgrade and other patches) and
design stupidities (e.g. stop it hiding info you NEED, such as the
full path, file name extension etc.) and apply risk management.

>My system uses a Pentium Pro cpu.

That's nice, but not a factor.  You really have dug yourself a large
crater here - I suggest you review your general SOP to build better
instincts and safer methods.  Axioms such as "never delete what you
can rename away or ;comment out" come to mind, as well as avoiding the
"just re-install Windows, you won't lose your settings!" advice BS.

>--------------- ----- ---- --- -- -  -    -
Error Messages Are Your Friends
>--------------- ----- ---- --- -- -  -    -
jim price - 05 Jan 2004 20:18 GMT
I appreciate your comments.  I had never heard "rename
rather than delete", but, after spending about 2 days
trying and failing to reinstall Win95, I can see value of
it.  I solved my problem by deleting the partition using
Fdisk then formatting.  I then installed Win98 SE into the
clean computer (my stationary upright).  I am now
reinstalling all my software application, which is very
time consuming.  My error in copying into the Windows
directory and eventually messing up the registry has cost
me at least 3 days of computer work.  It would be nice if
MS would suggest not to do this.  It is hard to make such
advise generally available, but this bulletion
board/discussion group would be a good place.

You mentioned IE might help.  Is that Internet Explorer?  
IE did not work, but my most frustrating problem was
Windows Explorer, which would not let me past drag-and-
drop or copied (^C) files.  I did not understand your
comments about shortcomings on MIME recognition in IE 5.x,
but I will check the url reference.

What is Extract?  I am not familiar with that system
program.  It sounds like that would have been a useful
effort early on, when I recognized my problem.  It was
actually easier to use the computer before I reinstalled
Win95; that really fouled things up with the registry.

Thanks for your helpful suggestions.  I appreicate the
other two comments I received.  They all helped.  It is
fortunate that more skilled people are available to help
someone, who prefers to use the old reliable (?) programs
rather than be frequently updating his computer.  

I recall when computers were a novelty for scientific
work, and you had to consider (before PC's) the time cost
of doing something by hand or writing a program for it.  
Computer solutions can be too time consuming for some
problems.  I never imagined they would become as popular
as they are.
>-----Original Message-----
>On Sun, 4 Jan 2004 12:18:53 -0800, "jim price"
[quoted text clipped - 100 lines]
>>--------------- ----- ---- --- -- -  -    -
>.
cquirke (MVP Win9x) - 14 Jan 2004 09:54 GMT
On Mon, 5 Jan 2004 12:18:19 -0800, "jim price"

>I appreciate your comments.  I had never heard "rename
>rather than delete", but, after spending about 2 days
>trying and failing to reinstall Win95, I can see value

Corrolory: Always maintain an Undo path   :-)

I always assume 25% of what I do will be wrong, so am mindful of how
I'll undo whatever it is that I do.  That rules out (or at least,
against) most fire-and-forget fixers such as ChkDsk /F, autofixing of
registry, SR, "just re-install", registry cleaners and so on.

>I solved my problem by deleting the partition using
>Fdisk then formatting.  I then installed Win98 SE into the
>clean computer (my stationary upright).  I am now
>reinstalling all my software application, which is very
>time consuming.  

The more value you add to the installation and setup process, the
better your running mileage - but the more costly is anything that
forces you to scorch and re-install.

>My error in copying into the Windows directory and
>eventually messing up the registry has cost me at least
>3 days of computer work.  It would be nice if MS would
>suggest not to do this.  

No, it wouldn't be.  You'd come to rely on the OS warning you about
what is imprtant and what isn't, and there's no way it can know that
(hint; 3rd-party applications you *run* on the OS).  

Rather know that when you swing the broadswoard, it's up to you to
know where the walls and valuables are!  

For that reason, I generally undo the patchy and inconsistent attempts
the OS makes to "mother" you, e.g.
 - warning of deleting .exe, but not shared .dll
 - hiding files you may need to see (such as dropped malware)
 - hiding .ext, making WYSIWYG risk assessment impossible

Perhaps the best example of lack of "big picture" awareness is hiding
"do these often" tasks such as Backup, Scandisk, and arguably Defrag
in the bowels of Properties, Tools, and then plonking FORMAT in the
middle of the rt-click menu between common tasks and Properties.

I remember a cartoon drawing illustrating an article on "bad
ergonomics": Reagan's desk, with two buttons right next to each other,
labelled "Launch" and "Lunch".

>You mentioned IE might help.  Is that Internet Explorer?  

Yep.  Though I can't remember (or think of) a context where IE would
help resolve a troubleshooting or stability issue   :-)

>Windows Explorer, would not let me past drag-and-drop
>or copied (^C) files.  I did not understand your comments
>about shortcomings on MIME recognition in IE 5.x,
>but I will check the url reference.

The "can't d-n-d / copy-or-paste" mileage I've seen often when the
versions of various shell components get scrambled, as can happen with
failed IE upgrades, or a "just re-install" over newer IE.

On MIME-spoofing; yep, read the URL, it was written so I didn't have
to write the whole story in various posts every time.  Consider:
 - what the HTML says a file is
 - what the file name extension says the file is
 - what the icon says it is (but seriously, folks...)
 - what the file's internal header says it is
 - what it actually does

For WYSIWYG security (risk assessment), all of these have to be
consistent.  Whenever code fails to cross-reference these cues (which
are good tip-offs about likely hostile intent), exploit opportunities
arise, where the need for SE is reduced ("I thought it was a Word
document - I'd never have run it if it was code!") or removed.

  (SE = Social Engineering, as in: "Hi, I'm Bob from your ISP,
  just doing the rounds to ensure our service is reliable from
  our client's perspective.  Let's have your password so I
  can measure the login response time..."

MIME-spoofing breaks the rule that the MIME description that is used
to decide whether to "open" the file inline or offer a link instead,
should match what the file is.  So raw code gets "opened"
automatically by the HTML rendering engine, if it happens to be
described as a MIME type safe to render inline.

Other flaws are where Windows looks at the internal content of the
file for cues as how to "open" the file, and doesn't check this
against the file name extension (which is all *you* have to decide on
how much of a risk you are taking).  Some extensions are hidden
anyway, and raw code hidden within such files that are supposed to be
DOS shortcuts is run, because there's no type check there either.

A file that is MIME-wrapped as safe, named as safe, has a safe icon
<snort>, is internally of a safe type, can still be a risk if code
defects allow it to overrun unchecked buffers and run that way.

Why am I so dismissive on icons, which are ostensibly a more
user-friendly way of providing the same info as inscrutible file name
extensions?  Because the most dangerous file type of all - raw code -
can have any icon embedded in it, that's why!

>What is Extract?  

It is a command line utility that is used to extract files from within
Microsoft's proprietary .cab archives; think of it as the MS
equivalent of PKUnZip, ARJ, etc.

Arj  X  ARCHIVE.ARJ  Wanted.txt
PKUnZip  BACKUP.ZIP  LostFile.doc
Extract /A  Win95_02.cab  Shell32.dll

Same concept, different vocabulary   :-)

>I recall when computers were a novelty for scientific
>work, and you had to consider (before PC's) the time cost
>of doing something by hand or writing a program for it.  

That maths still sucks for some tasks, e.g. ballpointing a "to do"
note on a scrap of paper vs. Outlook, New, Task etc.

When Outlook 97 first came out, I really did try to get into it.  I
ended up spending 80% of my time on "meta-work", futzing over fonts
within pop-up reminders etc. instead of actually *working*.  

It's not that Outlook is bad at this (it's far worse at other things)
it's just that the tasks are inherently too click-rich to be done more
efficiently on the PC than by hand.

>--------------- ---- --- -- -  -   -     -
  "We have captured lightning and used
   it to teach sand how to think."
>--------------- ---- --- -- -  -   -     -
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.