Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: How to start a program at boot up?

0 views
Skip to first unread message
Message has been deleted

Bo

unread,
Jan 31, 2009, 11:50:55 PM1/31/09
to
On Sat, 31 Jan 2009 22:30:04 -0600, jetjock <jet...@hanger.com>
wrote:

>I would like to have Filemon.exe run immediately as Windows starts.
>Can someone please tell me how to do this? Thanks.

Create a shortcut for it, then copy and paste the shortcut into the
startup folder.

Bruce Hagen

unread,
Jan 31, 2009, 11:59:13 PM1/31/09
to
"jetjock" <jet...@hanger.com> wrote in message
news:p69ao41c3k7e6v5u1...@4ax.com...

>I would like to have Filemon.exe run immediately as Windows starts.
> Can someone please tell me how to do this? Thanks.


There are a few ways, but try this.

Put a shortcut icon on the Desktop. Grab the icon with the cursor and left
mouse key and without letting up, drag it to the Start Button, All Programs
and finally to the Startup program and let go.

That should do it. Reboot and check it.
--

Bruce Hagen
MS-MVP Outlook Express
Imperial Beach, CA

Jace5869

unread,
Feb 1, 2009, 1:31:00 AM2/1/09
to
Add the path of the exe to the registry

HKLM->Software->Microsoft->Windows->Run

Ken Blake, MVP

unread,
Feb 1, 2009, 10:16:37 AM2/1/09
to
On Sat, 31 Jan 2009 22:30:04 -0600, jetjock <jet...@hanger.com>
wrote:

> I would like to have Filemon.exe run immediately as Windows starts.
> Can someone please tell me how to do this? Thanks.


The easiest way to do this is simply to put a shortcut to each program
you want to start automatically in the Startup folder.


--
Ken Blake, Microsoft MVP - Windows Desktop Experience
Please Reply to the Newsgroup

Message has been deleted

dbell5

unread,
Jan 5, 2010, 4:53:08 PM1/5/10
to

Is it possible to add a program that runs in the background, *before*
any user logs in to Windows?

Thanks,

Dave


--
dbell5
------------------------------------------------------------------------
dbell5's Profile: http://forums.techarena.in/members/171078.htm
View this thread: http://forums.techarena.in/windows-xp-support/1113280.htm

http://forums.techarena.in

David H. Lipman

unread,
Jan 5, 2010, 5:26:35 PM1/5/10
to
From: "dbell5" <dbell5...@DoNotSpam.com>

| Is it possible to add a program that runs in the background, *before* any user logs in
| to Windows?

| Thanks,

| Dave -- dbell5

TechArena.in is a leech of Usenet and fakes that it provides forums when they are
actually Usenet news groups and uses the vBulletin USENET gateway. In this case it is a
news group within the Microsoft.* hierarchy and can be directly accessed via the Microsoft
news server; MSNews.Microsoft.Com using a news client via TCP port 119.

Users of TechArena.in are strongly ENCOURAGED to drop the TechArena.in leech of
Usenet and access "this" News Group directly with the following News URL...

news://msnews.microsoft.com/microsoft.public.windowsxp.help_and_support

--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp


John John - MVP

unread,
Jan 5, 2010, 5:37:39 PM1/5/10
to
Which Windows XP version are you using?

You could accomplish this with a computer startup script or you can have
the program run as a service.

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/gptext_assigncomputerstartupscripts.mspx?mfr=true
Microsoft Windows XP - Assign computer startup scripts

http://support.microsoft.com/kb/137890
How To Create a User-Defined Service

John

Dave Bell

unread,
Jan 5, 2010, 6:48:49 PM1/5/10
to
The target system is running Windos XP Pro, Version 2002, S.P. 3

It sounds like a startup script is what I need.
Basically, I have two small console (non-GUI) programs I want to run as
servers that can be connected to from another PC. The applications work now,
but I have to either start them manually or they can run from shortcuts in
the Start > Programs > Startup folder. Either way, it requires a user to log
in to Windows firat.

It looks like I can do the script installation according to the Microsoft
link you sent, but I am stuck on the first directive"
"1. Open the Group Policy snap-in."
What is *that*?

Thanks for the pointers!

Dave

"John John - MVP" <aude...@nbnot.nb.ca> wrote in message
news:OxKtxelj...@TK2MSFTNGP05.phx.gbl...

John John - MVP

unread,
Jan 5, 2010, 7:05:36 PM1/5/10
to
Yes, I think that using a machine startup script is the best way to go
about this. To open the Group Policy snap-in enter gpedit.msc in the
Start menu Run box.

John

David H. Lipman

unread,
Jan 5, 2010, 7:08:08 PM1/5/10
to
From: "Dave Bell" <Dave...@not.LMCO.com>

| The target system is running Windos XP Pro, Version 2002, S.P. 3

| It sounds like a startup script is what I need.
| Basically, I have two small console (non-GUI) programs I want to run as
| servers that can be connected to from another PC. The applications work now,
| but I have to either start them manually or they can run from shortcuts in
| the Start > Programs > Startup folder. Either way, it requires a user to log
| in to Windows firat.

| It looks like I can do the script installation according to the Microsoft
| link you sent, but I am stuck on the first directive"
| "1. Open the Group Policy snap-in."
| What is *that*?

| Thanks for the pointers!

| Dave

KUDOS for dropping Techarena.in

Now just rememeber to follow OPSEC depending on what division you are in and what you do
:-)

Dave Bell

unread,
Jan 5, 2010, 7:20:08 PM1/5/10
to
Thanks - and I finally scrolled down alittle farther in the Microsoft doc
and found the "Related Topics"!

One more: Does the startup script need to be an actual script (batch file,
presumably?), or can I simply install the two executables as separate
entries?

Dave

"John John - MVP" <aude...@nbnot.nb.ca> wrote in message

news:eG4t6Pmj...@TK2MSFTNGP05.phx.gbl...

Dave Bell

unread,
Jan 5, 2010, 7:22:29 PM1/5/10
to

"David H. Lipman" <DLipman~nospam~@Verizon.Net> wrote:

> Now just rememeber to follow OPSEC depending on what division you are in
> and what you do
> :-)

Well, of course!
Fortunately, this will all end up running on a closed network, anyway...

Dave


John John - MVP

unread,
Jan 5, 2010, 9:00:49 PM1/5/10
to
It can be a script, batch file, shortcut or the actual path to the
executables. By the way, the application will run under the System
account so don't expect to see the application running or minimized to
the Taskbar when the user logs on and don't expect to be able to
interact with the application when it is running under the System
account. But if you look in the Task Manager you will see it as a
running process under the System account. If you must you can use the
AT command, or PSExec or Assarbad's RUNasSYS to run under guise of the
System account, this could allow you to interact with the running
application but I haven't actually tested this.

John

John John - MVP

unread,
Jan 5, 2010, 9:19:23 PM1/5/10
to
John John - MVP wrote:

> ... If you must you can use the

> AT command, or PSExec or Assarbad's RUNasSYS to run under guise of the
> System account, this could allow you to interact with the running
> application but I haven't actually tested this.

I just tried this and even when running under the system account I could
not interact with the running process started via the startup script.

Dave Bell

unread,
Jan 6, 2010, 11:35:28 AM1/6/10
to
No need to interact with the application once it's running.
There is no console activity (except for some unlikely failure reports), and
any "expected" problems or verbose messages get logged to a text file.

However, I have run into a problem installing the two applications:
Apparently, only the first one added to the Group Policy runs on startup.
Checking processes in Task Manager, I only see the first one.
That one later encountered a network error and stopped.
When I looked in Task Manager again, I saw the second one running.
Looks like they are serial, not concurrent.

Any thoughts?

Thanks!

Dave

"John John - MVP" <aude...@nbnot.nb.ca> wrote in message

news:u$TOUQnjK...@TK2MSFTNGP02.phx.gbl...

John John - MVP

unread,
Jan 6, 2010, 11:48:49 AM1/6/10
to
I would try it with two separate batch files. If need be use the /wait
switch with the start command:

start "" /wait "C:\Program Files\Program Folder\Program.exe"

John

Dave Bell

unread,
Jan 6, 2010, 2:16:25 PM1/6/10
to
Well, I've tried several combinations of single and multiple batch files,
with and without the /wait.
Best I've gotten is the first of two batch files launches its .exe, and the
second never starts up.
Incidentally, the DOS shell window for the one running application
displays, floating over the Windows logon screen.
Logging in (at least, using Remote Desktop) does not terminate the
application.

One solution may be to start a single applicatin, which in turn spawns two
child processes, without wait.

Maybe installing as services is the better answer. I'll look into that
further...

Thanks, again!

Dave

"John John - MVP" <aude...@nbnot.nb.ca> wrote in message

news:e2qbhAvj...@TK2MSFTNGP06.phx.gbl...

David H. Lipman

unread,
Jan 6, 2010, 5:00:31 PM1/6/10
to

From: "Dave Bell" <Dave...@not.LMCO.com>

| Well, I've tried several combinations of single and multiple batch files,
| with and without the /wait.
| Best I've gotten is the first of two batch files launches its .exe, and the
| second never starts up.
| Incidentally, the DOS shell window for the one running application
| displays, floating over the Windows logon screen.
| Logging in (at least, using Remote Desktop) does not terminate the
| application.

| One solution may be to start a single applicatin, which in turn spawns two
| child processes, without wait.

| Maybe installing as services is the better answer. I'll look into that
| further...

| Thanks, again!

| Dave

That's what I was thinking, if it isn't a fully installed application, run it as a NT
Service.

http://support.microsoft.com/kb/251192

0 new messages