Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 09-15-2003, 11:16 AM   #1
Member (6 bit)
 
BustaCap's Avatar
 
Join Date: Aug 2002
Location: Wichita, Kansas
Posts: 36
Windows 98 Service

I need a way to run an executable in the same way as a windows nt service would run it. It needs to run at startup and before login and the window needs to be hidden. It also needs to be restarted automatically if it somehow got shutdown. I also need to be able to easily add it to the registry, i.e. a .reg file.
If there was a program much like FireDaemon that worked on windows 98, that would be awesome, but I am unaware of such a program.

Thanks!
BustaCap is offline   Reply With Quote
Old 09-16-2003, 02:31 AM   #2
Member (12 bit)
 
Join Date: Nov 2001
Location: Woodland Hills, CA (suburb of Los Angeles)
Posts: 4,014
I'm not sure how you'd be able to run it hidden, but you could try testing out this:

Add the program's executable name to the key HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/Current Version/Run

Programs in that key run at startup - not sure if they'd run before the logon. If they execute in order, try putting your application up with the PowerProfiles, I believe they run before the logon.

This is a bit of guesswork, it would require some testing.

I don't know of a way of restarting the process if stopped, other than a restart each time the computer itself is restarted. And while the process might not have an open window on the screen, I imagine it might show up in the Task List. So it wouldn't be entirely hidden.
. . . Gary

I've heard the FireDaemon is a good program, but I've also heard that it's been abused by the hacking community as a tool for creating trojans.
GaryRouth is offline   Reply With Quote
Old 09-17-2003, 05:52 PM   #3
Member (6 bit)
 
BustaCap's Avatar
 
Join Date: Aug 2002
Location: Wichita, Kansas
Posts: 36
yes,they run at startup, but not before login, but the biggest problem with that is that it brings up the console windows and there isn't a way to run it with the window hidden (and not just minimized).
BustaCap is offline   Reply With Quote
Old 09-17-2003, 06:45 PM   #4
Member (12 bit)
 
andyms18a's Avatar
 
Join Date: Dec 2002
Location: essex
Posts: 2,252
wot program are you trying to run at start up ?
__________________
Join the PcMech.com Folding@Home Team and Help Save Lives! Click Here!
Life only looks greener on the other side of the fence
andyms18a is offline   Reply With Quote
Old 09-17-2003, 06:52 PM   #5
Member (6 bit)
 
BustaCap's Avatar
 
Join Date: Aug 2002
Location: Wichita, Kansas
Posts: 36
I'm trying to run the Folding@Home console. They aren't my computers so they don't have windows xp on them, which would make it MUCH easier.
BustaCap is offline   Reply With Quote
Old 09-17-2003, 06:55 PM   #6
Member (6 bit)
 
BustaCap's Avatar
 
Join Date: Aug 2002
Location: Wichita, Kansas
Posts: 36
I guess I might have been too narrow on my first post, all I need if for an executable to run in the background (without being seen), startup automatically and before login, since these computer are not used about 70% of the day.

ANY ideas would be greatly appreciated. Thanks for the help so far!
BustaCap is offline   Reply With Quote
Old 09-18-2003, 02:36 AM   #7
Member (12 bit)
 
andyms18a's Avatar
 
Join Date: Dec 2002
Location: essex
Posts: 2,252
try this site http://forum.folding-community.org/viewforum.php?f=4
all so try the folding topic at our site in my sig
andyms18a is offline   Reply With Quote
Old 09-18-2003, 03:04 AM   #8
Member (12 bit)
 
Join Date: Nov 2001
Location: Woodland Hills, CA (suburb of Los Angeles)
Posts: 4,014
BustaCap = you'd want to be entirely sure you have the authorization from the right channels to run even a worthy service such as this in the background. Many organizations pitch in enthusiastically. But not all.

I looked over at andy's link = seems like if the answer isn't over on that site, it doesn't exist. That's a serious amount of info over there.

Best of luck
. . . Gary
GaryRouth is offline   Reply With Quote
Old 09-18-2003, 05:55 AM   #9
Member (12 bit)
 
andyms18a's Avatar
 
Join Date: Dec 2002
Location: essex
Posts: 2,252
this is the info you knead to run as a service http://forum.folding-community.org/viewtopic.php?t=2950
but as Gary said make shore you have permission to do this
andyms18a is offline   Reply With Quote
Old 09-18-2003, 10:26 PM   #10
Member (6 bit)
 
BustaCap's Avatar
 
Join Date: Aug 2002
Location: Wichita, Kansas
Posts: 36
YES!!! EXACTLY what I needed to know. Thanks to all of you.
BustaCap is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:22 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2