• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

How do I clear the autostart of WPS last remembered apps & folders...

Started by NNYITGuy, 2008.04.28, 06:23:24

Previous topic - Next topic

NNYITGuy

Hi Everyone,

My system froze solid using an app and was unresponsive.  C-A-D did nothing, I power cycled the computer and upon WPS restart, apps and folders and other docs keep reappearing on my desktop.  Close to 30 different windows in all.  All of which I did have opened at some time in the recent past.

Dow do I clear the autostart in WPS?  I tried the AUTORESTART in config.sys...  But I guess I am at a loss.  Where are the entries for the WPS restart items? And, would this be a good tool to have to inspect and modify these items for troubleshooting like this?

Help me... Help me...

Thank you all!
Todd
Todd J Simpson (IT Consultant)
Business Automation Technologies
(Professional Products and Services.  Business to Business...)

jep

Hello NNYITGuy,

I have the same problem on my "server" at home... I think it's due to a corrupted ini-file, the only thing that can help you (at least until you decide to reinstall) is to restore a previous version of os2.ini and try. CleanINI doesn't help you either.

Can you see if the folders and files that appear is part of some archive or just random? Mine open files/folders from one archive but also some url folder I've never used.

I've set eWPS/xWPS to store 5 different copies of the key files if it can determine a change of more than 2.5% and that can be quite helpful as one tend to need more than 3 sets of files before one understand the problem and start to recover.

You can also try to start fresh, but ensure to look around for more info and suggestions from other people before you decide to go ahead and restore the key files.

Did you run out of hdd free space perhaps?

//Jan-Erik

The Blue Warper

Hi Todd,
before touching your os2*.ini files, you could try this: just upon WPS startup (i.e. when the system boot procedure switches from text to graphical mode, just before you see your desktop background), press and hold the SHIFT key (I don't recall if both SHIFT keys work: left SHIFT does) until the whole system gets loaded.  This should temporarily disable the auto-startup of the programs (and possibly folders too).  Please also note that, if you have XWorkplace installed, holding the SHIFT key upon startup will display a dialog where you can temporarily or permanently disable many XWP features.  If you installed XWP, you might want to check your XWP Startup folder in case you have something there that's automatically started up every time.  If you have this special folder enabled, you can also specify a startup delay between every single object put in it.  This might give more time for some process or thread to complete its tasks.  Another hint would be to run checkini hoping it can find (and fix...) something in your INIs (I remember that checkini specifically checks the system startup folder).
Good luck!

djcaetano


  As soon as you can see the background of WPS (in plain color), just press CTRL+SHIFT+F1 until the system finishes WPS loading. This will prevent all startup programs from being loaded but those present on STARTUP.CMD.
  After that, restart WPS so a new (ang good) copy of your INI files can be stored.

The Blue Warper

Thank you, djc, for adding this hint.  I didn't know about CTRL+SHIFT+F1.  Hopefully Todd will solve the troubles he's having.

RobertM

Hi NNYITGuy,

Another option you may use is boot to the commandline, and edit the config.sys

Add or modify the following lines:

SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS  (MODIFY)
SET RESTARTOBJECTS=StartUpFoldersOnly    (if NOT present, then ADD - otherwise MODIFY)


This will ensure that the PM program (PROGRAMS in the first entry) is started, and whatever is in your startup folder and startup.cmd...

ie: it will not reopen programs that were left open at last shutdown - but will open all of your normal startup objects.





If you have already resolved the issue, you may still want to adjust those lines in your config.sys to ensure you dont run into this problem again.




If you have xWP (or eCS) installed, there is an "easier" (I prefer commandline maintenance usually) method:


  • Go into "System Setup" Folder
  • Open the OS/2 (or eCS) Kernel object
  • Click on the "WPS" Tab
  • Select which objects you wish to restart on OS restart
  • Hit "Apply" and close the settings notebook (this will modify your config.sys for you)
  • Restart your machine for the changes to take effect (you do not need to restart immediately... whenever you next want to restart, the change will take effect)

HTH,
Robert


|
|
Kirk's 5 Year Mission Continues at:
Star Trek New Voyages
|
|