Re: Debug Process Scheduled task under different user

From: Drew Cooper [MSFT] (dcoop_at_online.microsoft.com)
Date: 01/08/04


Date: Wed, 7 Jan 2004 16:02:44 -0800

Not sure how you can do this with the Task Scheduler UI, but the cmdline
tool "at" will let you run an app as the local machine that can interact
with the desktop - see "at /interactive".

-- 
Drew Cooper [MSFT]
This posting is provided "AS IS" with no warranties, and confers no rights.
"Pascal Yokogawa" <anonymous@discussions.microsoft.com> wrote in message
news:0bd601c3d534$686d11e0$a401280a@phx.gbl...
> Hi,
>
> We currently face the following problem:
>
> We run an Excel application with a custom made addin. This
> application is run by a scheduled task (windows XP) under
> a different username (same machine). Both useraccounts are
> Administrators, no events in the Event Viewer show up.
>
> Our application works correctly under both usernames (the
> username we logged in with, and the username the task runs
> on), but after some research we found out that with a
> scheduled task under a different username Excel asks for
> userinteraction. As the task runs invisible, we cannot see
> what exactly is asked.
>
> Microsoft Spy++ does not reveal any windows, so debugging
> is not possible at the moment.
>
> Our question:
> Is there a possible way to find out what the messagebox
> should show? All help is welcome.
>
> PS Userinteraction is required BEFORE running our custom
> addin, so debug logging from within the addin is not
> helpful.
>
> Regards,
>
> Pascal Yokogawa


Relevant Pages

  • Re: traffic accounting per username with ipfw in 5.4 ? (more)
    ... Thanks - I was searching for username and getting nowhere. ... and initiated from the local machine. ... that occur under the auspices of a particular username. ... auspices of that username, and not just what _they themselves_ initiate, ...
    (freebsd-questions)
  • Re: Is there a way to identify all of a users logins?
    ... If a user logs into a local machine with one username & password, ... You can use domain credentials to do that but all it means is that ...
    (microsoft.public.win32.programmer.networks)
  • Re: Network logon as restricted user is not working
    ... username, passwords are blank. ... the host computer, he can access the drives on the host computer with no ... If the user is restricted on either the local machine or the host ... > Naturally we would like to have all users working as restricted users. ...
    (microsoft.public.win2000.networking)
  • Re: Connecting to network shares
    ... If I use a made up username / password I get a boolean True for the ... > used from a Windows Form and on my PC it works. ... > error code is: 67 " ... > This is when I am logged on as the administrator of the local machine. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Backup to mapped drive
    ... If you will run the command (script, batcfile, ...) with username that has ... It will be not safe to have password in the batch file? ... >> use the scheduler to run the batch file daily before the backup ...
    (microsoft.public.windows.server.general)