kentk Posted November 18, 2005 Posted November 18, 2005 Hi all !I have a swedish XP sp2 that I have made unattended and it works well until I try to make it total silent using the files below, they are in $OEM$.The programs says that I have to be administrator after reboot when the runonceex.cmd rows executes..Whats wrong ??Autologon.regWindows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="Datorn""DefaultPassword"="""AutoAdminLogon"="1"cmdlines.txt[COMMANDS]"Useraccounts.cmd""RunOnceEx.cmd"Useraccounts.cmd@Echo Offnet user Datorn /addnet localgroup Administrator Datorn /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.regEXITThe thing I want to accomplish is that a user called "Datorn" is logged on automatically with no password and in the admin group.
The Black Cloud Posted November 19, 2005 Posted November 19, 2005 Remove this "DefaultPassword"="" from autologon.reg
kentk Posted November 19, 2005 Author Posted November 19, 2005 (edited) Nope, tried that and it does not work When the runonceex install scripts starts I get a error message:You need to be logged in as administrator to install....I am suspecting something with the swedish letter "ö"...For instance is the admin account when unattended , Administrator or Administratörer ??This is my winnt.sif:;SetupMgrTag[Data] AutoPartition=0 MsDosInitiated="0" UnattendedInstall="Yes" AutomaticUpdates=Yes[unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS UnattendSwitch="yes" WaitForReboot=No DriverSigningPolicy=Ignore OemPnPDriversPath="drivers\000_Intel_INF;drivers\000_VIA_INF;drivers\001_LAN_PRO100;drivers\002_LAN_PRO1000;drivers\003_LAN_PROXB;drivers\004_LAN_YUKON"[branding] BrandIEUsingUnattended = Yes Home_Page = http://www.google.se Search_Page = http://www.google.se://http://www.google.se Search_Pa...//www.google.se[GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=110 OemSkipWelcome=1[userData] ProductKey=XXXX-XXXXX-XXXX-XXXXX-XXXXX FullName="." OrgName="." ComputerName=Dator[Display] BitsPerPel = 32 Xresolution = 800 Yresolution = 600 Vrefresh = 60 AutoConfirm=1[identification] JoinWorkgroup=ARBETSGRUPP[Networking] InstallDefaultComponents=Yes[Components] msmsgs=off And now my autologon.reg[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"DefaultUserName"="Datorn""AutoAdminLogon"="1"useraccounts.cmd@Echo Offnet user Datorn /addnet localgroup Administratörer Datorn /addnet accounts /maxpwage:unlimitedREGEDIT /S autologon.regEXIT Edited November 19, 2005 by kentk
kentk Posted November 20, 2005 Author Posted November 20, 2005 (edited) Hm, one problem solved...I had to save the file in charactercode 850 so that the ö in Administratörer went to a "But I have another question, now that I managed to make a user "Datorn" a screen comes upp when windows starts saying "Personal settings ....".That screeen did not come up if I made the user by the Win gui in the installation. (not using UnattendSwitch="yes" in winnt.sif )Is it possible to make the logon faster or is it always like this ? Edited November 20, 2005 by kentk
Dobby Posted December 2, 2005 Posted December 2, 2005 (edited) I think net localgroup Administrator Datorn /add should be net localgroup Administrators Datorn /addAs the group is called Administrators.Don't know if the Swedish version is named differently but to check goto to My Computer->Right Click->Manage->Local Users and Groups->Groups and you should see it there.HTHDobby Edited December 2, 2005 by Dobby
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now