MSFN Forum: Ask your Seven xml ? here - MSFN Forum

Jump to content


  • 25 Pages +
  • « First
  • 18
  • 19
  • 20
  • 21
  • 22
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Ask your Seven xml ? here Sample .xml's including Audit Mode for DVD and other Install's

#381 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 910
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 April 2012 - 07:38 AM

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?


#382 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,665
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 09 April 2012 - 10:02 AM

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.

#383 User is offline   bphlpt 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,075
  • Joined: 12-May 07

Posted 09 April 2012 - 10:08 AM

@Tripredacus, he said he specifically did not want to do it that way.

View PostTheWalrus, on 09 April 2012 - 01:26 AM, said:

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

#384 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 910
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 09 April 2012 - 12:48 PM

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.



#385 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,665
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 10 April 2012 - 08:22 AM

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=false


It 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.

#386 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 910
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 April 2012 - 08:43 AM

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.



#387 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,665
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 10 April 2012 - 08:47 AM

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.

#388 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 910
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 April 2012 - 09:10 AM

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?

#389 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 910
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 April 2012 - 09:58 AM

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!

This post has been edited by TheWalrus: 10 April 2012 - 09:59 AM


#390 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,747
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 10 April 2012 - 05:03 PM

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 passes

Valid Passes = auditSystem, oobeSystem, specialize
You don't add them normally unless you do audit

View PostTheWalrus, on 10 April 2012 - 09:58 AM, said:

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!


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

This post has been edited by maxXPsoft: 10 April 2012 - 05:04 PM


#391 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 910
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 April 2012 - 02:06 AM

Well, it definitely does log the user in the number of times I set there, I tested that. But still doesn't solve my problem :)




Btw where do you think it's better to install drivers and software at? I switched over from firstlogoncommands to setucomplete.cmd and it works just fine, sadly with the exceptions of funky stuff like Synaptics Touchpad and 3D DriveGuard. Was thinking to put it in the former as I wouldn't have to rewrite answer file for different PC then and just flip the batch files instead. Besides, one can easily just close the **** cmd windows when the desktop is already accessible (lots of lusers do that).



#392 User is offline   Tripredacus 

  • K-Mart-ian Legend
  • Group: Super Moderator
  • Posts: 8,665
  • Joined: 28-April 06
  • OS:Server 2012
  • Country: Country Flag

Posted 11 April 2012 - 08:30 AM

View PostmaxXPsoft, on 10 April 2012 - 05:03 PM, said:

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 passes


This is true, the password gets removed, however the number does get used. I've tested with both 1, 3 and 10. I wonder where that value is kept in the OS?

#393 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 910
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 11 April 2012 - 09:42 AM

I believe it's HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon




I am playing around with my batch files and am wondering whether there is a way to make the cmd window impossible to close.



#394 User is offline   nice_guy75 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 406
  • Joined: 07-December 09

Posted 12 April 2012 - 03:06 AM

View PostTheWalrus, on 11 April 2012 - 09:42 AM, said:

I believe it's HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon




I am playing around with my batch files and am wondering whether there is a way to make the cmd window impossible to close.

Use Autoit commands with SW_HIDE flag, I use the same for hiding cmd window.

#395 User is offline   TheWalrus 

  • N.W.O.
  • PipPipPipPipPip
  • Group: Members
  • Posts: 910
  • Joined: 11-August 08
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 12 April 2012 - 07:45 AM

Out of question, but thanks for tips anyway.

#396 User is offline   bphlpt 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,075
  • Joined: 12-May 07

Posted 18 May 2012 - 09:15 PM

I have a very basic question that has to do with making a dual-arch AutoUnattend xml file. If anyone has already addressed this somewhere, please just point me to the link.

The way I understand it, 32bit Win7 only processes the x86 sections, while 64bit Win7 processes BOTH the x86 and the amd64 sections? Is there any way to make a 64bit Win7 process ONLY the amd64 section?

The reason I ask this is that a friend of mine is putting together a dual arch file. There are a few things that he needs to ONLY run in the 32bit OS and some that he ONLY wants to run in a 64bit OS. But if he puts the 32bit only file in the x86 section then the 64bit OS tries to run that as well. How can we prevent this but still have it available where the 32bit OS will pick it up?

Thanks in advance.

#397 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,380
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 18 May 2012 - 11:49 PM

Maybe you can find some help here: (example for Windows 7 AIO):

Create your own Autounattend.xml All-In-One (x86/amd64)

Regards

#398 User is offline   bphlpt 

  • MSFN Expert
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,075
  • Joined: 12-May 07

Posted 19 May 2012 - 01:28 AM

Thanks, myselfidem,

I'll pass along the info :)

Cheers and Regards

#399 User is offline   buffstuffmedia 

  • Group: Members
  • Posts: 7
  • Joined: 17-January 10

Posted 28 June 2012 - 07:08 AM

Hi can anyone tell me if it is possible to make a single autounattened xml for 2 different pcs that run windows 7 ultimate x64 and 1 pc that runs windows 7 ultimatex32 using the <image/value> key rather than the <image/name> key and also when it comes to the specialise where i name the computer would i be able to name all 3 computers with different names on the autounattended xml , im working on it just now and any input would be greatly appreciated , and if i get it to work will post my results and how i managed it also incase anyone else is in same boat

#400 User is offline   maxXPsoft 

  • MSFN Master
  • Group: Developers
  • Posts: 2,747
  • Joined: 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 29 June 2012 - 07:59 AM

View Postbuffstuffmedia, on 28 June 2012 - 07:08 AM, said:

Hi can anyone tell me if it is possible to make a single autounattened xml for 2 different pcs that run windows 7 ultimate x64 and 1 pc that runs windows 7 ultimatex32 using the <image/value> key rather than the <image/name> key and also when it comes to the specialise where i name the computer would i be able to name all 3 computers with different names on the autounattended xml , im working on it just now and any input would be greatly appreciated , and if i get it to work will post my results and how i managed it also incase anyone else is in same boat

Index : 3
Name : Windows 7 PROFESSIONAL

Index : 4
Name : Windows 7 ULTIMATE

Yes you can use Index.

Far as naming the computers you could just add both the processorArchitecture="x86" and processorArchitecture="amd64" stuff also in xml and name it that way.

        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ComputerName>32bitPC</ComputerName>

        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ComputerName>64bitPC</ComputerName>

This post has been edited by maxXPsoft: 29 June 2012 - 08:01 AM


Share this topic:


  • 25 Pages +
  • « First
  • 18
  • 19
  • 20
  • 21
  • 22
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy