Jump to content

Recommended Posts

Posted

Is it possible to have XP autologon if they are on a domain?. I'm unsure as I've never encountered the need to do this before.

DC is samba so XP side fixes please.

Thanks in advance.

Posted
Option Explicit
Dim ws
Set ws = WScript.CreateObject("WScript.Shell")


Dim strKeyPath
strKeyPath = "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\"
ws.RegWrite strKeyPath & "AutoAdminLogon", "1", "REG_SZ"
ws.RegWrite strKeyPath & "AutoLogonCount", "1", "REG_SZ"
ws.RegWrite strKeyPath & "DefaultPassword", "password", "REG_SZ"
ws.RegWrite strKeyPath & "DefaultUserName", "Administrator", "REG_SZ"
ws.RegWrite strKeyPath & "DefaultDomainName", "domain", "REG_SZ"
ws.RegWrite strKeyPath & "AltDefaultDomainName", "domain", "REG_SZ"
ws.RegWrite strKeyPath & "CachePrimaryDomain", "domain", "REG_SZ"

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



×
×
  • Create New...