A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » General XP issues or comments
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Automatic login



 
 
Thread Tools Display Modes
  #1  
Old August 1st 17, 08:44 PM posted to alt.comp.os.windows-10,alt.windows7.general,microsoft.public.windowsxp.general
Micky
external usenet poster
 
Posts: 1,528
Default Automatic login

In alt.comp.os.windows-10, on Tue, 20 Jun 2017 20:16:57 -0700, T
wrote:

On 06/20/2017 08:07 PM, Rene Lamontagne wrote:
On 6/20/2017 9:59 PM, T wrote:
On 06/20/2017 07:53 PM, Rene Lamontagne wrote:
On 6/20/2017 3:58 PM, T wrote:
Hi All,

Note to Cross Posting police. Bite me!

I am posting this to all three groups as it applies to all.

This is a batch file I wrote to create a .reg file
to enable you to automatically log into Windows without
a password. I have used it on Win 2000, XP, Vista, w7,
Frankenstein the Elder (w8), and Frankenstein the
Younger (w10)

I will paste it here, but it will have line truncation errors.
To get around that, I also pasted it on

http://vpaste.net/tKtSx


I copied this and saved it.

Use vpaste, if you don't understand batch programming.


I do understand batch programming, but I'm going to look into vpaste
anyhow.


Paste it into text editor and save it as `AutoLogon.bat`.
Then just double click on it.

It will create a file called:
C:\drivers\AutoLogin\XP.%USERNAME%.AutoLogonNoPass wd.reg

Ignore the XP.

This .reg file will give you a permanent .reg file you can run
whenever you lose your this setting, do to an update, etc..
Just double click on the .reg file to install it. It required
a reboot to take.

You can also edit this file and add a password if you please.
In some low security setting, this is desirable.

To do this, alter

echo "DefaultPassword"="" %Target%
to
echo "DefaultPassword"="MyPassword" %Target%

Alter "MyPassword" to what you desire. And save it back.


I would love feedback.

-T


code Autologon.bat
@echo off
rem Create a "reg" file to set an "automatic logon" in Windows XP
rem for the current user (%USERNAME%).

rem this script presumes the current user has no password. Modify
rem the "reg" file, if you want a password

rem This routine will park the "reg" file in c:\drivers\AutoLogin
rem with the name "XP.%USERNAME%.AutoLogonNoPasswd.reg"


set dr1=C:\Drivers
set dr2=%dr1%\AutoLogin
set fname=XP.%USERNAME%.AutoLogonNoPasswd.reg
set Target="%dr2%\%fname%"

if not exist %dr1% mkdir %dr1%
if not exist %dr2% mkdir %dr2%


rem Note: "echo/" and "echo." echo a blank line
rem
echo REGEDIT4 %Target%
echo/ %Target%
echo ; Create an XP Automatic Login .reg file for user %USERNAME%
with no password %Target%
echo. %Target%
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\Winlogon] %Target%
echo/ %Target%
echo "DefaultUserName"="%USERNAME%" %Target%
echo "DefaultPassword"="" %Target%
echo "AutoAdminLogon"="1" %Target%

echo.
echo %fname% has been created in %dr2%
echo.

Pause
/code

Correct me if I'm wrong or misunderstood your intent, but doesn't
netplwiz.exe with the proper box unchecked allow you to enter windows
without logging in?

Rene


Hi Rene,

Looking at:

http://www.howto-connect.com/start-w...hout-password/

It looks like the same thing I am doing.

-T


Sorry it took me so long to reply, just saw these answers, something
must have made me busy.

But alas, I knew about the User Accounts page, and I'd already set it to
not require a password (or maybe it was already set like that since
there was no password). I check periodically, including just now, and
it's always set not to require a userid or password.

I also checked the other suggestion, which seemed to help, but not
enough, and it's still set to "OFF, Show lock screen background picture
on the sign-in screen." Of course the problem at one level is that
there IS a sign-in screen, not that there's a picture on it, but maybe
that is their backhanded method of saying Get rid of the screen.


The problem is that it still displays a nature photograph, and I have to
click in the bottom right. Then it displays an outline of a person's
head with a box below that for the password, and I have to click on it,
or press enter or something, and only then am I logged on.

These seems not to happen when booting (better put, they both occur but
after a while it goes on to the next step, without my doing anything),
and maybe not when coming out of hibernation, but it happens a lot, not
all the time, when I don't touch the computer and it goes to sleep (s1?)

Today it actually went through the "nature photograph, bottom right,
click on outline" sequence twice in a row!!! Who says MS doesn't know
what they're doing. But that's only happened once.


I got a threatening window from MS saying the Creator's edition was
coming**, but that was 2 or 3 weeks ago. After it comes, either it will
have fixed this, or, if I manage to fix it, it won't be overlaid again,
like other problems Creator's has been causing.

So I'm waiting until I get that, but I'm still open to ideas.

"I am the viper. I will be there is 7 years"


Seems much the same results, I was curious because being the only user
of my machines logging in was just a pain in the butt, so I have been
using this method for ages.

Regards, Rene


With my method, you can always just rerun the .reg file if some update
makes you start logging in again.

I carry it on stick. Takes me seconds to enable a no password
logon. I don't have to dig around my documentation to figure out
how to do it manually.

Interesting aside. My customers that do not use password on
their business machines never have any trouble with tampering
by other employees. Only the ones with strict password enforcement.
Hmmmm. Which came first ...


Ads
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 09:51 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.