need help on my unattended.xml

junqi89

New member
Member
Local time
12:37 AM
Messages
75
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" 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">
<InputLocale>en-US</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>en-US</UserLocale>
</component>
<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">
<OOBE>
<NetworkLocation>Home</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Description>Built in Account</Description>
<DisplayName>Administrator</DisplayName>
<Group>Administrator</Group>
<Name>Administrator</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<TimeZone>Australian Western Standard Time</TimeZone>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:f:/it%20stuff/isofile/windows%207%20all%20in%20one/windows%207%20all%20in%20one%20x86%20&x64/sources/install.wim#Windows 7 Professional x64" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

I have already create the local admin but it still prompt me to key in username and pc name ?
 

My Computer My Computer

OS
windows 7 64bit
That answer file does nothing else than sets US English input language, network location Home and AWST time zone.

Only reference to a user profile in the answer file is to built-in administrator account, which is unnecessary as Windows creates this user profile automatically when installed. As the built-in user account cannot be used as the initial local administrative account and the answer file does not contain any information about initial username and password, Windows of course stops asking them when OOBE boot is made.

BTW, one sure recipe for problems is your way to bury your Windows 7 All In One image so deep; sysprep is very sensitive and that extremely long path with lot of spaces is like telling sysprep "I'll make it a bit more difficult for you, let's see if I can make you crash!". It most probably works as you have it but it is not very good practice. Put the Source folder with install.wim in it to root of a drive.

Kari
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
That answer file does nothing else than sets US English input language, network location Home and AWST time zone.

Only reference to a user profile in the answer file is to built-in administrator account, which is unnecessary as Windows creates this user profile automatically when installed. As the built-in user account cannot be used as the initial local administrative account and the answer file does not contain any information about initial username and password, Windows of course stops asking them when OOBE boot is made.

BTW, one sure recipe for problems is your way to bury your Windows 7 All In One image so deep; sysprep is very sensitive and that extremely long path with lot of spaces is like telling sysprep "I'll make it a bit more difficult for you, let's see if I can make you crash!". It most probably works as you have it but it is not very good practice. Put the Source folder with install.wim in it to root of a drive.

Kari

what does that mean can you rephrase into a simple terms ?
 

My Computer My Computer

OS
windows 7 64bit
That answer file does nothing else than sets US English input language, network location Home and AWST time zone.

Only reference to a user profile in the answer file is to built-in administrator account, which is unnecessary as Windows creates this user profile automatically when installed. As the built-in user account cannot be used as the initial local administrative account and the answer file does not contain any information about initial username and password, Windows of course stops asking them when OOBE boot is made.

BTW, one sure recipe for problems is your way to bury your Windows 7 All In One image so deep; sysprep is very sensitive and that extremely long path with lot of spaces is like telling sysprep "I'll make it a bit more difficult for you, let's see if I can make you crash!". It most probably works as you have it but it is not very good practice. Put the Source folder with install.wim in it to root of a drive.

Kari

what does that mean can you rephrase into a simple terms ?
Huh ?

Your answer file, no username, no password. Windows install, ask username and password.
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
how can i put username with no password ? please advise me
 

My Computer My Computer

OS
windows 7 64bit
Leave the password field empty when installing Windows, or when creating an answer file.
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Leave the password field empty when installing Windows, or when creating an answer file.
how can i create a answer file with that ? mind assisting me ?
 

My Computer My Computer

OS
windows 7 64bit

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Your answer file has no user added. In the tutorial I will build an example answer file adding a user.
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Your answer file has no user added. In the tutorial I will build an example answer file adding a user.

how can i do that ?
 

My Computer My Computer

OS
windows 7 64bit
Please do not understand me wrong now: Maybe you should first study sysprep and using answer files a little bit more before trying them?

Your original question was why Windows asks a username and password when sysprepped with your answer file. I told you it is because your answer file has no reference to any other user account than the built-in administrator.

Next you asked how to leave the password away, using username without password. I answered that. Your next question was how to do that, I linked you to a tutorial where the procedure is described.

And now, your question:
Your answer file has no user added. In the tutorial I will build an example answer file adding a user.

how can i do that ?
My answer: Read the tutorial, study sysprep and answer file. At the end of the tutorial you'll find more links to sysprep and answer file related articles.

Kari
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Please do not understand me wrong now: Maybe you should first study sysprep and using answer files a little bit more before trying them?

Your original question was why Windows asks a username and password when sysprepped with your answer file. I told you it is because your answer file has no reference to any other user account than the built-in administrator.

Next you asked how to leave the password away, using username without password. I answered that. Your next question was how to do that, I linked you to a tutorial where the procedure is described.

And now, your question:
Your answer file has no user added. In the tutorial I will build an example answer file adding a user.

how can i do that ?
My answer: Read the tutorial, study sysprep and answer file. At the end of the tutorial you'll find more links to sysprep and answer file related articles.

Kari

Thanks but would u mind helping me take a look to see whether this correct i not good at creating help me see is there anywrong ?

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="specialize">
<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">
<CopyProfile>true</CopyProfile>
<DoNotCleanTaskBar>false</DoNotCleanTaskBar>
<RegisteredOwner>testing</RegisteredOwner>
<TimeZone>Singapore Standard Time</TimeZone>
</component>
<component name="Microsoft-Windows-Security-SPP-UX" 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">
<SkipAutoActivation>true</SkipAutoActivation>
</component>
</settings>
<settings pass="oobeSystem">
<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">
<UserAccounts>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Description>Testing account</Description>
<DisplayName>testing</DisplayName>
<Group>Administrators</Group>
<Name>testing</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-Security-SPP" 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">
<SkipRearm>1</SkipRearm>
</component>
</settings>
<cpi:offlineImage cpi:source="wim:f:/it%20stuff/isofile/windows%207%20all%20in%20one/windows%207%20all%20in%20one%20x86%20&x64/sources/install.wim#Windows 7 Professional x64" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
 

My Computer My Computer

OS
windows 7 64bit
Please use the [code] Your code here [/code] tags when posting scripts and code, it makes it easier to read.

You need to test your answer file yourself, I have no capacity to do that. The syntax seems OK.

This last answer file of yours makes Windows to skip auto activation (why?) and creates an administrative user account called "testing".

Kari
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
Please use the [code] Your code here [/code] tags when posting scripts and code, it makes it easier to read.

You need to test your answer file yourself, I have no capacity to do that. The syntax seems OK.

This last answer file of yours makes Windows to skip auto activation (why?) and creates an administrative user account called "testing".

Kari

this my company want me to do it so i have no idea why. so the account creation is right ? am i right to say that ?
 

My Computer My Computer

OS
windows 7 64bit
It looks to be OK.
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP ENVY 17-1150eg
OS
Windows 10 Pro x64 EN-GB
CPU
1.6 GHz Intel Core i7-720QM Processor
Memory
6 GB
Graphics Card(s)
ATI Mobility Radeon HD 5850 Graphics
Sound Card
Beats sound system with integrated subwoofer
Monitor(s) Displays
17" laptop display, 22" LED and 32" Full HD TV through HDMI
Screen Resolution
1600*900 (1), 1920*1080 (2&3)
Hard Drives
Internal: 2 x 500 GB SATA Hard Disk Drive 7200 rpm
External: 2TB for backups, 3TB USB3 network drive for media
Cooling
As Envy runs a bit warm, I have it on a Cooler Master pad
Keyboard
Logitech diNovo Media Desktop Laser (bluetooth)
Mouse
Logitech Performance Mouse MX
Internet Speed
50/10 Mbps VDSL
Antivirus
Windows Defender 4.3.9431.0
Browser
Maxthon 3.5.2., IE11
now it successful create the testing account but it prompt me to change password for first login how do i disable it ? i didn't set the administrator password. i remove it but it still prompt me ?
 

My Computer My Computer

OS
windows 7 64bit
Back
Top