Jump to content

Nils

Member
  • Posts

    2
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About Nils

Nils's Achievements

0

Reputation

  1. Thank you snooz for your reply. Yes, it works fine for me also in Windows XP, it's only in Windows 2000 it doesn't work.
  2. Hello, I'm trying to create an admin account in W2000 from cmdlines.txt, then importing reg tweaks, and then rebooting. Most of it works, except that the autologon.reg doesn't get imported into the registry during the unattended setup, but instead the default Administrator account is in and asks for a password. The useraccounts.cmd is obviously executed because the user JH is added to the Administrators group. After Windows is up, if I run useraccounts.cmd manually it gets imported, and after another reboot the desired user account with auto logon works. All the files listed are located in /$OEM$/ except for winnt.sif, which is in /i386/. Any help would be appreciated. WINNT.SIF: ;SetupMgrTag [Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes" [Unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINNT UnattendSwitch="yes" DriverSigningPolicy=Ignore [GuiUnattended] AdminPassword=* OEMSkipRegional=1 TimeZone=10 OemSkipWelcome=1 [UserData] FullName="JH" ComputerName=W2000 ProductID="xxxxx-xxxxx-xxxxx-xxxxx-xxxxx" [Display] BitsPerPel=4 Xresolution=800 YResolution=600 Vrefresh=60 [TapiLocation] CountryCode=1 AreaCode=406 [RegionalSettings] LanguageGroup=1 Language=00000409 [Components] pinball=off solitaire=off minesweeper=off freecell=off [Identification] JoinWorkgroup=W [Networking] InstallDefaultComponents=Yes cmdlines.txt: [COMMANDS] "useraccounts.cmd" "RunOnceEx.cmd" useraccounts.cmd: net user JH /add net localgroup Administrators JH /add net accounts /maxpwage:unlimited REGEDIT /S autologon.reg EXIT autologon.reg: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "DefaultUserName"="JH" "DefaultPassword"="" "AutoAdminLogon"="1" RunOnceEx.cmd: cmdow @ /HID @echo off SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Applications and Registry" /f REG ADD %KEY%20 /VE /D "Importing Registry Tweaks" /f REG ADD %KEY%20 /V 1 /D "REGEDIT /S %systemdrive%\Install\regtweaks.reg" /f REG ADD %KEY%30 /VE /D "Cleaning Up and Rebooting" /f REG ADD %KEY%30 /V 1 /D "%systemdrive%\Install\cleanup.cmd" /f EXIT
×
×
  • Create New...