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.

Auto Log on to Domain?

Featured Replies

I am creating an unattended install of windows, and applications. The applications are all stored on a server that is part of our domain. The only thing that is keeping my install from being completly unattended is fact that I have to log in to the domain after windows is installed before the apps can be installed form RunOnceEx. Any ideas on how to bypass the domain login just once :crazy:

Thanks much

I know, regardless of logging onto a domain or the local box, we have been unable to get our unattended installs to auto-login since Windows XP Service Pack. The first unattended we created that incorporated SP2 just beeped at us about a bad username/password. Once we typed in the password, the RunOnce stuff triggered just fine.

I know this isn't an answer, but at least it might help describe the issue as not specific to the fact that you're trying to log on to a domain. Perhaps another reader here has worked around the SP2 issue.

~Dave N.

  • Author

Thanks for the reply. Hopefully there is some super computer whiz out there that can help us ;)

  • Author

Try this: :thumbup

Run regedit from your run command.

navigate to [HKEY_LOCAL_MACHINE]\software\microsoft\windows nt\current version\winlogon

To enable it to automatically logon:

-Change value of "AutoAdminLogon" to 1

-if "AutoAdminLogon" isnt there, just click edit, new, stringvalue then name the new string value "AutoAdminLogon" and set the value to 1.

-Make sure the values "DefaultDomainName" and "DefaultUserName" are correct for your domain

-make sure the value of "DefaultPassword" is set to the correct password

-if "DefaultPassword" isnt there, click edit, new, stringvalue then name the new string value "DefaultPassword", and then enter the password that corresponds to the user

-if you want to bypass the ctrl-alt-del when you logon, open up "DisableCAD" and set the value to 1.

After you do this, it SHOULD ;) automatically log you in to your domain with the user name and password you entered in regedit. The only thing that I havent been able to figure out is how to bypass the domain welcome screen that makes you click "OK" to move on. :crazy: Any ideas on that????

Let me know if this works for you

Hi

I had the same problem...

I used a simple batch file, to create a networkpath to the directory whre the setup-files are in the domain...

!?

greetz

You will need to make sure you are specifying the domain in Winlogon.

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

"AltDefaultDomainName"="DOMAIN"

"CachePrimaryDomain"="DOMAIN"

If that does not work change the username to the following;

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

"DefaultUserName"="DOMAIN\Username"

Edited by snooz

  • Author

Thanks guys

I ended up using

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\WinLogon]
"DisableCAD"=dword:00000001
"AutoAdminLogon"="1"
"DefaultPassword"="******"
"DefaultDomainName"="CARS_NT_DOMAIN"
"DefaultUserName"="administrator"
"AltDefaultDomainName"="CARS_NT_DOMAIN"
"AltDefaultUserName"="administrator"
"CachePrimaryDomain"="CARS_NT_DOMAIN"

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system]
"legalnoticecaption"=-
"legalnoticetext"=-
"disablecad"=dword:00000001

This took care of my logging on as well as bypassing intro message issues.

Thanks 4ur help :w00t:

  • Author

would you mind showing me the content of the batch file you use??? Thanks much!!! :D

  • 3 weeks later...

@cheezus420

hey i want exactly reverse to what u said above abt enabling autologon.

after finishing of my unattended installation i want to disable autologon to admin account.i tried every thing ie

autologon count in winnt.sif

Changed value of "AutoAdminLogon" to 0

but non of them works.what to do

  • Author

quotee,

no, i got everything working. thanks though. I ended up just using a batch file containing the "net use" command. worked fine for what i needed :thumbup

bmn,

Do you mean logging in to the domain??? If so, Try running regedit and navigating to

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

then change the value of

"AutoAdminLogon"="1"

from 1 to 0

should work just fine, also you could probably remove the string value containing the password.

Where i work the Xp machines on the "managed build" are on active directory and you can tie in msi's to install before log on to the domain. Thats safer than giving access to an admin account

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.