Re: ITaskScheduler

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Igor Tandetnik (itandetnik_at_mvps.org)
Date: 06/04/04


Date: Fri, 4 Jun 2004 15:12:59 -0400


"K.VenkataRamana" <ramananewid2004@yahoo.com> wrote in message
news:2DC38EEC-59F2-4DE0-BF57-BE1A726A395A@microsoft.com
> Hi, When I calling SetTargetComputer(_T("\\\\MachineName")) of
> ITaskScheduler, it gives the error ACCESS_DENIED. How can I resolve
> this one?

The documentation says: The current user on the remote computer must
have administrative access to use this method.

That is, the user logged on this machine, and whose credentials your
application runs with, must have administrative privileges on the remote
machine which you want to configure a task on.

-- 
With best wishes,
    Igor Tandetnik
"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken


Relevant Pages

  • Re: How to delete this file ???
    ... have administrative access to the remote computer. ... The drive letter shares ... Note that you need two trailing backslashes even if you don't ...
    (comp.lang.python)
  • Re: Restrictions and the Administrators Group
    ... It is typical of the rather vague MS documentation, ... without Administrative access. ... Can you modify local group policies? ...
    (microsoft.public.windowsxp.general)
  • Re: Restrictions and the Administrators Group
    ... It is typical of the rather vague MS ... > documentation, and doesn't really tell you what exactly you won't be ... > able to do without Administrative access. ... Can you modify local group policies? ...
    (microsoft.public.windowsxp.general)
  • Administrative Permissions
    ... using the MMC, there is an option to 'Connect to Remote ... administrative access on the remote computer'. ... (apart from editing shared documents, ...
    (microsoft.public.windowsxp.security_admin)
  • Re: XP Home - XP Pro sharing problem
    ... To resolve this problem: on the remote computer, ... the remote machine is running XP Home Edition, ...
    (microsoft.public.windowsxp.network_web)