Launch running Access procedure before Windows login

amorosik

Member
Local time
Today, 03:43
Joined
Apr 18, 2020
Messages
502
I have a procedure created with some Access forms which creates a sort of print spooler and must remain active h24
It runs on Windows 10 pro, and currently the PC has two Windows users with a password request for desktop access
When the pc is restarted I would like my procedure to start running even if the user has not performed the initial login
It's possible to do it? How to do?
 
put your events in the autoexec when db starts:
make macro AUTOEXEC
runCode "MyPreProcedure"
openForm "fLoginForm"

but if mean run an app BEFORE they login to windows, then no. you cant.
the code above lets you run the procedure then Login to your access app system.
 
Using task SCHEDULER


NOTE that if the task starts up with no user active, I am not sure about how it will connect to the screen and keyboard. This may be the source of Ranman256's comment that you can't do it. I think you CAN do it but that you won't like the way it runs because you can't connect to it.

However, using the Task Scheduler, you DO have the option to identify a userID under which to run your task. NOTE that in this case, you would launch your app, not Access itself. (Or more precisely, if you use the general method of the video, you launch Access targeting the app file.)
 

Users who are viewing this thread

Back
Top Bottom