Jump to content

Ask your Seven xml ? here


Recommended Posts

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

Link to comment
Share on other sites


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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 1 month later...

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.

Link to comment
Share on other sites

  • 1 month later...

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

Link to comment
Share on other sites

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>

Edited by maxXPsoft
Link to comment
Share on other sites

hi i have done the index bit using

<ImageInstall>

<OSImage>

<InstallFrom>

<MetaData wcm:action="add">

<Key>/IMAGE/VALUE</Key>

<value>1</value> and so forth upto <value>4</value>

that bit is fine and dandy but the naming of the pcs , i will be sharing all pcs on a network so each of the 64 bit ones have to have their own individual name , could i possibly add like <key>IMAGE\VALUE</key> value variable to the specialize for naming each of the 64 bit pcs according to the image number they were run from

Link to comment
Share on other sites

If ComputerName is set to an asterisk (*) or is an empty string, a random computer name will be generated. This random name has at most eight characters from the RegisteredOwner and/or RegisteredOrganization strings plus random characters.

<ComputerName>*</ComputerName>

otherwise you would have to run a script during specialize to name it

Something like this

IF "%PROCESSOR_ARCHITECTURE%"=="AMD64" SET CompName=*_amd64

ECHO "%CompName%"

WMIC ComputerSystem where Name="COMPUTER-NAME" call Rename Name="%CompName%"

Edited by maxXPsoft
Link to comment
Share on other sites

ok no problem , i guess there is no way to run a single autounattended.xml that will work with 3 different versions of windows ultimate x64 or x86 to make it totally unattended , will just have to go inside the hive registry for each image and manipulate most of it that way , thanx for your input anyway

Link to comment
Share on other sites

Hello,

Until now I used DVD’s for my unattended Win7.

Here bellow the CommandLine I used

                <SynchronousCommand wcm:action="add"> 
<Order>3</Order>
<Description>About 275 Portable Utilities</Description>
<CommandLine>cmd /C start /wait c:\Install\UtilsPortable.exe</CommandLine>
</SynchronousCommand>

I finished preparing an unattended Win7 and softwares (16 GB) USB key thanks to Rufus utility

What will be the CommandLine to install an external prog since that prog is located into the same Win7 USB key?

I'll appreciate yr help

Link to comment
Share on other sites

What will be the CommandLine to install an external prog since that prog is located into the same Win7 USB key?

I'll appreciate yr help

CDROM variable used same way Post 102

Course can change to whatever like %USBkey%

Link to comment
Share on other sites

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