• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

Automatically starting a program without logging into an account

Y

Yousuf Khan

Flightless Bird
Dave-UK wrote:
> As Yousuf Khan hasn't bothered to give us any feedback I decided to
> see if the task method would work and it seems it does.
> As I normally only have one account I created a couple of test accounts
> and created a task to run the Calculator on every start up using the System
> account. When I rebooted, any account that I logged on to had calc.exe
> running
> in the background in Task Manager (but not visible on the Desktop).



Sorry, got caught up in other problems that occurred later. Are these
tasks running under the System user account or each individual user account?

Yousuf Khan
 
D

Dave-UK

Flightless Bird
"Yousuf Khan" <bbbl67@spammenot.yahoo.com> wrote in message news:4bb25aa3$1@news.bnb-lp.com...
> Zaidy036 wrote:
>> In Win 7 (at least my 64 bit) Task Scheduler provides an option to run on Start
>> Up.

>
> But as mentioned by me earlier, that only runs when the user account it
> was created for is run for the first time. If you don't login, then it
> won't ever get run.
>
> Yousuf Khan


Why don't you run your task from the system account, like I suggested a week ago?
 
D

Dave-UK

Flightless Bird
"Yousuf Khan" <bbbl67@spammenot.yahoo.com> wrote in message news:4bb25d6f$1@news.bnb-lp.com...
> Dave-UK wrote:
>> As Yousuf Khan hasn't bothered to give us any feedback I decided to
>> see if the task method would work and it seems it does.
>> As I normally only have one account I created a couple of test accounts
>> and created a task to run the Calculator on every start up using the System
>> account. When I rebooted, any account that I logged on to had calc.exe
>> running
>> in the background in Task Manager (but not visible on the Desktop).

>
>
> Sorry, got caught up in other problems that occurred later. Are these
> tasks running under the System user account or each individual user account?
>
> Yousuf Khan


The task runs under the system account.
As there is only one system account, it appears on every users account.
 
G

Gene E. Bloch

Flightless Bird
On Tue, 30 Mar 2010 16:10:10 -0400, Yousuf Khan wrote:

> Zaidy036 wrote:
>> In Win 7 (at least my 64 bit) Task Scheduler provides an option to run on Start
>> Up.

>
> But as mentioned by me earlier, that only runs when the user account it
> was created for is run for the first time. If you don't login, then it
> won't ever get run.
>
> Yousuf Khan


My Task Scheduler (on W7 Home Premium) provides options to repeat a task at
specified intervals: Edit Trigger - Run every xx hours (or whatever unit).

Not sure if that would help you...

--
Gene E. Bloch letters0x40blochg0x2Ecom
 
C

Char Jackson

Flightless Bird
On Tue, 23 Mar 2010 15:58:45 -0000, "Dave-UK" <Here@Home.com> wrote:

>As Yousuf Khan hasn't bothered to give us any feedback I decided to
>see if the task method would work and it seems it does.
>As I normally only have one account I created a couple of test accounts
>and created a task to run the Calculator on every start up using the System
>account. When I rebooted, any account that I logged on to had calc.exe running
>in the background in Task Manager (but not visible on the Desktop).


I may have missed it so I'd like to ask how you assign a (scheduled)
task to run using the System account? I tried Machine_Name\System but
it said I had to assign a password and then it said that the System
account could not be found, and I basically got lost at that point.
 
D

Dave-UK

Flightless Bird
"Char Jackson" <none@none.invalid> wrote in message
news:6495r51eup1jg3gn9c9b9mdtlsv3g0dkpm@4ax.com...
> On Tue, 23 Mar 2010 15:58:45 -0000, "Dave-UK" <Here@Home.com> wrote:
>
>>As Yousuf Khan hasn't bothered to give us any feedback I decided to
>>see if the task method would work and it seems it does.
>>As I normally only have one account I created a couple of test accounts
>>and created a task to run the Calculator on every start up using the System
>>account. When I rebooted, any account that I logged on to had calc.exe running
>>in the background in Task Manager (but not visible on the Desktop).

>
> I may have missed it so I'd like to ask how you assign a (scheduled)
> task to run using the System account? I tried Machine_Name\System but
> it said I had to assign a password and then it said that the System
> account could not be found, and I basically got lost at that point.
>


I don't have a password to my account and run as admin with UAC disabled.
Start task scheduler.
Create your task and on the General tab, where it says Security options,
When running this task...click on Change User or Group...
Enter system and OK it.
Then it displays NT AUTHORITY\SYSTEM as the user account.
 
C

Char Jackson

Flightless Bird
On Wed, 31 Mar 2010 08:34:21 +0100, "Dave-UK" <Here@Home.com> wrote:

>
>"Char Jackson" <none@none.invalid> wrote in message
>news:6495r51eup1jg3gn9c9b9mdtlsv3g0dkpm@4ax.com...
>> On Tue, 23 Mar 2010 15:58:45 -0000, "Dave-UK" <Here@Home.com> wrote:
>>
>>>As Yousuf Khan hasn't bothered to give us any feedback I decided to
>>>see if the task method would work and it seems it does.
>>>As I normally only have one account I created a couple of test accounts
>>>and created a task to run the Calculator on every start up using the System
>>>account. When I rebooted, any account that I logged on to had calc.exe running
>>>in the background in Task Manager (but not visible on the Desktop).

>>
>> I may have missed it so I'd like to ask how you assign a (scheduled)
>> task to run using the System account? I tried Machine_Name\System but
>> it said I had to assign a password and then it said that the System
>> account could not be found, and I basically got lost at that point.
>>

>
>I don't have a password to my account and run as admin with UAC disabled.
>Start task scheduler.
>Create your task and on the General tab, where it says Security options,
>When running this task...click on Change User or Group...
>Enter system and OK it.
>Then it displays NT AUTHORITY\SYSTEM as the user account.


Thanks, Dave. I was actually trying to follow along in XP. Doing as
you say and manually running the task, the status changes to "Running"
but the program (Notepad, Win Explorer, Calc, for example) didn't show
up in Task Manager and didn't show any GUI. No biggie, I was just
curious.
 
D

Dave-UK

Flightless Bird
"Char Jackson" <none@none.invalid> wrote in message
news:8137r5pp11bofjv0vhtks3311ldgv0ld1v@4ax.com...
> On Wed, 31 Mar 2010 08:34:21 +0100, "Dave-UK" <Here@Home.com> wrote:
>
>>
>>"Char Jackson" <none@none.invalid> wrote in message
>>news:6495r51eup1jg3gn9c9b9mdtlsv3g0dkpm@4ax.com...
>>> On Tue, 23 Mar 2010 15:58:45 -0000, "Dave-UK" <Here@Home.com> wrote:
>>>
>>>>As Yousuf Khan hasn't bothered to give us any feedback I decided to
>>>>see if the task method would work and it seems it does.
>>>>As I normally only have one account I created a couple of test accounts
>>>>and created a task to run the Calculator on every start up using the System
>>>>account. When I rebooted, any account that I logged on to had calc.exe running
>>>>in the background in Task Manager (but not visible on the Desktop).
>>>
>>> I may have missed it so I'd like to ask how you assign a (scheduled)
>>> task to run using the System account? I tried Machine_Name\System but
>>> it said I had to assign a password and then it said that the System
>>> account could not be found, and I basically got lost at that point.
>>>

>>
>>I don't have a password to my account and run as admin with UAC disabled.
>>Start task scheduler.
>>Create your task and on the General tab, where it says Security options,
>>When running this task...click on Change User or Group...
>>Enter system and OK it.
>>Then it displays NT AUTHORITY\SYSTEM as the user account.

>
> Thanks, Dave. I was actually trying to follow along in XP. Doing as
> you say and manually running the task, the status changes to "Running"
> but the program (Notepad, Win Explorer, Calc, for example) didn't show
> up in Task Manager and didn't show any GUI. No biggie, I was just
> curious.
>


Maybe it's because you started it from your account.
Try creating a task to run Calculator at system start up using the System account
and then reboot. When you log on to your normal account you'll find calc.exe
running in Task manager. At least that's what I found on win7.
I think why it doesn't show up on the desktop is because System doesn't have a desktop!
 
C

Char Jackson

Flightless Bird
On Wed, 31 Mar 2010 19:31:45 +0100, "Dave-UK" <Here@Home.com> wrote:

>
>"Char Jackson" <none@none.invalid> wrote in message
>news:8137r5pp11bofjv0vhtks3311ldgv0ld1v@4ax.com...
>> Thanks, Dave. I was actually trying to follow along in XP. Doing as
>> you say and manually running the task, the status changes to "Running"
>> but the program (Notepad, Win Explorer, Calc, for example) didn't show
>> up in Task Manager and didn't show any GUI. No biggie, I was just
>> curious.
>>

>
>Maybe it's because you started it from your account.
>Try creating a task to run Calculator at system start up using the System account
>and then reboot. When you log on to your normal account you'll find calc.exe
>running in Task manager. At least that's what I found on win7.
>I think why it doesn't show up on the desktop is because System doesn't have a desktop!


Thanks again, Dave. I'll get a chance to play with it again soon.
 
Top