Windows xp auto login batch file




















There are three main registry values in the Winlogon key which need editing or creating, a fourth if you want to log on via a domain. The AutoAdminLogon value will already be present but the others may or may not be depending on your system. If they are not there, add each one as needed. Once the required three or four values are present, double click on each one in turn and edit its Value data to match the user you want to set up as auto logon. Once you have completed entering the values, close the registry editor and restart to see if the changes have been successful.

To revert the changes you have made and turn off the auto logon function, open the registry editor and go back to the Winlogon key from step 2.

Double click on and change the AutoAdminLogon value to 0 , then optionally empty the DefaultPassword value data so the password is no longer visible. Tip: If you would rather not create and edit data in the registry in case you misspell or enter the wrong value, it will be easier to use a ready made registry file. Edit the values for username, password and optionally domain.

Save the file and double click it to add the data to your registry. Nothing bad will happen if you enter the wrong username or password in the registry. It will just produce an error at the logon screen and require you to manually select an account to logon with. For those users specifically still using Windows XP, there is a program you might already have installed that can enable auto logon.

If not, TweakUI is an essential little tweaking, fixing and enhancing tool made by Microsoft themselves you really should have installed. Download and install the program, open the Logon tree and click on Autologon. Download TweakUI Powertoy. Hi, How do I logon all user simultaneously, I have a dedicated system with multiple user account which all needs to be logged on to sync OneDrive files. Active 10 years, 5 months ago. Viewed 12k times. Kitamo Kitamo 87 1 1 gold badge 1 1 silver badge 12 12 bronze badges.

Add a comment. Active Oldest Votes. CreateObject "WSCript. Quit Throw it into windows scheduler to run even if user is logged off. Or better yet, if you want to have it auto-login the user say 15 minutes after they log out, you can add it to the local Group Policy for that machine: In RUN type gpedit.

Anthony Miller Anthony Miller Thanks, now it looks clear - at least I know that it is almost impossible. But script didn't work : — Kitamo. I admit, its not a answer to your question, but a solution for your problem : — MADMap.

Yes, I know that : But the point is that my. They will need to match whatever you set with lusrmgr. Consider restricting access to only these machines for the AD user account used for these "boards. As TN2M mentioned, there needs to be an additional 3 registry strings created to allow this to work.

They should go in the same spot as the Autoadminlogin:. Place that into a. It will log that user in after you restart the machine.

If you need to work on the machine after this, either RDC in or hold shift at boot to bypass the auto logon process. Remember that the above entry does not SET your credentials it specifies them. You need to configure an admin account and password locally on each machine first. Wow, I was all ready to try the registry edit solution, but Autologon makes this a piece of cake.

Paste this into a batch file and run as an admin - Change the user Id, Password and domain where appropriate. To continue this discussion, please ask a new question. Edit this Article. We use cookies to make wikiHow great. By using our site, you agree to our cookie policy.

Cookie Settings. Learn why people trust wikiHow. Download Article Explore this Article methods. Tips and Warnings. Related Articles. Method 1. Open the Start menu. It's located in the lower left-hand corner of the screen. Select "Settings", then open "Control Panel". The Control Panel program lets you make changes to your system settings. Double-click the "User Accounts" folder.

You'll be able to edit your account settings from here. Click on the "pick an account to change" option. Choose your default account name when it comes up. Your "default account name" will reflect the name on the account you are trying to edit. You should refrain from editing other accounts when on a shared computer. Click on the "Remove my Password" link.

When the computer prompts you to enter your password, do so. When prompted, click "Remove Password" to finalize the process.



0コメント

  • 1000 / 1000