Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Software

Vista - Getting program to run at startup

Reply
 
Old 11-10-2008   #11 (permalink)


Vista Ultimate x86
 
 

Re: Getting program to run at startup

Ccleaner can be start up disabled by going into Options and Settings and unchecking the "Run Ccleaner when computer starts" box

Using a programs own options to disable it at start up is always preferable to using msconfig, registry editing or anything else.

My System SpecsSystem Spec
Old 11-11-2008   #12 (permalink)


Vista Home Premium 32bit
 
 

Re: Getting program to run at startup

Thanks Jim R, will try disabling CCleaner from its own options menu; I did as Pooch suggested and unticked the program in msconfig, but it did not run at all on startup. Will let you know ...
Florio
My System SpecsSystem Spec
Old 11-11-2008   #13 (permalink)


Vista Ultimatex64 Windows 7 build 7100
 
 

Re: Getting program to run at startup

Quote  Quote: Originally Posted by Florio View Post
Thanks Jim R, will try disabling CCleaner from its own options menu; I did as Pooch suggested and unticked the program in msconfig, but it did not run at all on startup. Will let you know ...
Florio
(this is supposed to happen)

Hi Florio,
We seem to be getting a bit confused here,
So I will try again, Starting CCleaner on system start using the start up option within CCleaner works but will always require you to answer a UAC prompt.

There is a way around this by using the task scheduler to do this you first need to stop CCleaner from starting by any other method for example by removing the tick in the start up options. Otherwise this program will be trying to start up twice!!

To use the task scheduler you need to carefully follow the next instructions. I realise that you have added difficulties as you have to translate everything so I have tried to make this as simple as possible.

1. Cick on Start Orb,
2. right click computer,
3. click manage, accept the uac prompt
4. click on the left hand pane, task scheduler,
5. click on the right hand pane, create task
6. under the General tab (the first tab)
7. Give your task a name (CCleaner) and put a tick in the box run with highest privileges
8. under the Triggers tab (the second tab)
9. click on New
10. Select Begin the task At log on
11. under the Actions tab (The third tab)
12. click on New
13. click on Browse find and highlight the ccleaner.exe click on Open and then ok
14. click on ok
thats it you are finished

CCleaner will now start with windows without the UAC prompt, but it will always start open on your desktop as there is no option to start CCleaner minimised !!
My System SpecsSystem Spec
Old 11-11-2008   #14 (permalink)


Vista Home Premium 32bit
 
 

Re: Getting program to run at startup

Thanks Jim R,
I had actually already created the startup task with Task Manager. I went back there now to check and found, in the central panel under Chronology (or whatever it's called in English -- I have the Italian version of Vista) that the program begins to run on startup but is then unsuccessful (there are various correlation IDs that I can let you have if they can be of use). My only guess, at this point, is that I may have selected an incorrect option when setting up the task (although I did tick the box "run with highest privileges"). Should I have clicked on "run independently of user login" (or whatever it says in English)? BTW, how can you modify the settings of a task once you've defined it?

Last edited by Florio; 11-11-2008 at 04:23 AM.. Reason: post was accidentally sent before I'd finished writing it...
My System SpecsSystem Spec
Old 11-11-2008   #15 (permalink)


Vista Ultimatex64 Windows 7 build 7100
 
 

Re: Getting program to run at startup

Quote  Quote: Originally Posted by Florio View Post
Thanks Jim R,
I had actually already created the startup task with Task Manager. I went back there now to check and found, in the central panel under Chronology (or whatever it's called in English -- I have the Italian version of Vista) that the program begins to run on startup but is then unsuccessful (there are various correlation IDs that I can let you have if they can be of use). My only guess, at this point, is that I may have selected an incorrect option when setting up the task (although I did tick the box "run with highest privileges"). Should I have clicked on "run independently of user login" (or whatever it says in English)? BTW, how can you modify the settings of a task once you've defined it?
1. Post the correlation ID's I cant hep you there but maybe someone else
2. No there should be no need to tick "run only when user is logged on"
3. Open task scheduler, click on task scheduler library, highlight task in middle pane, select properties in right pane
My System SpecsSystem Spec
Old 11-11-2008   #16 (permalink)


Vista Ultimate x86
 
 

Re: Getting program to run at startup

Start>Right click Computer>Manage to get to Task Scheduler
Doubleclick Task Scheduler and Task Scheduler Library will appear under Task Scheduler

Your Task you created will show on the list of tasks. Just double click the task on the list that you created to open it and then edit the task as you like.

More information that you don't really need to know, but will help you understand what goes on:

If you used Ccleaner's Options>Settings to clear the "Run Ccleaner when windows starts" box, then the MSCONFIG startup box should not even have Ccleaner on the list there.

MSCONFIG is meant to be used as a tool to TEMPORARILY disable startup items for troubleshooting purposes. It is not meant as a tool to permanently disable startup items. This tends to clutter the registry since unchecking an item actually makes another "disabled" entry elsewhere in the registry. This is why disabling a program using it's own options is a better way to do this as it automatically removes the startup entry in the registry without creating another one.
My System SpecsSystem Spec
Old 11-11-2008   #17 (permalink)


Vista Ultimatex64 Windows 7 build 7100
 
 

Re: Getting program to run at startup

Task Scheduler - Create Task

Have a look here as there are also pictures that may help
My System SpecsSystem Spec
Old 11-11-2008   #18 (permalink)


Vista Home Premium 32bit
 
 

Re: Getting program to run at startup

Thanks to everyone for their input.
Just to give you an update on the situation:
a) I have disactivated the "run Ccleaner when windows starts" box in the Options/Settings menu of CCleaner
b) there is no longer a CCleaner entry in the MSCONFIG list of startup programs
c) even though I have created a task with TASK MANAGER, CCleaner will not run on startup. The reasons for this have varied. First, there was an "unknown username or invalid password (0x8007052E)". After editing the task, I was informed that "the user has not logged onto the network. The specified service does not exist (0x800704DD)". The latest message is "There are currently no logon servers available to service the logon request (0x8007051F)."
It would seem that CCleaner (don't know why!) has to have an internet connection to run on startup, and that the program is being programed to run before the connection is established.
One thing I forgot to mention earlier; I previously had Comodo firewall on my laptop, and CCleaner always ran on startup without any problems, and without the GUI opening on the desktop.
Florio
My System SpecsSystem Spec
Old 11-11-2008   #19 (permalink)


Vista x64 Ultimate SP2, Windows 7 Ultimate x64
 
 

Re: Getting program to run at startup

Florio,

CCleaner may be checking for an update when it is trying to access the internet. In CCleaner Options and Settings, uncheck the Automatically check for update... option to see if that helps.
My System SpecsSystem Spec
Old 11-11-2008   #20 (permalink)


Vista Ultimatex64 Windows 7 build 7100
 
 

Re: Getting program to run at startup

Quote  Quote: Originally Posted by Florio View Post
Thanks to everyone for their input.
Just to give you an update on the situation:
a) I have disactivated the "run Ccleaner when windows starts" box in the Options/Settings menu of CCleaner
b) there is no longer a CCleaner entry in the MSCONFIG list of startup programs
c) even though I have created a task with TASK MANAGER, CCleaner will not run on startup. The reasons for this have varied. First, there was an "unknown username or invalid password (0x8007052E)". After editing the task, I was informed that "the user has not logged onto the network. The specified service does not exist (0x800704DD)". The latest message is "There are currently no logon servers available to service the logon request (0x8007051F)."
It would seem that CCleaner (don't know why!) has to have an internet connection to run on startup, and that the program is being programed to run before the connection is established.
One thing I forgot to mention earlier; I previously had Comodo firewall on my laptop, and CCleaner always ran on startup without any problems, and without the GUI opening on the desktop.
Florio
Hi Florio,

Its annoying to be so close and not have any more ideas, you have said yourself that it may be possible that you may have made a mistake setting this up, so I think it may be worth a try to delete this task; Open task scheduler, click on task scheduler library, highlight task in middle pane, select delete in right pane and then to try setting it up again trying to follow the guide as carefully as you can.

It may be possible that the deinstallation of Comodo is stopping this working, I can only suggest checking to make sure that it is completely gone a good registry cleaner may help here
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
startup program Vista General
Startup program Vista General
startup program -disable Vista General
UAC blocks startup program Vista security
Adding a startup program Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46