Jump to content

Recommended Posts

Posted

First problem is that it doesn't add the user aka to administrators nor to users group.

It only adds the user. (this is what I use)

[COMMANDS]
"net user aka PASS /add"
"net localgroup Users aka /add"
"net localgroup Administrators aka /add"
"net accounts /maxpwage:unlimited"
"REGEDIT /S autologon.reg"
"REGEDIT /S regtweaks.reg"

Second problem is that it doesn't skip the first screen

this is what I do:

;SetupMgrTag
[Data]
   AutoPartition=0
   MsDosInitiated="0"
   UnattendedInstall="Yes"
   AutomaticUpdates=yes

[Unattended]
   UnattendMode=FullUnattended
   OemSkipEula=Yes
   OemPreinstall=Yes
   TargetPath=\WINDOWS
   UnattedSwitch=Yes
   FileSystem=*
   WaitForReboot="No"
   OemPnPDriversPath="Drivers\000_nvidia_inf;Drivers\001_nvidia_sound;Drivers\002_nvidia_eth;Drivers\003_nvidia_vga;Drivers\004_hp_scanner;"

[GuiUnattended]
   AdminPassword=bla
   EncryptedAdminPassword=Yes
   OEMSkipRegional=1
   TimeZone=115
   OemSkipWelcome=1

[UserData]
   ProductKey=BLA
   FullName="aka"
   OrgName="bla"
   ComputerName=aka

[Display]
BitsPerPel=32
Xresolution=1024
YResolution=768
Vrefresh=72

[RegionalSettings]
   LanguageGroup=2

[Identification]
   JoinWorkgroup=WORKGROUP

[Networking]
   InstallDefaultComponents=Yes

[Branding]
BrandIEUsingUnattended=Yes

[URL]
Home_Page=http://www.google.com

[IEPopupBlocker]
BlockPopups=Yes
FilterLevel=Med
ShowInformationBar=Yes

[Components]
msmsgs=off
msnexplr=off
zonegames=off

[WindowsFirewall]
Profiles = WindowsFirewall.TurnOffFirewall

[WindowsFirewall.TurnOffFirewall]
Mode = 0

[GuiRunOnce]
%systemdrive%\Install\RunOnceEx.cmd

autologon.reg

Windows Registry Editor Version 5.00 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon]
"DefaultUserName"="aka"
"DefaultPassword"="bla"
"AutoAdminLogon"="1"

Can anybody help me? (i'm sure it's a PEBKAC)

regtweaks.reg


Posted

"net localgroup Users aka /add"

Is unneeded. Remvoe it.

Is that how you spell Administrator in your language?

Second problem is that it doesn't skip the first screen

Which first screen? There are quite a few.

Posted

I am using the english version, there is no version in romanian, and even if it existed I wouldn't use it because it most surely would suck :P

"net localgroup Users aka /add"

because if that user is not a member of Users then it won't have a picture in the start menu. (I don't know if this applies also to administrators) (anyway it is redundant, it doesn't do any harm being there)

And the first screen is that when windows shows that video and asks to turn on automatic updates and asks for a username.

Posted
I am using the english version, there is no version in romanian, and even if it existed I wouldn't use it because it most surely would suck :P

"net localgroup Users aka /add"

because if that user is not a member of Users then it won't have a picture in the start menu.  (I don't know if this applies also to administrators) (anyway it is redundant, it doesn't do any harm being there)

And the first screen is that when windows shows that video and asks to turn on automatic updates and asks for a username.

Oh. You spelled UnattendSwitch wrong :P

UnattedSwitch=Yes

Should be

UnattendSwitch=Yes

Posted (edited)
Can anybody help me? (i'm sure it's a PEBKAC)

I told you the Problem Exists Between Keyboard And Chair :P

but it still doesn't add the user aka to Administrators group :(

More on this.

post-70-1107101894_thumb.jpg

Edited by a.k.a.
Posted

man, should have seen this earlier.

See what happens when you change the user name...

You're trying to set both the computername and the account name the same, and Windows doesn't allow that.

Posted

10x it works now. I didn't think too much about this because IT CREATED the user aka, and it put a random name for the computer.

And as a matter a fact it works having both the username and the computername the same.

post-70-1107106108_thumb.jpg

Posted
And as a matter a fact it works having both the username and the computername the same.

That's certainly interesting. What have you broken now? :P

I don't believe that your screenshot is a fake, but as far as I know Alanoll is right about this and having computer and user name identical should not be possible. Every test I have ever run has failed to create a user who's name is identical to the machine name.

Posted
try renaming the computer to your username - it should work

Let me just make sure I am following this properly:

  • uA installation generates a random name to assign to the PC
  • User aka is created
  • PC is renamed to aka

Have I got that right?

Posted

Okay. Thanks for explaining that for me.

Back in September SiMoNsAyS posted a fairly in-depth description that might help you out. You can find it here. I haven't read through it completely yet, so I'm not sure what all is in there, but it might have some stuff that will help you figure out exactly when names get assigned.

Posted

well I tried to change the computer name in cmdlines.txt with a reg file and it seems to be working (It gave me at the first screen an error that there is a duplicate name on the network -- that would be my computer as i run it in vmware)

The name of the computer is aka indeed, but in my computer it doesn't show as such...

I will investigate

computername.reg

Posted

I found the problem

You should also change some other key in

[HKLM\System\CurrentControlSet\Services\Tcpip\Parameter]

NV Hostname

Hostname -is the current name

NV Hostname -is the hostname that the computer will take after a reboot

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...