home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / altdesk.txt < prev    next >
Text File  |  1995-11-16  |  5KB  |  94 lines

  1. The problem with alternating Desktops is caused by a Drive being duplicated 
  2. in the File Handle Structure in the OS2SYS.INI file. In order to fixthis 
  3. problem, you must remove one of the duplicated Drive entries from the INI 
  4. file.
  5.  
  6. Here is how you fix the problem with the alternating Desktops using UniMaint.
  7.  
  8. 1. Make sure you have a Desktop Backup of your system. We are going to mess 
  9. with some things that could have a major effect on PM and WPS, so you always 
  10. want to have a place to go back to.
  11.  
  12. 2. You are going to have to live with one Desktop or the other, so boot until 
  13. you get to the Desktop that you want and do the steps below immediately after 
  14. the Boot and do not do anything else until you are finished.
  15.  
  16. 3. Bring up the main UniMaint window and use the File Menu to get the System 
  17. INI File as the file you are looking at. This is the OS2SYS.INI file unless 
  18. you have manually changed it.
  19.  
  20. 4. Find PM_Workplace:Active Handles and highlight it. In the User Data Window 
  21. you will see with the Handles0 or the Handles1 Application Name.
  22.  
  23. 5. Highlight the Application Name that is listed in the window. The Key Names 
  24. should not start with BLOCK1. There might be only on entry or there could be 
  25. a BLOCK2 etc. Don't worry about how many there are.
  26.  
  27. 6. Use the Find/Application Key Value to do a search on the drive that is 
  28. duplicated, D:, for example.
  29.  
  30. 7. Looking at the information on the right hand side of the user Data Window, 
  31. when you find the entry you are looking for, you will see the characters DRIV 
  32. a few lines above the D: and the word NODE just past the D: that you found. A 
  33. few lines down you will find D: again. This is the good entry, so you do not 
  34. want to mess with it.
  35.  
  36. 8. Use the Find/Repeat Last Find and it will find the second D: entry which 
  37. is the one above that is a few lines down from the first one.
  38.  
  39. 9. Do the Repeat Find again and you should not be at the D: entry that is the 
  40. problem entry. Once again, you will see DRIV in front of the entry, NODE just 
  41. past it and another D: a few lines down.
  42.  
  43. 10. You need to get rid of this D: drive, so you can move the cursor in the 
  44. User Data Window to the two D: entries and change the D to an invalid drive 
  45. by typing over it. You must change both of them, you must change them to 
  46. something that is a drive that does not exist and you must change both of 
  47. them to the same thing.
  48.  
  49. 11. Go to the Action Menu and use Update Current Key to get the information 
  50. written to the OS2SYS.INI file.
  51.  
  52. 12. This is probably not necessary, but I would suggest you now sit and wait 
  53. for at least one minute so that the modified OS2SYS.INI file is actually 
  54. written to you HD.
  55.  
  56. 13. Now use the Desktop Menu, Reset Desktop to do a Reset of WPS. This will 
  57. cause WPS to collapse and all of your Icons will disappear. The Desktop 
  58. should come back in a minute or so. If the Desktop does not come back, then 
  59. do a three finger salute to reboot.
  60.  
  61. 14. You should now have the Desktop you expect and the other Desktop will not 
  62. come back. 
  63.  
  64. 15. If you have the wrong Desktop, then you should use the Backup to Restore 
  65. the Desktop with the duplicate Handles and modify the other D: entry.
  66.  
  67. 16. Once you have a good Desktop, then make a new Desktop Backup, so you can 
  68. always get back to where you are.
  69.  
  70. 17. Finally, use the Recover menu, Repair INI Files to do the Default INI 
  71. File Repair. Just bring up the Dialog, click on Execute...this will fill the 
  72. Repair Window, select the Do Repair Button just above the data window and 
  73. click on Execute again. All of the problem entries will now be gone.
  74.  
  75. 18. I would now make another Desktop Backup, do a Shutdown and Reboot just to 
  76. be sure that everything is okay.
  77.  
  78. 19. After you have done a few Shutdowns and Reboots...over the space of a 
  79. couple of days or so. Then it would not hurt to make another Desktop Backup, 
  80. just to be sure that everything is okay.
  81.  
  82. It does not hurt to make several Desktop Backups, because the default is to 
  83. keep 10 generations. You should use the Description field to make careful 
  84. notes as to exactly where you are in the process above when you make each 
  85. Backup so that you will know exactly which generation to use if you need to 
  86. backtrack for any reason.
  87.  
  88. Let me know if you have any problems or do not understand any of the above. 
  89. If you get to a point in the procedure where you are not sure whether you are 
  90. in the right place and you have not made any changes, then stop right there 
  91. and ask questions. Once you have made any of the changes and written them to 
  92. the file, you must go all the way through the process or use the Desktop 
  93. Backup to Restore and start over.
  94.