home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / WPDINI.FAX < prev    next >
Text File  |  1995-01-03  |  21KB  |  496 lines

  1. OSWPDESK - WARP DESKTOP PROBLEMS & RECOVERING USER INI FILES
  2. 11/14/94
  3.  
  4. ================================================================
  5. WARP DESKTOP PROBLEMS, RECOVERING CONFIG.SYS & USER INI FILES
  6. ================================================================
  7.  
  8. Please Read Entire Document for Full Explanation of Procedures
  9. ----------------------------------------------------------------
  10.  
  11. DESKTOP PROBLEMS
  12. ================================================================
  13.   Following are solutions to problems you might have with the
  14.   Desktop after installing OS/2 WARP.
  15.  
  16.   SYMPTOMS:
  17.  
  18.   THE SYSTEM STOPS AND THE KEYBOARD AND MOUSE DO NOT RESPOND.
  19.  
  20.     1.  Press Ctrl+Esc or Alt+Esc and wait for a few seconds to
  21.         see if the system responds.
  22.     2.  Determine if you can move the mouse but cannot select
  23.         any object when you press mouse button 1.
  24.     3.  Press the Caps Lock and Num Lock keys to see if their
  25.         status lights come on.
  26.     4.  Record a description of what you were doing when the
  27.         system stopped.  If any messages were displayed on the
  28.         screen, be sure to record the message text and number.
  29.     5.  Refer to the Service and Support brochure in the OS/2
  30.         package for instructions about calling for additional
  31.         assistance.
  32.  
  33.   MISSING ICONS
  34.  
  35.   After restarting the system, some of your Desktop icons might
  36.   be missing.
  37.  
  38.   Check the documentation for the hard drive and the controller
  39.   card to ensure that their settings are both set for the ASYNCH
  40.   mode or the SYNCH mode.
  41.  
  42.   STACKED ICONS
  43.  
  44.   If the objects on the Desktop appear to be stacked on each
  45.   other, you can refresh the Desktop:
  46.  
  47.     1.  Position the mouse pointer on a blank area of the
  48.         Desktop.
  49.     2.  Press mouse button 2. A pop-up menu appears.
  50.     3.  Select Refresh.
  51.     4.  If the screen goes blank, press Alt+Esc to switch
  52.         between programs and force the "repainting" of the
  53.         screen.
  54.  
  55.   DOS AND WINDOWS PROGRAMS NOT ADDED TO THE DESKTOP
  56.  
  57.   During the installation of OS/2, the existing DOS and Windows
  58.   programs are automatically added to the OS/2 Desktop.  However,
  59.   the installation program might not find all programs, for
  60.   example, programs located on remote servers.  If this happens,
  61.   restart the system, and run the Add Programs to Desktop utility
  62.   program.  Add Programs to Desktop is located in the System
  63.   Setup folder, which is located in the OS/2 System folder.
  64.  
  65.   OS/2 2.X PROGRAMS NOT ADDED TO THE DESKTOP
  66.  
  67.   If you installed OS/2 on a system that already had OS/2 2.x
  68.   installed on it and the OS/2 2.x programs were not added to
  69.   the Desktop, do the following:
  70.  
  71.     1.  Turn on the computer.  If the computer is already on,
  72.         press Ctrl+Alt+Del to restart the system.
  73.     2.  When a small white box appears in the upper left
  74.         corner of the screen, press Alt+F1.
  75.     3.  When the Recovery Choices screen appears, press C.
  76.     4.  Delete the DESKTOP directory.
  77.     5.  Press Ctrl+Alt+Del to restart the system.  The Desktop
  78.         should be re-created.
  79.     6.  If the problem continues, re-create the INI files.
  80.         Follow the instructions below in "Rebuilding Your
  81.         Desktop".
  82.  
  83.   If you moved program groups off the Desktop and into a folder,
  84.   you should move them back on the Desktop before installing
  85.   OS/2.  Otherwise, duplicate icons could appear on the screen.
  86.   If you try to delete these icons, the original icons will also
  87.   be deleted.
  88.  
  89.   BLANK DESKTOP AND MISSING OBJECTS
  90.  
  91.   If the Desktop is blank, objects are missing, you cannot delete
  92.   an object, or you have another program that involves objects,
  93.   run the CHKDSK (check disk) program until the results indicate
  94.   there are no errors.  To run CHKDSK, do the following:
  95.  
  96.     1.  Insert the Installation Diskette in drive A:.
  97.         Press Ctrl+Alt+Del to restart the system.
  98.     2.  When prompted, remove the Installation Diskette and
  99.         insert Diskette 1.
  100.     3.  Press F3 in the Welcome screen to exit the command
  101.         prompt.
  102.     4.  Insert Diskette 2.
  103.     5.  Type: CHKDSK C:/F:2 and press Enter (where C is the drive
  104.         where OS/2 is installed).
  105.  
  106.   OBJECT CANNOT BE DELETED
  107.  
  108.     If you cannot delete an object, do the following:
  109.  
  110.     1.  Create a folder.
  111.     2.  Drag the object you want to delete to the new folder and
  112.         drop it.
  113.     3.  Drag the new folder to the Shredder and drop it.
  114.  
  115.     If you cannot shred the folder, do the following:
  116.  
  117.     1.  At an OS/2 command prompt, type:
  118.           CD DESKTOP and press Enter.
  119.     2.  After the DESKTOP directory opens, type:
  120.           RD directory and press Enter.
  121.         (where directory is replaced by the name of the directory
  122.         (folder) that you want to delete).
  123.  
  124.  
  125. RECOVERY PROCEDURES
  126. ================================================================
  127.  
  128.   The following procedures provide information for recovering
  129.   from Desktop problems and system failures, including:
  130.  
  131.   A.  A damaged, unusable, or unstartable desktop.
  132.   B.  An invalid CONFIG.SYS file.
  133.   C.  A damaged INI file.
  134.   D.  Hard disk errors.
  135.   E.  A forgotten lockup password.
  136.  
  137.   NOTE:  Backing up the system regularly might help avoid
  138.          having to re-create files if there is a system
  139.          failure.
  140.  
  141.   If your Desktop becomes damaged, unusable, or unstartable, you
  142.   can recover in two ways:
  143.  
  144.   A.  Use the Archive/Recover utility program to restore the
  145.       Desktop to a previously saved state.
  146.   B.  Rebuild the exiting Desktop.
  147.  
  148.   RECOVERING ARCHIVED SYSTEM FILES
  149.  
  150.   OS/2 can archive key system files as well as the DESKTOP
  151.   directory each time you start OS/2.  The default setting for
  152.   this feature if OFF.  (The Archive function can be turned ON
  153.   using the Archive page of the Desktop Settings notebook.)
  154.  
  155.   When the Archive function is turned ON, the state of the key
  156.   system files and Desktop as they existed at the last three
  157.   "starts" of OS/2 are saved.  Each time you restart OS/2, the
  158.   oldest set of archived System files is deleted and the current
  159.   System files are saved.  OS/2 also keeps a permanent archive of
  160.   the Desktop and key files as they existed when OS/2 was first
  161.   installed, so you can always restore the system to its
  162.   original state.
  163.  
  164.     SYMPTOMS:
  165.  
  166.      1.  Folders Open and Close Immediately
  167.            Use the instructions below:
  168.  
  169.      2.  Missing, Empty, or Multiple Objects on Desktop
  170.          A.  The Desktop is missing objects or there is more than
  171.              one icon for the same object.
  172.          B.  One or more Desktop folders are empty.
  173.          C.  After you shutdown the computer and start it again,
  174.              the objects on the Desktop are not displayed the
  175.              same as when you shut down.
  176.  
  177.            Follow the instructions below:
  178.  
  179.            NOTE:  If this does not fix the problem, proceed to
  180.                   the instructions below for "Rebuilding Your
  181.                   Desktop".
  182.  
  183.   To use the archived System files, do the following:
  184.  
  185.       1.  Turn on the computer.  If the computer is already on,
  186.           perform a shut down, then press Ctrl+Alt+Del to restart
  187.           it.
  188.       2.  When a small white box appears in the upper left corner
  189.           of the screen (before the OS/2 logo screen appears),
  190.           press Alt+F1.
  191.       3.  A screen appears, listing the three most recent
  192.           archives.  Do one of the following:
  193.             A.  Type the number of the archive you want to use to
  194.                 restore the system.
  195.             B.  Type X to restore the system to its original
  196.                 state (as it was when you first installed OS/2).
  197.             C.  Type C to get an OS/2 command prompt (for
  198.                 example, if you want to edit the CONFIG.SYS
  199.                 file).
  200.             D.  Type V to reset the primary display to VGA (for
  201.                 example, if you think your Desktop is not damaged
  202.                 but cannot be seen because you need to reinstall
  203.                 your VGA device drivers).
  204.  
  205.  
  206. RECOVERY CHOICES DURING RESTART
  207. ================================================================
  208.  
  209.   The Recovery Choices screen lets you specify how the system is
  210.   to restart while a restart is in progress.  Display the
  211.   Recovery Choices screen during the restart by pressing Alt+F1
  212.   when a small white box appears in the upper left corner of the
  213.   screen.  If you want the system to display the Recovery Choices
  214.   screen each time it restarts, select Display Recovery Choices
  215.   At Every System Restart on the Archive page of the Desktop
  216.   Settings notebook.
  217.  
  218.   On the Recovery Choices screen, you can:
  219.  
  220.   1.  Select the set of archived system files that the system is
  221.       to use to restart.
  222.   2.  Continue using the originally installed system files to
  223.       restart, and go to a command line
  224.   3.  Continue using the original installation files to restart,
  225.       and reset the primary display to VGA.
  226.   4.  Restart the system using a customized CONFIG.SYS file that
  227.       you have created.
  228.  
  229.   Each set of archived files appears on the Recovery Choices
  230.   screen with the date and time when the files were archived.
  231.   The choices are numbered 1, 2, 3 or, for the original
  232.   installation files, X.  Select the files that you want the
  233.   system to restart with by pressing 1, 2, 3, or X on the
  234.   keyboard.  The system continues to restart using the set of
  235.   archived files represented by the number or character you
  236.   pressed.
  237.  
  238.   To go to a command line without changing the system files,
  239.   press the C key on the keyboard.
  240.  
  241.   To reset the primary display to VGA, press the V key on the
  242.   keyboard.
  243.  
  244.   The character keys that you press can be uppercase or lowercase
  245.   letters.
  246.  
  247.   To restart the system using a customized version of the
  248.   CONFIG.SYS file, enter an alphabetic character that corresponds
  249.   to the name of a of a CONFIG.SYS file that you created.
  250.  
  251.  
  252. CREATING CONFIG.SYS FILES
  253.  
  254.   In some cases, you need different CONFIG.SYS files to create
  255.   environments specific to the kinds of work you are doing.  For
  256.   example, when you use a laptop computer with a docking station,
  257.   you might want a CONFIG.SYS file that supports your laptop
  258.   computer and one that supports your desktop computer.
  259.  
  260.   You can create different versions of the CONFIG.SYS file, and,
  261.   during restart, specify from the Recovery Choices screen which
  262.   version the system should use.  You can also customize the
  263.   Recovery Choices screen to display your customized CONFIG.SYS
  264.   file choices.
  265.  
  266.   The following steps describe how to create and use multiple
  267.   CONFIG.SYS files.  In these steps, ?  is any unique single
  268.   alphabetic character EXCEPT:  X, x, C, c, V, or v. These steps
  269.   use C as the root directory.  If you installed OS/2 on a drive
  270.   other than C, replace the C in the path name with the drive
  271.   letter of the root directory.
  272.  
  273. 1.  Save a copy of the current CONFIG.SYS file.
  274.  
  275.     You can save a copy of the current CONFIG.SYS file by copying
  276.     it to a diskette.  Otherwise, you can copy the current
  277.     CONFIG.SYS file to the C:\OS\BOOT subdirectory, and rename it
  278.     to CONFIG.?.  If you copy and rename CONFIG.SYS, be sure to
  279.     make a note of the new name and directory so you can restore
  280.     it later.
  281.  
  282. 2.  Copy C:CONFIG.SYS to C;\OS2\BOOT\CONFIG.?
  283.     A.  Customize the new file with the modifications that you
  284.         need.
  285.  
  286. 3.  Copy the customized CONFIG.? file to the current CONFIG.SYS
  287.     file.
  288.  
  289.     There are two ways to copy the CONFIG.? file. You can enter
  290.     the copy command at the OS/2 command prompt, or you can
  291.     create an OS/2 batch file that runs during restart AFTER
  292.     the system processes C:\CONFIG.SYS.
  293.     A.  Replacing Your CONFIG.SYS file with CONFIG.?
  294.  
  295.         If you have only one customized CONFIG.? file, or if you
  296.         do not plan to change between CONFIG.SYS and CONFIG.?
  297.         often, you might choose to copy over CONFIG.SYS with
  298.        the customized CONFIG.? file.  Copying over C:\CONFIG.SYS
  299.         with your customized file the default CONFIG.SYS file.
  300.         The command to copy your customized file to the current
  301.         CONFIG.SYS file is:
  302.  
  303.             COPY C;\OS2\BOOT\CONFIG.? C:\CONFIG.SYS
  304.  
  305.         Using your customized CONFIG.? file as the default file
  306.         allows you to restart without selecting a CONFIG.? file
  307.         at the Recovery Choices screen.
  308.  
  309.         You can now restart the system.  When you restart, the
  310.         system automatically uses the file in the root
  311.         directory named CONFIG.SYS.
  312.  
  313.     B.  Creating a Batch File to Replace CONFIG.SYS with CONFIG.?
  314.  
  315.         If you have several customized CONFIG.SYS files, using
  316.         the batch file allows you to specify the CONFIG.? you
  317.         want to use without entering multiple copy commands.  You
  318.         can simply change the ? character in the batch file, and
  319.         enter that character in the batch file, and enter that
  320.         character at the Recovery Choices screen.
  321.  
  322.         Create a batch file on C:\OS2\BOOT, and name it
  323.         ALTF1?.CMD, where ? is the character that you used in the
  324.         name of the CONFIG.? file.  Put the following COPY
  325.         command in the batch file.
  326.  
  327.              COPY C:\OS2\BOOT\CONFIG.? C:\CONFIG.SYS
  328.  
  329.         Display the Recovery Choices screen by pressing
  330.         Ctrl+Alt+Del to restart the system and then pressing
  331.         Alt+F1.
  332.  
  333.         At the Recovery Choices screen, press the key for the ?
  334.         single character in the name of the CONFIG.? file you
  335.         want to use.
  336.  
  337.         The system continues the restart using the customized
  338.         CONFIG.? file.
  339.  
  340.         NOTE:  If you enter a character from the Recovery Choices
  341.                screen for which there is no corresponding
  342.                CONFIG.? or ALTF1?.CMD batch file, the system
  343.                returns to the Recovery Choices screen.
  344.  
  345.         EXAMPLE:
  346.         The following example shows how to create a  CONFIG.SYS
  347.         file named CONFIG.A, and a batch file to copy it during
  348.         restart. The system is installed on the C drive.  Before
  349.         you start, save a copy of the current CONFIG.SYS file.
  350.  
  351.         1.  Copy the system version of CONFIG.SYS into a new file
  352.             called CONFIG.A:
  353.                     COPY CONFIG.SYS C:\OS2\BOOT\CONFIG.A
  354.         2.  Change to the C:\OS2\BOOT directory.
  355.         3.  Edit CONFIG.A to customize it, and save your changes.
  356.         4.  Create a file called ALTF1A.CMD:
  357.                     E ALTF1A.CMD
  358.         5.  Put the following COPY command into ALTF1A.CMD, and
  359.             save the changes:
  360.                     COPY C:\OS2\BOOT\CONFIG.A C:\CONFIG.SYS
  361.         6.  Restart your system by pressing Ctrl+Alt+Del.  Press
  362.             Alt+F1 when the small white box appears in the upper
  363.             left corner of the screen.
  364.         7.  When the Recovery Choices screen appears, type the
  365.             letter A.
  366.  
  367.  
  368. DISPLAYING CONFIG.SYS CHOICE ON THE RECOVERY CHOICES SCREEN
  369.  
  370.   You can customize your Recovery Choices screen to display the
  371.   list of customized CONFIG.?  files that you created.
  372.  
  373.   To customize the Recovery Choices screen, edit the file
  374.   C:\OS2\BOOT\ALTF1BOT.SCR.  (if you installed OS/2 on a drive
  375.   other than C, specify the drive on which OS/2 is installed.)
  376.   You can add up to 6 lines of text to the bottom of this file.
  377.  
  378.   Each line that you add, should represent a single CONFIG.?
  379.   file that you created.  Each line should include the alphabetic
  380.   character that identifies that CONFIG.?  file.  You might also
  381.   want to includu a brief, one-line description of when to use
  382.   that version of the CONFIG.?  file.
  383.  
  384.   For example, to display the option for the CONFIG.A file on the
  385.   Recovery Choices screen, you might add the following to the
  386.   file:
  387.           C:\OS2\BOOT\ALTF1BOT.SCR:
  388.  
  389.  
  390. REBUILDING THE DESKTOP
  391. ================================================================
  392.  
  393. SYMPTOMS:
  394.   1.  Missing Objects in the OS/2 System Folder.
  395.   2.  Missing Empty or Multiple Objects on Desktop
  396.         Note: This may be performed after using the Recovering
  397.               Archived System Files, and the problem still is
  398.               not fixed.
  399.   3.  Installing and on final restart, the system has a blank
  400.       desktop with or without a clock on the screen.
  401.  
  402.  
  403. PROCEDURES:
  404.   1.  Turn on the computer.  If the computer is already on, press
  405.       Ctrl+Alt+Del to restart the system.
  406.   2.  When a small white box appears in the upper left
  407.       corner of the screen, press Alt+F1.
  408.   3.  When the Recovery Choices screen appears, press C.
  409.   4.  Change to the OS/2 directory on the hard disk.  Type the
  410.       following commands and press Enter after each:
  411.          CD\OS2
  412.          MAKEINI OS2.INI INI.RC
  413.          MAKEINI OS2SYS.INI INISYS.RC
  414.   5.  Delete the hidden file WP?ROOT.?SF from the startable
  415.       partition.  Type the following commands and press Enter
  416.       after each:
  417.          ATTRIB -h -s -r \WP?ROOT.?SF
  418.          DEL \WP?ROOT.?SF
  419.   6.  Remove the diskette and restart the system.
  420.  
  421.  
  422. Recovering the CONFIG.SYS File
  423.  
  424.   The CONFIG.SYS file contains command statements used
  425.   to configure the system during startup.  If the file is
  426.   changed incorrectly, you might not be able to restart the
  427.   system or edit the file.  For example, some programs write
  428.   information to the CONFIG.SYS file when they are installed.  In
  429.   some cases, this information can cause the CONFIG.SYS file to
  430.   be unusable.  To recover the original version of the
  431.   CONFIG.SYS file (as it was created when OS/2 was installed),
  432.   do the following:
  433.  
  434.   1.  Turn on the computer.  If the computer is already on, press
  435.       Ctrl+Alt+Del to restart the system.
  436.   2.  When a small white box appears in the upper left
  437.       corner of the screen, press Alt+F1.
  438.   3.  When the Recovery Choices screen appears, press C.
  439.   4.  Rename the damaged CONFIG.SYS file.  for example, type:
  440.          REN CONFIG.SYS CONFIG.BAD
  441.   5.  Press Enter.
  442.   6.  Copy the backup version of the CONFIG.SYS file to the root
  443.       directory of the drive where the operating system resides.
  444.       (The CONFIG.SYS backup file was created during OS/2
  445.       installation).  Type:
  446.          COPY C:\OS2\INSTALL\CONFIG.SYS C:\CONFIG.SYS
  447.   7.  Press Enter.
  448.   8.  Press Ctrl+Alt+Del to restart the system.
  449.  
  450.   If you made any changes to the CONFIG.SYS file after the
  451.   original installation, you must edit the newly copied
  452.   CONFIG.SYS file and add those changes.
  453.  
  454.  
  455. Recovering the USER INI File
  456.  
  457.   The OS2.INI file, also referred to as the user INI file, is an
  458.   operating system startup file that contains system settings
  459.   such as program defaults, display options and file options.
  460.   The OS2SYS.INI file, also referred to as the system INI file,
  461.   is an operating system file that contains information about
  462.   installed fonts and printer drivers.  If you receive a message
  463.   that the OS2.INI file has been "corrupted", replace both the
  464.   OS2.INI file and the OS2SYS.INI file on the hard disk.
  465.  
  466.   Use the following procedure to replace these two files with
  467.   versions containing default values:
  468.   1.  Turn on the computer.  If the computer is already on, press
  469.       Ctrl+Alt+Del to restart the system.
  470.   2.  When a small white box appears in the upper left
  471.       corner of the screen, press Alt+F1.
  472.   3.  When the Recovery Choices screen appears, press C.
  473.   4.  Type CD \OS2 and press Enter.
  474.   5.  Type ATTRIB -s -h-r OS2*.INI and press Enter.
  475.   6.  Type REN OS2.INI OS2.OLD and press Enter.
  476.   7.  Type MAKEINI OS2.INI INI.RC and press Enter.
  477.   8.  Type REN OS2SYS.INI OS2SYS.OLD and press Enter.
  478.   9.  Type MAKEINI OS2SYS.INI INISYS.OLD and press Enter.
  479.  10.  Press Ctrl+Alt+Del to restart the system.
  480.  
  481.   You can protect the INI files by having them automatically
  482.   backed up each time you start the system.  For example, if you
  483.   include the following statements in the CONFIG.SYS file, a
  484.   backup copy of the current INI files and a backup copy of the
  485.   INI files as they existed at the previous system startup is
  486.   be made.  (Note that this example assumes that OS/2 is
  487.   installed on drive C. Use the letter of the drive on which you
  488.   have OS/2 installed.)
  489.  
  490.   CALL=C:\OS2\XCOPY.EXE C:\OS2\*.INX C:\OS2\*.INY
  491.   CALL=C:\OS2\XCOPY.EXE C:\OS2\OS2*.INI C:\OS2\*.INX
  492.  
  493.   By copying the INI files, you can always recover a recent
  494.   version of these files if the INI file becomes damaged.
  495.  
  496.