windows task scheduler bypass longin

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have created a macro named Marco1, which will send e-mail, also created a
scheduled task from windows XP scheduled task wizards with the following
shortcut in the "Run" field:
"C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "C:\Program
Files\ServiceClient\myFrontDB.mde" /wrkgrp "c:\miracledb\mo.mda" /cmd
"c:\miracledb\myBackEndDB.mdb" /x Macro1

The scheduled task is running OK. Except, each time, I have to enter user
name and password to login and start application when the scheduled task
starts to run. Is there other way to run scheduled task silently without
login and launch the access application?
 
Ming,

I believe you can add a /user and /pwd switch to the command line.

Do I understand you correctly that the Macro is in the backend data
file? I can't quite follow what you are doing, but it seems more
complicated than it needs to be... but then I am not all that
experienced with this aspect!
 
Hello Steve,

Thanks. I added the /user /pwd switch. It bypassed the login screen. That is
what I want. Thanks a lot.
 
hi sorry to bring this up after 5 years but it'd like to know where i put the /user /pwd switches?

in the poster's case, would it be something like this in the task scheduler:

Run Field: "C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" /user /pwd
 
Back
Top