Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Autologin query

Featured Replies

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

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

  • Author

Thanks for that, but whats the best way to run the reg tweak during the unattended install?

Cheers

Phil

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

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"

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.

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

  • Author

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

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.

  • Author

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

lets see the code of your regtweak.reg as well

  • Author

The reg tweak is exactly the same as in Soopafly's reply (with my username of course!)

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

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

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.