Computer Performance, Windows 2003, Exchange 2003, Logon Scripts

 Registry Hack - AutoAdminLogon

Introduction to AutoAdminLogon

This registry setting allow a user to automatically logon at any Windows network computer without giving a password.  Clever installation scripts take advantage of AutoAdminLogon and so build the machines without an operator having to reboot.  (Even Cleverer scripts tighten security by removing AutoAdminLogon when they have finished.)

See my latest page on AutoAdminLogon

Topics for AutoAdminLogon

How AutoAdminLogon Works

Once AutoAdminLogon is turned on, the operating system reads the registry and attempts to logon the value specified by DefaultUserName.  The key to AutoAdminLogon is setting the defaultpassword for that default user, then the machine loads the desktop without anyone pressing Ctrl Alt Delete.

As you can see AutoAdminLogon is not secure, but I confess to using it on my home machine.  However, once I had a business use for AutoAdminLogon.  The situation was a library wanted their computers to automatically reboot if there was a problem.  They did want the librarian to have to leave their desk and press Ctrl Alt Delete.

See my latest page on AutoAdminLogon

Getting Started

The best executable to hack the registry is Regedit.exe.  Go to the START (Button), RUN, REGEDIT (Type), OK (Button).  The Windows 2003 version remembers the last place you visited which is useful if you use Regedit often.

If you are still not sure how to start Regedit, click here.

Goal to configure AutoAdminLogon

First Objective - Navigate to the Winlogon registry hive.

AutoAdminLogon find with RegeditMethod 1) Run Regedit and go to the Edit menu, select 'Find' then type DefaultUserName.  The purpose is to get to the correct place within the registry before you start configuring. N.B. You may have to press F3.  You will have succeed when you see HKey_Local_Machine\Software\Microsoft\Windows NT\CurrentVersion\winlogon.

Method 2) If Method 1 fails then open Regedit and drill down to: HKey_Local_Machine\Software\Microsoft\Windows NT\CurrentVersion\winlogon.

Second Objective - To set the AutoadminLogon value =1

If AutoAdminLogon exists then Double Click on AutoAdminLogon and set value =1 (Numeric 1)

If AutoAdminLogon does NOT exist then go to: Edit (Menu), New, String Value, Type AutoAdminLogon

Third Objective - Create DefaultPassword and set the password

Regedit create String Value AutoAdminLogonIn regedit, you need to go to the EDIT menu, New, String Value type DefaultPassword.

To get AutoAdminLogon to work you need to add DefaultPassword to the same WINLOGON area.  Set the password to what ever it needs to be for the DefaultUserName to logon successfully.

Note 1:  You do need a reboot to test AutoAdminLogon, one suggestion would be to master the shutdown /m \\ victim.  See more here.

Note 2:  The DefaultUserName does not have to be Administrator; in fact it is more secure if you  set it to who ever is most appropriate.

Note 3:  To break out of AutoAdminLogon and select a different username, keep your finger on the Shift key before logon.

Note 4: If want to see a sample .reg file featuring AutoAdminLogon see here.

Windows Vista Registry Tweaks:

 

   Tweak the Registry ebook

Download your Tweak the Registry Ebook for only $6.45

This ebook will explain the workings of the registry.  I thoroughly enjoy tweaking the registry, and I want to distill the best of my experiences and pass them on to you.

Each registry tweak has two aims; to solve a specific problem, and to provide general learning points, which help you to master regedit. 

Over 60 pages ebook and PDF format

 

 

 

 *


Google

WebComputerperformance.co.uk

GFi Events Manager

Guy Recommends: GFi EventsManager

Here is a solution to monitor, manage and archive thousands of events that are generated by devices across your entire network.  Get your free evaluation copy of GFI EventsManager.

 

Home Copyright © 1999-2008 Computer Performance LTD All rights reserved

Please report a broken link, or an error.