Changes between Version 9 and Version 10 of startstop


Ignore:
Timestamp:
11/14/11 13:10:02 (10 years ago)
Author:
branden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • startstop

    v9 v10  
    9191You should now be able to run earthworm without being root. 
    9292 
     93==== Earthworm NT Autostart ==== 
     94Following are steps needed to have earthworm (EW) start up automatically when a PC running Windows NT Workstation 4.0 boots up. 
     95 
     96Overview of the steps: 
     97 
     98Create new user 'earthworm' 
     99Setup the PC so that it automatically logs in as 'earthworm' upon reboot 
     100Setup EW so that it starts up every time user 'earthworm' logs in 
     101Note: Selecting menu choices is denoted as follows: 
     102 
     103Start->Programs->... 
     104 
     105This would mean that the Start menu is to be selected first, then Programs, etc. 
     106 
     107Details: 
     108 
     1091. Create new user earthworm 
     110a. Click on Start->Programs->Administrative Tools->User Manager 
     111User manager window should come up 
     112 
     113b.Click on User->New User 
     114New user window should come up. 
     115 
     116Fill in the fields: 
     117Username:    earthworm 
     118Password:    earthworm 
     119 
     120Make sure that the box labeled "User Must Change Password.." is NOT checked. 
     121 
     122c. Setup groups - click on the "Groups" Icon 
     123Groups window should come up 
     124 
     125Select all groups in the right hand screen, then click Add, then click OK. 
     126Back in the New User window, Click OK. 
     127Back in the User Manager, Click USER->EXIT. 
     128 
     1292. Automatic login 
     130a. Start the registry editor: 
     131Click on Start->Run, type  "regedt32" in the box, then click OK. 
     132 
     133b. Registry editor window should open. Click the Window titled 
     134"HKEY_LOCAL_MACHINE" 
     135 
     136c. HKEY_LOCAL_MACHINE window should come to the foreground. Double click on the following: 
     137Software->Microsoft->WindowsNT->CurrentVersion->WinLogon 
     138 
     139d. Now we need to create and/or set some values in the registry in the right hand section of the window. 
     140i. AutoAdminLogon 
     141If the AutoAdminLogon exits: 
     142Double click on the AutoAdminLogon field. Enter 1 in the pop up window. 
     143 
     144If the AutoAdminLogon does not exit: From the EDIT pull down menu, choose AddValue. In the pop up window, enter "AutoAdminLogon" in the ValueName box.  Choose 'REG_SZ' for the data type.  Click OK. Enter 1 in the next pop up window; then click OK. 
     145 
     146ii. DefaultUserName 
     147Click on Edit->Add Value. A dialog box should come up. Fill in: 
     148Value Name:    DefaultUserName   click OK, another window comes up. Fill in: 
     149String: earthworm 
     150Click OK. 
     151 
     152iii. DefaultPassword 
     153Follow the step above to add another value: 
     154 
     155Value Name:    DefaultPassword 
     156String:        earthworm 
     157 
     158When all is said and done, the following values whould be listed inthe right hand window: 
     159 
     160DefaultUserName     earthworm 
     161DefaultPassword     earthworm 
     162AutoAdminLogon      1 
     163 
     164e. Click on Registry->Exit 
     165 
     1663. Automatic Earthworm Startup during login 
     167 
     168a. Restart the PC.  If everything in step 1 and 2 was done correctly, the PC will automatically log you in as earthworm. 
     169 
     170b. Make sure that the EW automatic startup script exists -- it should be called something like c:\earthworm\run\params\autostart_ew_nt.cmd. 
     171Example autostart_ew_nt.cmd: 
     172call ew_nt.cmd 
     173call startstop.exe 
     174 
     175c. Click on Start->Settings->Taskbar 
     176Taskbar window should come up. Click on the "Start Menu Programs" tab. 
     177Click on "Advanced". NT Explorer should come up. 
     178 
     179d. By double clicking on the appropriate directories, find: 
     180 
     181c:\winnt\Profiles\earthworm\StartMenu->Programs->Startup 
     182 
     183The right hand side window under Startup should be empty. 
     184 
     185e. Create a shortcut to the EW automatic startup script: In the right hand side window, click the right button, then select New->Shortcut. 
     186 
     187A new window should come up, in the box enter the full path to the autostart_ew_nt script, click NEXT, and then click FINISH.  OR click on Browse to select the path to the script using NT Explorer, highlight the autorestart_ew_nt.cmd, click OPEN, then NEXT, and then click FINISH.  Last.  then click OK in the TaskBar window. 
     188 
     189NOTES OF CAUTION: 
     190 
     191  - user earthworm must have a password in order for automatic login to 
     192    work. This means that password cannot be blank. 
     193 
     194  - make sure that when creating user earthworm it is added to all groups, 
     195    particularly the administrator group, since earthworm will be the only 
     196    user that can log in once the registry is changed. 
     197 
     198 
     199 
     200CHANGING EARTHWORM VERSION AND CONFIGURATION DIRECTORY 
     201 
     202Whenever a new version of Earthworm is installed, or a new 
     203configuration directory is desired, the autostart script 
     204must be updated. Basically, the file autostart_ew_nt.cmd mentioned 
     205above consists of the main command file ew_nt.cmd (which is 
     206located in the params directory of the current configuration), 
     207with the addition of the startstop command which starts earthworm 
     208automatically. Therefore, whenever ANY changes are made to 
     209the local of the active ew_nt.cmd, the 
     210autostart_ew_nt.cmd file should be update. 
     211 
     212 
     213 
     214==== StartstopConsole Overview (Windows Only) ==== 
     215The StartstopConsole connects to a running instance of Windows Startstop via named pipes and creates a Windows command prompt window. It's useful when running Startstop Service, and you need to apply command line tools like "restart", "reconfigure", "status", "pidpau" or "pau". 
     216 
     217Configuration Hint In order to get this to work on XP you need to disable the "XP Welcome screen" and disable "Fast user switching"