windows task scheduler bypass longin



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?

Steve Schapel


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.
Jan 31, 2009
Reaction score
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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question