Jump to content

Recommended Posts

Posted

How do I get it so I can create an autologin account that autologs in every time after the installation is finished, rather than a set number of times?

Thanks

Phil


Posted

first of all you need to edit the winnt.sif

[GuiUnattended]

AdminPassword=*

AutoLogon=Yes

EncryptedAdminPassword=NO

than you need to add the following registry tweak

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

"DefaultUserName"="your name"

"DefaultPassword"=""

"AutoAdminLogon"="1"

"ForceAutoLogon"="1"

----===HELL YEH===----

Posted

you can create a bat file and use the net user command under windows xp and 2000

NET USER
[username [password | *] [options]] [/DOMAIN]
        username {password | *} /ADD [options] [/DOMAIN]
        username [/DELETE] [/DOMAIN]

you can use this command from the batch file and execute the command which will create a new user...

you need to use it in the CMDLINES.txt file in the $OEM$ folder

Posted

Do you have to add

[Unattended]
UnattendSwitch="Yes"

in your winnt.sif??

first of all you need to edit the winnt.sif

[GuiUnattended]AdminPassword=*

AutoLogon=Yes

EncryptedAdminPassword=NO

than you need to add the following registry tweak

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

"DefaultUserName"="your name"

"DefaultPassword"=""

"AutoAdminLogon"="1"

"ForceAutoLogon"="1"

Posted
Do you have to add

[Unattended]
UnattendSwitch="Yes"

in your winnt.sif??

first of all you need to edit the winnt.sif

[GuiUnattended]

AdminPassword=*

AutoLogon=Yes

EncryptedAdminPassword=NO

than you need to add the following registry tweak

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]

"DefaultUserName"="your name"

"DefaultPassword"=""

"AutoAdminLogon"="1"

"ForceAutoLogon"="1"

This is not neccesary, here is what you do:

1. Create the $OEM$ folder on your windows xp cd

2. Create the CMDLINES.txt file

3. Create the following batch file with the following code

@echo off
echo Creating a New User
NET USER TEST /ADD
NET LOCALGROUP ADMINISTRATORS TEST /ADD
END

4. Save it as any file name you like but it must be a bat file eg. ANYNAME.bat

5. Copy ANYNAME.bat to the $OEM$ folder

6. Add this to the CMDLINES.txt file

".\ANYNAME.bat"

7. You can finish there....^^^^^

Then from that point you can USE the GUIRunonce section of the windows sif script file to continue your installation, this will automatically install the files into the account you have created, once you have not added a password, because it will automatically login to that user account, and will designate it as the main account used by you.

Posted

So Sunil will I need to just do what you said, or will I also need to do what Soopafly did also?

Just to reiterate, I want to set up a user called autologin that autologs in every time the PC is switched on, not just during the unattended installation.

Cheers

Phil

Posted

Leon2003 - Unless you are using a corporate version (unlikely) then you will have to activate it. There is a way to make your disk think it's a different disk, but I believe that that might break the policies of this forum to discuss it.

Posted

I create the following files:

$OEM$\cmdlines.txt

$OEM$\user.cmd

$OEM$\$1\install\regtweak.reg

The user.cmd is called from cmdlines.txt and contains, amongst other things, the line:

REGEDIT /S %systemdrive%\install\regtweak.reg

When it tries to run the REGEDIT line I get an error:

'REGEDIT' is not recognised as an internal or external command, operable program or batch file

Does anyone know why it is doing this? Do I have to put the regedit.exe in the $OEM$ dir somewhere?

Cheers

Phil

Posted
What do I add to get rid off the Activation thing ??  It asks me if I want to activate with microsoft now or later....

Hi,

If you have internet access after setup you can auto activate by adding this in your .sif file

[unattended]
AutoActivate = "Yes"

cheers

::beep

Posted
So Sunil will I need to just do what you said, or will I also need to do what Soopafly did also?

Just to reiterate, I want to set up a user called autologin that autologs in every time the PC is switched on, not just during the unattended installation.

Cheers

Phil

The tweak that Soopafly is suggesting works if you have a password protected user account and want to login automatically when windows starts, my suggestion works when you want to create an account without a password, this will automatically login when windows first starts from an unattended startup....this willk work until you remove that account, or if you wish to keep it, it will automatically login all the time, not just after the unattended install......

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...