Jump to content

Recommended Posts

Posted

Hey,

I have a PC which goes into standby when there is no activity. By doing so, the user is logged off. I want to login automaticly after wake up. I have tried every Windows setting without result.

Can I run an AutoIt scripts which detects the wake up (on LAN) and does the windows login?

thx.

The more you learn, the less you know.

Posted

you could do an auto-log-in thingy, yes, but i would opt for a more simple, retarded idea, of simulating activity.

while 1=1

mousemove(x1,y1)

sleep(1000)

mousemove(x2,y2)

sleep(1000)

wend

unless you actually WANT to go into sleep mode or whatever.

Posted

have you tried doing something like this:

http://www.autoitscript.com/forum/index.php?showtopic=94609

It's quite an old project, but makes it a lot easier than jumping into the registry.

How should I run this to do the login after wake up?

The more you learn, the less you know.

Posted

All it does is edit the registry settings for you, it did work on my xp after going into sleep mode, or even after logging out as you can see from one of the functions.

So I should run your first example once and then the registry is edited and everything good to go?

The more you learn, the less you know.

Posted

Have you checked the Controlpanel/Power options/Advanced?

There is a checkbox to prompt for password when computer resumes from standby.

Jos

I already tried that a long time ago Jos, no luck. I always get the XP login screen.

The more you learn, the less you know.

  • Developers
Posted

I already tried that a long time ago Jos, no luck. I always get the XP login screen.

Do you have a Password setup on a ScreenSaver as well or is this a PC that has AD policies loaded?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

Do you have a Password setup on a ScreenSaver as well or is this a PC that has AD policies loaded?

Nope, no password. It is just a PC with XP prof that I use remotely.

The more you learn, the less you know.

Posted

I have found a script that can detect when the PC wakes up. Now I just have to add the login thingy.

Can anyone help me with that part?

thx

The more you learn, the less you know.

Posted

Have you looked in MMC to see if it is set there to lock?

I'm not really familiar with MMC. When I start it which snap-in do I have to add?

The more you learn, the less you know.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...