Octopuss Posted April 8, 2012 Share Posted April 8, 2012 (edited) Hey I thought to do exactly that. It doesn't work Must have something to do with laptops having per manufacturer customized drivers. Trying to put the driver there results in blank screen. A bug of some sort.However I managed to discover a way to do it anyway. I almost gave up though. I couldn't get the **** thing to install unattended if I specified packages to install (noone sane wants Control Center in his system I'd say, for example). It works fine when executed manually but gives (not always but often) all kinds of weird errors unattended.What I did was check which packages I wanted installed and physically DELETED the rest, and just specify the \packages path.You can also either:\bin64\atisetup.exe -install -use %systemdrive%\TEMP\graphics\Packages -output c:\TEMP\ATIlog.txt -loglevel 4\bin64\setup.exe /unattended_install:c:\TEMP\graphics\Packages /force_hide_first_run /autoaccept_all /force_close_when_done /ON_REBOOT_MESSAGE:YESThe first one has the disadvantage of not being able to push for a restart, so I install via setucomplete.cmd and manually do shutdown /r after that Edited April 8, 2012 by TheWalrus Link to comment Share on other sites More sharing options...
Octopuss Posted April 8, 2012 Share Posted April 8, 2012 How comes the setup doesn't wait for setucomplete.cmd to finish?I set it to install the drivers as per previous post but only just realized firstlogon commands pop up in the background! That makes no sense...cmd /c start /wait %systemdrive%\TEMP\graphics\bin64\setup.exe /unattended_install:c:\TEMP\graphics\Packages /force_hide_first_run /autoaccept_all /force_close_when_done /ON_REBOOT_MESSAGE:YES Link to comment Share on other sites More sharing options...
maxXPsoft Posted April 8, 2012 Author Share Posted April 8, 2012 How comes the setup doesn't wait for setucomplete.cmd to finish?Its all in your cmd and what you are calling, Catalyst installs several things so if you call something and it starts running and fire something else off and 1st thing terminate then there is no wait. Have fought that on things before including ATI so I don't install it.No laptop are the same I have a HP laptop and it works fine adding drivers like that Link to comment Share on other sites More sharing options...
Octopuss Posted April 8, 2012 Share Posted April 8, 2012 Ha you are onto something here. The individual packages have their own .msi files so it's technically speaking not one thing. Still I think setup wait for the setup.exe process to finish, which IMO doesn't happen until the whole thing is installed. Anyway, the other way with manual restart works just fine, fortunately. I still wonder if start /wait does anything...What happened when I put the driver in $WinPEdrivers$ was it did install, but the screen was completely blank, but the Windows was running, lol. I even heard sounds and saw disk activity when I opened Start for example. Some mysterious stuff there Link to comment Share on other sites More sharing options...
Octopuss Posted April 9, 2012 Share Posted April 9, 2012 (edited) Another question please:1) What do I change where (registry-wise I guess) to make a local account autologon PERMANENTLY? Not setting silly stuff like logoncount=9999. Run netplwiz and uncheck the usual tickbox is exactly what I want to achieve. Any pointers?2) I can't seem to make anything else but administrator account autologin.this works: <UserAccounts> <AdministratorPassword> <Value>aaa</Value> <PlainText>true</PlainText> </AdministratorPassword> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>aaa</Value> <PlainText>true</PlainText> </Password> <DisplayName>Administrator</DisplayName> <Group>Administrators</Group> <Name>Administrator</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <AutoLogon> <Username>Administrator</Username> <LogonCount>3</LogonCount> <Enabled>true</Enabled> <Password> <Value>aaa</Value> <PlainText>true</PlainText> </Password> </AutoLogon>this doesn't work: <UserAccounts> <AdministratorPassword> <Value>aaa</Value> <PlainText>true</PlainText> </AdministratorPassword> <LocalAccounts> <LocalAccount wcm:action="add"> <Password> <Value>bbb</Value> <PlainText>true</PlainText> </Password> <DisplayName>User</DisplayName> <Group>Administrators</Group> <Name>User</Name> </LocalAccount> </LocalAccounts> </UserAccounts> <AutoLogon> <Username>User</Username> <LogonCount>3</LogonCount> <Enabled>true</Enabled> <Password> <Value>bbb</Value> <PlainText>true</PlainText> </Password> </AutoLogon> ...and asks me for entering name for the account (no idea if it's the name of the folder or the description. **** system is totally unclear about it). If I enter "User" it says I can't use it as it's already in use or something like that. It also asks me for password too. Edited April 9, 2012 by TheWalrus Link to comment Share on other sites More sharing options...
Octopuss Posted April 9, 2012 Share Posted April 9, 2012 To add to the confusion, if I create TWO new users, the 2nd one is actually created and logged on. What the hell is this? What am I doing wrong? Link to comment Share on other sites More sharing options...
Tripredacus Posted April 9, 2012 Share Posted April 9, 2012 Your logon count is set for 3, which means it will only log on automatically 3 times. Try using a higher number like a million. Link to comment Share on other sites More sharing options...
bphlpt Posted April 9, 2012 Share Posted April 9, 2012 @Tripredacus, he said he specifically did not want to do it that way.1) What do I change where (registry-wise I guess) to make a local account autologon PERMANENTLY? Not setting silly stuff like logoncount=9999. Run netplwiz and uncheck the usual tickbox is exactly what I want to achieve. Any pointers?Cheers and Regards Link to comment Share on other sites More sharing options...
Octopuss Posted April 9, 2012 Share Posted April 9, 2012 Exactly. I can of course do this manually after installation, but I am trying to achieve as much as possible automatically (and learn new stuff).At the moment I am going nuts over the account creation and Aero themes though. Link to comment Share on other sites More sharing options...
Tripredacus Posted April 10, 2012 Share Posted April 10, 2012 I can't say about the Account problem, as I never enable the built-in Administrator account. So I have no experience with the OS' behaviour during unattended setup with it enabled. For AutoLogon, I'm not sure why you wouldn't want to use the AutoLogon in Unattend. Presuming you get your account creation thing taken care of, you'll see that it shouldn't be a problem. The only issue you'll run into after that is any user accounts created via Unattend will have their password expire after 2-3 months. Running this in your FirstLogonCommands will fix that:wmic useraccount where "name='AccountName'" set PasswordExpires=falseIt may also be possible to set AutoLogon using WMI, but I did a quick look in UserAccount with the WMI Object Browser but didn't see it there. Another option may be to write to the appropriate registry values. Link to comment Share on other sites More sharing options...
Octopuss Posted April 10, 2012 Share Posted April 10, 2012 Well, permanent autologon is very handy for home computers. I am installing a new laptop for my father in law these days. He is the only one who will use it, so there is absolutely no reason for 1) having to type a password 2) creating extra account, which would be administrator anyway.My problem with autologon in unattended setup is that you ONLY can set finite amount of logons. Of course one million is probably enough until the thing gets replaced in a few years, but I want to do stuff "proper" way. There is a manual way, but I'd like to achieve that this way. Of course maybe it's impossible just like the themes. Link to comment Share on other sites More sharing options...
Tripredacus Posted April 10, 2012 Share Posted April 10, 2012 There is no harm in creating a second account. He would never end up seeing it unless he did a log-off and saw the welcome screen. Having an extra account can come in handy if the primary account becomes corrupted or has a virus in it or whatever. Link to comment Share on other sites More sharing options...
Octopuss Posted April 10, 2012 Share Posted April 10, 2012 You are probably right. But is it possible to create a new account which will be an administrator AND have the default Administrator account enabled at the same time? Link to comment Share on other sites More sharing options...
Octopuss Posted April 10, 2012 Share Posted April 10, 2012 (edited) The computer is playing with me! <LocalAccount wcm:action="add"> <Name>blabla</Name> <DisplayName>blabla</DisplayName> <Group>Administrators</Group> <Password> <Value>aaa</Value> <PlainText>true</PlainText> </Password> </LocalAccount>The account is a guest! What the hell! Edited April 10, 2012 by TheWalrus Link to comment Share on other sites More sharing options...
maxXPsoft Posted April 10, 2012 Author Share Posted April 10, 2012 (edited) Autologon credentials are deleted from the unattended installation answer file after Windows® Setup is complete.So settinga number means nothing as long as it is 1 for intended passes, not like you going to re-do them passesValid Passes = auditSystem, oobeSystem, specializeYou don't add them normally unless you do auditThe computer is playing with me! <LocalAccount wcm:action="add"> <Name>blabla</Name> <DisplayName>blabla</DisplayName> <Group>Administrators</Group> <Password> <Value>aaa</Value> <PlainText>true</PlainText> </Password> </LocalAccount>The account is a guest! What the hell!Remove the <PlainText>true</PlainText>, other than looking at your log files don't set a default value. xml is very tricky with UA. 1 thing will cause you to blue screen or do weird things Edited April 10, 2012 by maxXPsoft Link to comment Share on other sites More sharing options...
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