Discussion Locked

Trouble with Win98 SE Services

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Situation:
I'm familiar with NT services and the ability to have them running even after the user logs off but on Windows 98 SE Services are terminated at logoff.

Question:
I need to keep a particular service running continously from start up to shut down on Win98SE. If the service doesn't remain running after log off I can't use it.

Additional info:
I'm starting the service as a runservices key in the registry. It's an executable.

9 replies

by railey

The executable must remain running after the user logs off the workstation. This means while the login screen is displayed after logging off.

by mckaytech

As far as I know, there is not a services mechanism in Win98 similar to that in NT.

Further, since a Win98 machine does not join the domain as an NT machine does, I would think that the lack of a machine account on the domain would prevent any use of network resources once you have logged off and I would assume from your description of this executable that it must need to access network resources.

So I'm not at all sure that Win98SE is the right tool for the job but perhaps another participant on the forum might have ideas for a workaround.

regards!

paul

by railey

The services aren't exactly like NT, but there are service capabilities in Win98. My application uses TCP/IP and works fine before you even log in.

IP doesn't requre a domain when your applications communicate directly with one and other throughtheir own port, and the security variation with Win98 and NT reduce the need of a service account.

Everything works fine except when you log off.

by baziite

You are right about win98 having services . Best example is the file and print service for windows networks . By the way this service continues to run even after you log off . I have never tried this but seems very logical and worth a try . Go to the network applet in control panel press ADD , then select service and then press HAVE DISK . Browse to your service INF file and add it . Seem LOGICAL doesn't it TRY it . Good Luck !

by lyf

Please see below:
Sounds like you are using #5 now. Suggest you try #'s 1 or 4. (#6 may be easiest, but not sure if it'll work for you). Hope this helps.

Windows loads startup items from three locations in the Registry, two lines in WIN.INI, andtwo folders. Windows always loads the seven groups in the same order. Here they are, in order:
1. Registry (Machine Service) - Each value in the Registry key HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ RunServices defines a startup item. The value's data string is the command to be executed at startup.
2. Win.ini (Load=) - The value of the Load= key in the [Windows] section of WIN.INI consists of one or more startup program names, separated by semicolons. Neither long filenames nor command-line arguments may be used.
3. Win.ini (Run=) - The value of the Run= key in the [Windows] section of WIN.INI as in #2 above.
4. Registry (Machine Run) - Each value in the Registry key HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ Run defines a startup item. The value's data string is the command to be executed at startup.
5. Registry (Per-User Run) - Each value in the Registry key HKEY_CURRENT_USER\ SOFTWARE\ Microsoft\ Windows\ CurrentVersion\ RunServices defines a startup item. The value's data string is the command to be executed at startup.
6. Common Startup Group - Each shortcut in the common startup group (by default, C:\Windows\ All Users\ Start Menu\ Programs\ Startup) is launched at startup. This group does not appear on the Start menu. Some Windows installations will not have a common startup group.
7. Startup Group - Each shortcut in the Start menu's startup group (by default, C:\Windows\ Start Menu\ Programs\ Startup) is launched at startup.

This discussion is closed to new replies.