CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2004
    Location
    New Jersey, USA
    Posts
    341

    Scheduled Task under Local System account ?

    I am creating application that will automatically schedule the task using windows scheduler. If I do not set the settings to RunOnlyWhenLogedOn I need to provide account information under which the task will run. I was wondering if I can specify Local System Account like for Windows Services. I know when I developed Windows service I can just set the property to run under Local System. In case of scheduled task I need to provide user and password.
    Does anybody know whether I can do it how???

    Thanks a lot for any tips.
    "We act as though comfort and luxury were the chief requirements of
    life, when all that we need to make us happy is something to be
    enthusiastic about."

    - Einstein

  2. #2
    Join Date
    Sep 2005
    Posts
    9

    Re: Scheduled Task under Local System account ?


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured