Is there a command/script to allow for auto logon during startup?

D

David F

I am using W2K+SP4.

Is there a command, that I can put as a script in the path:
C:\WINNT\system32\GroupPolicy\Machine\Scripts\Startup,
that will automatically logon to a user's account?

Or of course any other method to accomplish that.

Thanks,
David
 
P

Pegasus \(MVP\)

David F said:
I am using W2K+SP4.

Is there a command, that I can put as a script in the path:
C:\WINNT\system32\GroupPolicy\Machine\Scripts\Startup,
that will automatically logon to a user's account?

Or of course any other method to accomplish that.

Thanks,
David

Much simpler: Control Panel / Users and Passwords / Untick
the box that requires users to enter a password.
 
D

David F

1. Removing a password would not log it on - one would still need
to push the Enter key or click with the mouse on the OK button.
I wrote that I want the machine to automatically logon. Automatically
means w/o any physical intervention.

2. Secondly, I want the machine still require a password in order
for someone to access it. One way to accomplish that is, through
the screen saver, lock the computer soon (within one minute) after
it starts to lock the KB/mouse. If I could accomplish that
programmatically, such that there is no gap even for that one minute,
that would be even better.

David
 
P

Pegasus \(MVP\)

Who said anything about removing the password?
If you try the method I explained then you will see
that you will be prompted for the password for
the chosen account - it's just that Windows will
remember it for subsequent logon occcasions!

Locking the PC is easy - just place this instruction
into a batch file located in the Startup folder:

rundll32.exe user32.dll,LockWorkStation

One might ask why you want an automatic logon if
you then proceed to lock the PC immediately.
 
D

David F

I appologize for my hastiness to conclude from just reading your feedback
to arrive at the wrong conclusion.
I have tried and it does exactly what I was looking after.

As to your question: the purpose is that in my absence, I leave the computer
to perform certain tasks. If and when there is an automatic return from a
power outage, I want the computer to return to the state I left it to
perform
- all unattended and inaccessible to unauthorized people.

Many thanks,
David
 

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

Top