Technical
Stuff and Troubleshooting
|
|
to Win Advice...........
to Index
Operationally Windows95/98 presents potential
problems in the following areas, which most users are oblivious to:
This technical page will address the above, and
over time I shall add new items to it. I hope that you might find it useful.
Mick
Although most devices are now plug 'n' play
this does not mean to say that any new device added to a PC will automatically
be configured correctly.
Re-configuring of devices is done via Control
Panel - System - Device Manager - <selected device> - Properties -
Resources and/or Driver tabs.
General
Tips:
A Re-boot or
two
Remove,
re-install & re-boot
Check resources
& reconfigure non-plug'n'play devices
Wrong Driver -
One of the most common faults.
Other Devices
????
Other Devices -
PCI Bridge or PCI Card
The OBVIOUS
Changing COM port
Settings
Backing
Up and Restoring the Registry/ or Repairing the Registry
The Registry hold the key configurations for
your hardware and software and thus it is essential that Windows has a good
copy of it at all times.
Whilst Windows98 has an auto Registry backup
functionality, Win95 does not and therefore it is good practice to back the
Registry up. The Registry contains info
about Users, Settings, All Software and All Hardware installed
and their settings...etc.
|
FOR win98 users where backup is automatic, see how to repair the Registry if Windows won’t start
properly. For Win ME there is a utility in Windows to Restore the Sysytem (and
Registry) to an earlier time when the PC was functioning normally (Start,
Programs, Accessories, System Tools, System Restore |
It is ESSENTIAL for the start-up and running of
Windows95 and it's programs.
Whilst Windows95 does make a backup of this Registry
on each successful start-up, it is not only possible for the backup to be
restored.
The Registry is made up of two hidden files in
the Windows folder:
User.Dat - Users,
network & desktop settings
System. Dat -
Hardware, File,Display,Printer settings & performance data.
If you take off the file attributes then you
can copy the two files to a separate folder and thus have your whole Registry
kept safe at that location.
Should it be necessary to restore your Registry
because Win95 will not start correctly
|
or you have lost many device settings.....etc, then you can |
Restore the Registry (Win95 only) For Win98 see Repairing the Registry below |
to it's original condition.
Backing it Up:
In DOS Mode create a new file using the Edit
command:
C:\WINDOWS> Edit Regbckup
Type into the new edit screen:
.......................................................................................................................................
Cls
CD WINDOWS
Attrib -h -r -s User.Dat
Attrib -h -r -s System.Dat
|
Copy User.Dat c:\<folder Name> |
- You decide which folder |
|
Copy System.Dat c:\<folder Name> |
- You decide which folder |
Attrib +h +r +s User.Dat
Attrib +h +r +s System.Dat
Cls
Exit
........................................................................................................................................
Finally use File/Save to save the file, and
type EXIT to return to Windows.
In DOS Mode create a new file using the Edit
command:
C:\WINDOWS> Edit RegRecov
Type into the new edit screen:
........................................................................................................................................
Cls
|
CD <Folder> |
<the folder where the files are backed up in> |
Copy User.Dat c:\Windows
Copy System.Dat c:\Windows
CD..
CD WINDOWS
Attrib +h +r +s User.Dat
Attrib +h +r +s System.Dat
Cls
Exit
........................................................................................................................................
Finally use File/Save to save the file,
and type EXIT to return to Windows.
Registry & Registry Backup
corrupted
It is possible that both the Registry
(System.dat & User.Dat) and the backup Registry (System.DA0 & User.DA0)
were corrupted before a registry backup could be performed.
In this case you might think that there is little
alternative but to re-install Windows - there is however one last chance and
this is:
System.1st
This is a copy of System.Dat that was made when
Windows was first installed. This should be in the root directory(folder) of
your Windows system drive (usually C drive).
Copy System.1st to c:\windows\system.dat
You may have to amend some of your user
settings if User.Dat (these are your user details, network and desktop
settings) and User.DA0 suffered corruption, but at least Windows will re-start
and you have the opportunity to restore your user details, network &
desktop.
WIN98/WIN ME Repairing the Registry
Although Windows98 and Windows ME still have
User.dat and System.dat, the backup of the Registry is done automatically at
startup. As to restoring the Registry
this is now taken over by a repair utility.
The program can be run in DOS and is called SCANREG.
To run Scanreg:
Restart the PC, keep the Ctrl key on the
keyboard pressed down. A menu will
shortly appear. From this menu select
Command Prompt.
The prompt will be: C:\>
Type in:
cd Windows
and press the keyboard’s Enter key
The prompt now show: C:\Windows>
Type in then enter: cd Command
The prompt now show: C:\Windows\Command>
Type in then enter: Scanreg /fix
This will run the Register repair utility. At the end it will say that it is complete,
select OK. Restart the PC and let it go
into Windows.
Clearing Out Unwanted Files & freeing up Hard Drive Space
A hard drive can become 'clogged up' with unwanted
files, some of which you might not even know are there and others you know
about and should have got rid of some time ago.
If you have Windows 98, Use the Disk Cleanup
utility to get rid of Temporary files, Temporary Internet Files, unwanted
Downloaded Program files, and files no longer needed in the Recycle bin. To do
this: Click the Start Button, Accessories, System Tools, Disk Cleanup. When you
use this just take care not to cleanup files that you do need by viewing the
file types or lists in folders.
Generally speaking you should clear out Temporary
Internet files every couple of weeks so that this folder does not grow too big.
Check the normal Windows/Temp folder's Temporary
files (*.tmp) to make sure you haven't stored important files there within the
same folder, then clear it out using manually or by using Disk Cleanup.
Generally keep your eye on the contents of the
Recycle bin, where files you have deleted reside. You are sure that you do not
need to restore the files you have deleted in to it, then empty the Recycle Bin
manually or by using Disk Cleanup.
Downloaded program files usually have come from
the Internet. You have used these program files to set up programs or for other
purposes, then move the setup program to a separate folder and delete the rest
using Disk Cleanup.
Whether you have Window95 or Windows98 just
remember:
If the PC suffers a power-loss either by a
brown-out or accidental turning off whilst it is in Windows, or if the PC
hangs-up in Windows and needs to be re-booted from there
THEN
temporary files (extension of Tmp) which were
placed on the hard drive during memory swapping, will be left there instead of
being deleted during the normal windows shutdown.
If you don't have Disk Cleanup then:
You can have manually delete the files in
C:\Windows\Temp or have these Tmp files deleted at Start-up by editing your
Autoexec.bat
Use Run, Sysedit, or Shutdown and Restart in DOS
mode, then change to the root directory (CD\)and edit your Autoexec.bat file
use: Edit Autoexec.bat
add the following 2 lines:
-------------------------------
Set Temp=c:\Windows\Temp
Echo Y | DEL %TEMP%
--------------------------------
Save the file and close the Confuration Editor or
use EXIT to return to Windows from DOS
Use Internet Explorer, Tools, Internet Options,
General tab (or Start Settings, Control Panel, Internet Options, General tab)
to delete Temporary Internet files.
Use Start Settings, Control Panel, Add/Remove
Programs to correctly uninstall unwanted Programs that have been setup
previously.
Finally the health of your PC will naturally
suffer eventually if you don't give it a clean up now and again.. so make sure
you do it, whatever method you use.
Out of Memory message:
Although you may have 32MB or 64MB or more of
memory, it is still possible to get an 'Out of Memory' message - Why when you
may have more memory installed than the average PC ??. This can happen when:
A. You are using old Windows 3x programs, or badly written Window95 programs
which do not release memory resources when they have closed.
Older 16bit programs for Windows3x or 16bit
programs said to be for Windows95 which are not Windows 95-aware will not
release memory resources immediately after they quit. Subsequently running one
or more of these programs will use all memory resources and the only thing to
do then is to quit and re-start Windows. This also applies to programs which
drive hardware devices (drivers such as Fax,Cdrom...etc). If you have memory
problems and have older programs then consider acquiring new Windows95/98
versions.