View Full Version : program ignoring user in windows
Medic193
22nd April 2003, 16:06
OK the topic makes no sense, but I couldn't think of how to write it. :) Anyways, does anyone know how I can install a program and put it in the startup folder so it will run no matter what user logs in. When I install gah or fah, I install on one users account, but if the other user logs in, the program won't start. Can I install it some way so no matter who logs in, it will start the program? WinXP BTW.
TDKozan
22nd April 2003, 16:17
In XP, try opening the "All Users" startup group. Otherwise, try firedaemon and run it as a service.
TK ;>
X-Calibur
22nd April 2003, 17:03
Yup, as Tom said.
Copy the shortcut into the "All Users" Startup folder et voila, magico!
Bruce
22nd April 2003, 17:47
The other choice is to install the program as a service. Then it can start up before the first user logs in and continue across multiple logout/login cycles. On a multi-user machine, you can get better throughput out of your DC application - - but you loose the ability of individual user interaction with the program. (The program is also hidden.)
It depends on what you're really trying to accomplish.
Medic193
22nd April 2003, 20:07
Well I should of realized the "all users" would work. Guess I learned something today. Thanks for the help all.
So how do I install fah as a service? Also, would it not show up in the sys tray and under the task manager for applications. I could get ALOT of computers if that's the case.
X-Calibur
22nd April 2003, 21:01
ONE word: service with firedeamon is YOUR FRIEND
Medic193
22nd April 2003, 21:53
Heh, I just set it up. That is a great program. You all will be amazed when you see how many machines I'll be adding here real soon. My production will slowly ramp up over the next month.
X-Calibur
22nd April 2003, 22:35
Best news I've heard since I found out I was not pregnant!
Medic193
23rd April 2003, 08:17
Oh lovely! :)
Hans Arne Iversen
23rd April 2003, 13:58
useful for win 9x users:
You can also use the register.
Jut add the program the the reg key:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Run]
If you use that and em3 in stelth mode it will be just like running a service
Medic193
23rd April 2003, 14:09
Well I have a problem. I wanted to use the fire daemon on win2k machines but it won't let me install without admin. priv. Anyway I can get around that?
Hans, can I do that in win2k?
Hans Arne Iversen
23rd April 2003, 14:26
I don't think that you can change the register without admin privileges. (Never tried it)
I have heard that someone got around it by using a win 98 startup disk to get access to dos and copied the shortcut (.lnk) file to "documents and settings\all users\start menu\startup" folder, but I don't know if it works.
Medic193
23rd April 2003, 14:35
hmmmmmmm
LBaker
23rd April 2003, 14:43
It's not worth getting in trouble Medic. Get admin to approve it...
Medic193
23rd April 2003, 15:04
Actually I have a way around it, so if I do get caught, I won't get in trouble. Trust me, I wouldn't do it, if I could get in trouble.
Bruce
24th April 2003, 20:12
Since you're on the topic of "not getting caught" I've got a question. My wife's has a laptop from her office, They're really sticky about installing "foreign" applications. I bought a PCMCIA adapter for a flash card, installed software there, and told her to simply remove the card if anybody needed to work on her computer.
It has EM2 and GAH-v0.99 on the card and will soon have EM3 and GAH2. The problem I have is getting it auto-started when the machine is rebooted. How do I get something equivalent to script that says
"IF EXIST E:\GAH\EM2.exe E:\GAH\EM2.exe"
(you don't really need to say "IF NOT EXIST E:\GAH\EM2.exe exit")
so that it starts the application if the drive is installed but it does not report an error or other crap if the drive doesn't exist. Everything I've tried leaves windows open or explicitly reports errors.
X-Calibur
24th April 2003, 22:41
Is she running WinXP?
Hans Arne Iversen
25th April 2003, 02:03
I think it would work with this bat file:
if exist e:\gah\em2.exe goto run
exit
:run
e:
cd\
cd gah
em2.exe
Bruce
25th April 2003, 03:42
That's slightly different than the one-liner that I posted, but it shares the same problem. The DOS window stays open, which is actually worse that a popup that says "Program EM2 not found" or something like that.
Bruce
25th April 2003, 03:43
Originally posted by X-Calibur
Is she running WinXP?
No, Win98SE.
Medic193
25th April 2003, 09:33
That's a good idea Brue. Never thought of that. Hope ya get it working.
X-Calibur
25th April 2003, 10:09
Originally posted by Bruce
That's slightly different than the one-liner that I posted, but it shares the same problem. The DOS window stays open, which is actually worse that a popup that says "Program EM2 not found" or something like that.
You could hide the dos window with hideIt or something, it would stay open but be hidden?
Hans Arne Iversen
25th April 2003, 13:48
Originally posted by Bruce
That's slightly different than the one-liner that I posted, but it shares the same problem. The DOS window stays open, which is actually worse that a popup that says "Program EM2 not found" or something like that.
Strange. I tried it on a win 98 pc at work and it did close the dos window when it didn't find em2.
If it found em2 the dos window staid open.
Did you remember to set it to close at shut down (Same as conagent)?
vBulletin® v3.7.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.