SunPCi User's Guide

Windows NT Problems

This section describes some problems you may encounter while using Windows NT.

General Protection Failures in Windows NT Applications

If your Windows applications show General Protection Failure or Null Pointer errors, you may need to install the Microsoft Windows Library update patch speu.exe. This patch is not included with the Windows NT software or with Service Pack 4. Information on the patch and the patch file are located on the Microsoft Web site at the following location:

http://www.microsoft.com/windows/downloads/contents/wurecommended/s_wuservicepacks/mfclibrary/default.asp?site=ntw

Problems Installing to Network Drives

If you have problems installing Windows NT applications to network drives, try installing the applications to your C: or D: drives. The applications should then install correctly.

Recovering from Windows NT Setup

After you have finished installing and configuring Windows NT, you may want to use the Windows NT CD again at another time (for example, to view the Windows NT documentation on the disk). If you insert the Windows NT CD into your CD-ROM drive, an Autorun dialog box is displayed. This dialog box includes the Windows NT Setup option. Do not use this option to reinstall Windows NT; use the Add/Remove Software option in the Autorun dialog box or the Add/Remove Software Control Panel.

If you did select the Windows NT Setup option by mistake, select a different operating system in the OS Loader screen after SunPCi reboots. For example, choose Last Operating System on C:.

Creating Windows NT Repair Disks

The boot floppies that come with the Windows NT Workstation package do not contain the SunPCi drivers. If you try to use these repair disks to recover from a Windows NT, the SunPCi drivers will not be installed and the software will not work correctly.

If you want to create a repair disk for your SunPCi installation of Windows NT, perform the following procedure:

  1. From the Start Menu, choose Shut Down, and then choose Restart the Computer.

  2. Click OK.

    Windows NT shuts down and restarts.

  3. At the OS Loader screen, use the down arrow key to select Previous Operating System on C:. Press Return.

    SunPCi then boots into DOS. When it has finished booting, the DOS prompt (C:\>) is displayed.

  4. Back up the following files to another area on your workstation's hard disk or to a floppy. These files are needed in order to initialize the MS-DOS environment.

    C:\winnt\system32\Autoexec.nt C:\winnt\system32\Config.nt

  5. Copy the following files to a floppy disk. If Windows NT Workstation 4.0 does not start up, you will need this floppy in order to boot Windows NT.

    C:\Ntldr C:\Boot.ini C:\Ntdetect.com C:\bootsect.dos C:\Hal.dll

    You might want to make more than one copy of this floppy, in case one copy is damaged or lost.

  6. Copy these registry files to a directory on your workstation's hard disk (such as $HOME/temp). You will need these files to restore the Windows NT Registry.

    C:\System32\config\Sam C:\System32\config\Sam.log C:\System32\config\Sam.sav C:\System32\config\Security C:\System32\config\Security.log C:\System32\config\Security.sav C:\System32\config\Software C:\System32\config\Software.log C:\System32\config\Software.sav C:\System32\config\System C:\System32\config\System.alt C:\System32\config\System.sav C:\System32\config\System.log C:\System32\config\Default C:\System32\config\Default.log C:\System32\config\Default.sav C:\System32\config\Userdiff C:\System32\config\Userdiff.log


    Note –

    You may not have .sav files in your directory. This is normal. However, if you do have .sav files, it is a good idea to back them up.


  7. Copy these files to floppy to restore the default user profile:

    C:\winnt\profiles\Default User\Ntuser.dat C:\winnt\profiles\Default User\NTuserdat.log


    Note –

    In DOS, the directory will appear as C:\winnt\profiles\Defaul~1\.


Using the Repair Disks

When you need to recover Windows NT, follow this procedure:

  1. Insert the floppy with the DOS files you copied into your floppy drive and then start SunPCi.

    Your SunPCi window will boot to the DOS prompt.


    Note –

    If you have trouble booting to the DOS prompt and you have the MS-DOS 6.22 diskette available, insert the DOS diskette into your floppy drive and restart SunPCi again.


  2. At the DOS prompt, copy the files from the other floppies back into the directory paths specified in each of the steps.

  3. Copy the files you stored on your workstation's hard disk into the specified directories.

  4. When you have finished copying all of the saved files into their respective directories, choose File and Reset PC to restart SunPCi.

    SunPCi boots into Windows NT.

  5. If you have trouble booting into Windows NT, insert the floppy with the Windows NT boot files that you created in Step 1 of the previous procedure in your floppy drive and restart SunPCi again.

    Windows NT should boot from the floppy; press F3 to boot to the DOS prompt. You can now recopy the Windows NT boot files from the floppy disk onto your C: drive.


    Note –

    If you need to restore the Windows NT system password files only, restore the following files: C:\System32\config\Sam C:\System32\config\Sam.log C:\System32\config\Sam.sav