Jump to content
Sign in to follow this  

Anyway to bypass Adlib being disabled on Workstation Lock?

Recommended Posts


Hey, I have a program that runs in the background that runs an Adlib every 5 minutes to check for an update on my server.

When I lock my computer and then come back later to unlock it...Its like my autoit program has stacked up every Adlib ever called while my computer was Locked, because I can never access my program when I first unlock my pc. It takes about 10 minutes until I can start using my program again. (Program is based on EventMode if that helps u get an idea any).

Any ideas? Its Adlib, right? Did I come to the right conclusion? Adlib doesn't run when the computer is locked? Is there any way around this? How would YOU do this? Maybe a way to check to see if the computer is locked, if not, run Adlib, it yes, then dont run the Adlib.

...thats assuming the reason I cant access my program after I unlock my PC is BECAUSE of adlib.

Share this post

Link to post
Share on other sites

I don't think its the Adlib function itself. This works fine, even if the computer is locked.

Global $i = 0
while 1
Func myadlib()
    $i += 1
    ConsoleWrite($i & @TAB & TimerInit() & @crlf)

It's more likely one of the function within the adlib which hangs, maybe some win-related function?

Edited by KaFu

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.