home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / WPDESK.FAX < prev    next >
Text File  |  1995-02-23  |  21KB  |  503 lines

  1. OSWPDESK - WARP DESKTOP PROBLEMS AND RECOVERING USER INI FILES
  2. 01/05/95
  3.  
  4. ================================================================
  5. WARP DESKTOP PROBLEMS, RECOVERING CONFIG.SYS AND 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 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 the 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 the right mouse button, 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 in "Rebuilding Your
  81.         Desktop" in this document.
  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
  104.          is the OS/2 drive.)
  105.  
  106.   Object Cannot be Deleted
  107.   ------------------------
  108.     If you cannot delete an object:
  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.  
  149. Recovery Choices
  150. -----------------
  151.  
  152.   The Recovery Choices screen lets you specify how the system is
  153.   to restart while a restart is in progress.  Display the
  154.   Recovery Choices screen during the restart by pressing Alt+F1
  155.   when a small white box appears in the upper left corner of the
  156.   screen.  If you want the system to display the Recovery Choices
  157.   screen each time it restarts, select Display Recovery Choices
  158.   At Every System Restart on the Archive page of the Desktop
  159.   Settings notebook.
  160.  
  161.   On the Recovery Choices screen, you can:
  162.  
  163.   1.  Select the set of archived system files that the system is
  164.       to use to restart.
  165.   2.  Continue using the originally installed system files to
  166.       restart, and go to a command line
  167.   3.  Continue using the original installation files to restart,
  168.       and reset the primary display to VGA.
  169.   4.  Restart the system using a customized CONFIG.SYS file that
  170.       you have created.
  171.  
  172.   Each set of archived files appears on the Recovery Choices
  173.   screen with the date and time when the files were archived.
  174.   The choices are numbered 1, 2, 3 or, for the original
  175.   installation files, X.  Select the files that you want the
  176.   system to restart with by pressing 1, 2, 3, or X on the
  177.   keyboard.  The system continues to restart using the set of
  178.   archived files represented by the number or character you
  179.   pressed.
  180.  
  181.   To go to a command line without changing the system files,
  182.   press the C key on the keyboard.
  183.  
  184.   To reset the primary display to VGA, press the V key on the
  185.   keyboard.
  186.  
  187.   The character keys are not case sensitive.
  188.  
  189.   To restart the system using a customized version of the
  190.   CONFIG.SYS file, type an alphabetic character that corresponds
  191.   to the name of a of a CONFIG.SYS file that you created.
  192.  
  193.   Recovering Archived System Files
  194.   --------------------------------
  195.   OS/2 can archive key system files as well as the DESKTOP
  196.   directory each time you start OS/2.  The default setting for
  197.   this feature is OFF.  (The Archive function can be turned ON
  198.   using the Archive page of the Desktop Settings notebook.)
  199.  
  200.   When the Archive function is turned ON, the state of the key
  201.   system files and Desktop as they existed at the last three
  202.   "starts" of OS/2 are saved.  Each time you restart OS/2, the
  203.   oldest set of archived System files is deleted and the current
  204.   System files are saved.  OS/2 also keeps a permanent archive of
  205.   the Desktop and key files as they existed when OS/2 was first
  206.   installed, so you can always restore the system to its
  207.   original state.
  208.  
  209.     SYMPTOMS:
  210.  
  211.      1.  Folders Open and Close Immediately
  212.  
  213.      2.  Missing, Empty, or Multiple Objects on Desktop
  214.          -   The Desktop is missing objects or there is more than
  215.              one icon for the same object.
  216.          -   One or more Desktop folders are empty.
  217.          -   After you shutdown the computer and start it again,
  218.              the objects on the Desktop are not displayed the
  219.              same as when you shut down.
  220.  
  221.     NOTE:  If this does not fix the problem, see "Rebuilding Your
  222.     Desktop" in this document.
  223.  
  224.   To use the archived System files:
  225.  
  226.       1.  Turn on the computer.  If the computer is already on,
  227.           perform a shut down, then press Ctrl+Alt+Del to restart
  228.           it.
  229.       2.  When a small white box appears in the upper left corner
  230.           of the screen (before the OS/2 logo screen appears),
  231.           press Alt+F1.
  232.       3.  A screen listing the three most recent archives appears.
  233.           Do one of the following:
  234.             a.  Type the number of the archive you want to use to
  235.                 restore the system.
  236.             b.  Type X to restore the system to its original
  237.                 state (as it was when you first installed OS/2).
  238.             c.  Type C to get an OS/2 command prompt (for
  239.                 example, if you want to edit the CONFIG.SYS
  240.                 file).
  241.             d.  Type V to reset the primary display to VGA (for
  242.                 example, if you think your Desktop is not damaged
  243.                 but cannot be seen because you need to reinstall
  244.                 your VGA device drivers).
  245.  
  246.  
  247. Creating CONFIG.SYS Files
  248. --------------------------
  249.   In some cases, you need different CONFIG.SYS files to create
  250.   environments specific to the kinds of work you are doing.  For
  251.   example, when you use a laptop computer with a docking station,
  252.   you might want a CONFIG.SYS file that supports your laptop
  253.   computer and one that supports your desktop computer.
  254.  
  255.   You can create different versions of the CONFIG.SYS file, and,
  256.   during restart, specify from the Recovery Choices screen which
  257.   version the system should use.  You can also customize the
  258.   Recovery Choices screen to display your customized CONFIG.SYS
  259.   file choices.
  260.  
  261.   The following steps describe how to create and use multiple
  262.   CONFIG.SYS files.  In these steps, ?  is any unique single
  263.   alphabetic character EXCEPT:  X, x, C, c, V, or v. These steps
  264.   use C as the root directory.  If you installed OS/2 on a drive
  265.   other than C, replace the C in the path name with the drive
  266.   letter of the root directory.
  267.  
  268. 1.  Save a copy of the current CONFIG.SYS file.
  269.  
  270.     You can save a copy of the current CONFIG.SYS file by copying
  271.     it to a diskette.  Otherwise, you can copy the current
  272.     CONFIG.SYS file to the C:\OS\BOOT subdirectory, and
  273.     rename it to CONFIG.?.  If you copy and rename CONFIG.SYS, be
  274.     sure to make a note of the new name and directory so you can
  275.     restore it later.
  276.  
  277. 2.  Copy C:CONFIG.SYS to C:\OS2\BOOT\CONFIG.?
  278.     a.  Customize the new file with the modifications that you
  279.         need.
  280.  
  281. 3.  Copy the customized CONFIG.? file to the current CONFIG.SYS
  282.     file.
  283.  
  284.     There are two ways to copy the CONFIG.? file. You can enter
  285.     the copy command at the OS/2 command prompt, or you can
  286.     create an OS/2 batch file that runs during restart AFTER
  287.     the system processes C:\CONFIG.SYS.
  288.     a.  Replacing Your CONFIG.SYS file with CONFIG.?
  289.  
  290.         If you have only one customized CONFIG.? file, or if you
  291.         do not plan to change between CONFIG.SYS and CONFIG.?
  292.         often, you might choose to copy over CONFIG.SYS with
  293.         the customized CONFIG.? file.  Copying over
  294.         C:\CONFIG.SYS with your customized file the default
  295.         CONFIG.SYS file. The command to copy your customized file
  296.         to the current CONFIG.SYS file is:
  297.  
  298.             COPY C:\OS2\BOOT\CONFIG.? C:\CONFIG.SYS
  299.  
  300.         Using your customized CONFIG.? file as the default file
  301.         lets you to restart without selecting a CONFIG.? file
  302.         at the Recovery Choices screen.
  303.  
  304.         You can now restart the system.  When you restart, the
  305.         system automatically uses the file in the root
  306.         directory named CONFIG.SYS.
  307.  
  308.     b.  Creating a Batch File to Replace CONFIG.SYS with CONFIG.?
  309.  
  310.         If you have several customized CONFIG.SYS files, using
  311.         the batch file allows you to specify the CONFIG.? you
  312.         want to use without entering multiple copy commands.  You
  313.         can simply change the ? character in the batch file, and
  314.         enter that character in the batch file, and enter that
  315.         character at the Recovery Choices screen.
  316.  
  317.         Create a batch file on C:\OS2\BOOT, and name it
  318.         ALTF1?.CMD, where ? is the character that you used in the
  319.         name of the CONFIG.? file.  Put the following COPY
  320.         command in the batch file.
  321.  
  322.              COPY C:\OS2\BOOT\CONFIG.? C:\CONFIG.SYS
  323.  
  324.         Display the Recovery Choices screen by pressing
  325.         Ctrl+Alt+Del to restart the system and then pressing
  326.         Alt+F1.
  327.  
  328.         At the Recovery Choices screen, press the key for the ?
  329.         single character in the name of the CONFIG.? file you
  330.         want to use.
  331.  
  332.         The system continues the restart using the customized
  333.         CONFIG.? file.
  334.  
  335.         NOTE:  If you enter a character from the Recovery Choices
  336.                screen for which there is no corresponding
  337.                CONFIG.? or ALTF1?.CMD batch file, the system
  338.                returns to the Recovery Choices screen.
  339.  
  340.         Example:
  341.         The following example shows how to create a  CONFIG.SYS
  342.         file named CONFIG.A, and a batch file to copy it during
  343.         restart. The system is installed on the C drive.  Before
  344.         you start, save a copy of the current CONFIG.SYS file.
  345.  
  346.         1.  Copy the system version of CONFIG.SYS into a new file
  347.             called CONFIG.A:
  348.                     COPY CONFIG.SYS C:\OS2\BOOT\CONFIG.A
  349.         2.  Change to the C:\OS2\BOOT directory.
  350.         3.  Edit CONFIG.A to customize it, and save your changes.
  351.         4.  Create a file called ALTF1A.CMD:
  352.                     E ALTF1A.CMD
  353.         5.  Put the following COPY command into ALTF1A.CMD, and
  354.             save the changes:
  355.                     COPY C:\OS2\BOOT\CONFIG.A
  356.                     C:\CONFIG.SYS
  357.         6.  Press Ctrl+Alt+Del to restart the system.  Press
  358.             Alt+F1 when the small white box appears in the upper
  359.             left corner of the screen.
  360.         7.  When the Recovery Choices screen appears, type the
  361.             letter A.
  362.  
  363.  
  364. Displaying CONFIG.SYS Choice on the Recovery Choices Screen
  365. -----------------------------------------------------------
  366.   You can customize your Recovery Choices screen to display the
  367.   list of customized CONFIG.?  files that you created.
  368.  
  369.   To customize the Recovery Choices screen, edit the file
  370.   C:\OS2\BOOT\ALTF1BOT.SCR.  (if you installed OS/2 on a
  371.   drive other than C, specify the drive on which OS/2 is
  372.   installed.)  You can add up to 6 lines of text to the bottom
  373.   of this file.
  374.  
  375.   Each line that you add, should represent a single CONFIG.?
  376.   file that you created.  Each line should include the alphabetic
  377.   character that identifies that CONFIG.?  file.  You might also
  378.   want to include a brief, one-line description of when to use
  379.   that version of the CONFIG.?  file.
  380.  
  381.   For example, to display the option for the CONFIG.A file on the
  382.   Recovery Choices screen, you might add the following to the
  383.   file:
  384.           C:\OS2\BOOT\ALTF1BOT.SCR:
  385.  
  386.  
  387. Rebuilding the Desktop
  388. ----------------------
  389.  
  390. SYMPTOMS:
  391.   1.  Missing Objects in the OS/2 System Folder.
  392.   2.  Missing Empty or Multiple Objects on Desktop
  393.         Note: This may be performed after using the Recovering
  394.               Archived System Files, and the problem still is
  395.               not fixed.
  396.   3.  Installing and on final restart, the system has a blank
  397.       desktop with or without a clock on the screen.
  398.  
  399.  
  400. PROCEDURES:
  401.   1.  Turn on the computer.  If the computer is already on, press
  402.       Ctrl+Alt+Del to restart the system.
  403.   2.  When a small white box appears in the upper left
  404.       corner of the screen, press Alt+F1.
  405.   3.  When the Recovery Choices screen appears, press C.
  406.   4.  Change to the OS/2 directory on the hard disk.  Type the
  407.       following commands and press Enter after each:
  408.          CD\OS2
  409.          MAKEINI OS2.INI INI.RC
  410.          MAKEINI OS2SYS.INI INISYS.RC
  411.   5.  Delete the hidden file WP?ROOT.?SF from the startable
  412.       partition.  Type the following commands and press Enter
  413.       after each:
  414.          ATTRIB -h -s -r \WP?ROOT.?SF
  415.          DEL \WP?ROOT.?SF
  416.   6.  Press Ctrl+Alt+Del to restart the system.
  417.  
  418.  
  419. Recovering the CONFIG.SYS File
  420. -------------------------------
  421.   The CONFIG.SYS file contains command statements used
  422.   to configure the system during startup.  If the file is
  423.   changed incorrectly, you might not be able to restart the
  424.   system or edit the file.  For example, some programs write
  425.   information to the CONFIG.SYS file when they are installed.  In
  426.   some cases, this information can cause the CONFIG.SYS file to
  427.   be unusable.  To recover the original version of the
  428.   CONFIG.SYS file (as it was created when OS/2 was installed),
  429.   do the following:
  430.  
  431.   1.  Turn on the computer.  If the computer is already on, press
  432.       Ctrl+Alt+Del to restart the system.
  433.   2.  When a small white box appears in the upper left
  434.       corner of the screen, press Alt+F1.
  435.   3.  When the Recovery Choices screen appears, press C.
  436.   4.  Rename the damaged CONFIG.SYS file.  for example, type:
  437.          REN CONFIG.SYS CONFIG.BAD
  438.   5.  Press Enter.
  439.   6.  Copy the backup version of the CONFIG.SYS file to the root
  440.       directory of the drive where the operating system resides.
  441.       (The CONFIG.SYS backup file was created during OS/2
  442.       installation).  Type:
  443.          COPY C:\OS2\INSTALL\CONFIG.SYS C:\CONFIG.SYS
  444.   7.  Press Enter.
  445.   8.  Press Ctrl+Alt+Del to restart the system.
  446.  
  447.   If you made any changes to the CONFIG.SYS file after the
  448.   original installation, you must edit the newly copied
  449.   CONFIG.SYS file and add those changes.
  450.  
  451.  
  452. Recovering the USER INI File
  453. ----------------------------
  454.   The OS2.INI file, also referred to as the user INI file, is an
  455.   operating system startup file that contains system settings
  456.   such as program defaults, display options and file options.
  457.   The OS2SYS.INI file, also referred to as the system INI file,
  458.   is an operating system file that contains information about
  459.   installed fonts and printer drivers.  If you receive a message
  460.   that the OS2.INI file has been "corrupted", replace both the
  461.   OS2.INI file and the OS2SYS.INI file on the hard disk.
  462.  
  463.   Use the following procedure to replace the two files with
  464.   versions containing default values:
  465.   1.  Turn on the computer.  If the computer is already on, press
  466.       Ctrl+Alt+Del to restart the system.
  467.   2.  When a small white box appears in the upper left
  468.       corner of the screen, press Alt+F1.
  469.   3.  When the Recovery Choices screen appears, press C.
  470.   4.  Type:  CD \OS2 and press Enter.
  471.   5.  Type:  ATTRIB -s -h-r OS2*.INI and press Enter.
  472.   6.  Type:  REN OS2.INI OS2.OLD and press Enter.
  473.   7.  Type:  MAKEINI OS2.INI INI.RC and press Enter.
  474.   8.  Type:  REN OS2SYS.INI OS2SYS.OLD and press Enter.
  475.   9.  Type:  MAKEINI OS2SYS.INI INISYS.OLD and press Enter.
  476.  10.  Press Ctrl+Alt+Del to restart the system.
  477.  
  478.   You can protect the INI files by having them automatically
  479.   backed up each time you start the system.  For example, if you
  480.   include the following statements in the CONFIG.SYS file, a
  481.   backup copy of the current INI files and a backup copy of the
  482.   INI files as they existed at the previous system startup is
  483.   be made.  (Note that this example assumes that OS/2 is
  484.   installed on drive C. Use the letter of the drive on which you
  485.   have OS/2 installed.)
  486.  
  487.   CALL=C:\OS2\XCOPY.EXE C:\OS2\*.INX
  488. C:\OS2\*.INY
  489.   CALL=C:\OS2\XCOPY.EXE C:\OS2\OS2*.INI
  490. C:\OS2\*.INX
  491.  
  492.   By copying the INI files, you can always recover a recent
  493.   version of these files if the INI file becomes damaged.
  494.  
  495.  
  496. ----------------------------------------------------------------
  497. IBM disclaims all warranties, whether express or implied,
  498. including without limitation, warranties of fitness and
  499. merchantability with respect to the information in this document.
  500. By furnishing this document, IBM grants no licenses to any
  501. related patents or copyrights.
  502.  
  503.