Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.



Windows 7: W7 Imaging

01 Nov 2010   #1

7 Professional
 
 
W7 Imaging

Hi,

I work in a high school where the computers are all dual boot Linux and Windows 7. Now the Windows deployment kit is not very good at deploying Linux but the Linux deploy tools are pretty good at deploying Windows. What I am looking for is a way to sysprep with a very simple answer file that gets rid of the mini-setup ie Country, computername, admin user, admin password and keyboard layout. Is there a way of automatically answering these details without installing WAIK? Last year, I simply answered the minisetup questions on each machine, it took about 60 seconds per machine but this time I would like to completely automate it. I DON'T care what the computer is called because the Linux deployment software will automatically rename the machine and join the domain.

My System SpecsSystem Spec
.

03 Nov 2010   #2

7 Professional
 
 

Ok so I have moved a lot since my original post. I ended up installed the Windows System Image manage and generated an unattend.xml.

So now if I load Windows 7 on a machine by installing from DVD. When I get to the mini-setup screen I press SHIFT+CTRL+F3 to go into audit mode. I add my drivers etc and then when ready I run a sysprep pointing at my unattended.xml file, I generalize and oobe it. When the machine restarts it still prompts me for a computer name even though I have an entry in spelialize - shellsetup_neutral. I have set the computer name to * which apparently sets a random name.
If I press enter on the computername the rest of the installation is completely automated. I would just like it to stop prompting for the computername.

I have tried googling this but all I have found is people with the opposite problem where they aren't prompted to change the computername.

Anyone, any ideas?
My System SpecsSystem Spec
03 Nov 2010   #3

Windows 7 Enterprise
 
 

Try prefixing the computer name with some initials, so in the answerfile it would be something like
<ComputerName>IT-*</ComputerName>
My System SpecsSystem Spec
.


03 Nov 2010   #4

7 Professional
 
 

Thanks Xarden. I have tried that. The computer name is preset as "PC" but appears to be what ever is in the COMPUTERNAME field in the mini-setup before I hit CTRL-SHIFT+F3 to switch to audit mode. [See above] It isn't a big issue, it just means I need to press enter once on each of the 400 machines but I would like to sort it out to save me running around :-)
My System SpecsSystem Spec
03 Nov 2010   #5

Windows 7 Enterprise
 
 

You're not a true IT geek untill you have been running around 400+ pc's pressing enter once.
We have about 7000 PC's and Mac's at this University. I've been here only 8 months so far, and guess what my initiation will be in Feb before semester starts!
But I wish I could help you further, most of our sysprep process has now scripted by our Novell guy as we've got a Zen10 system in the mix too. Hopefully everything should be fully automated and remotely deployable by this time next year.
I'l still got all the tools for the Microsoft deployment method, but I've only got a laptop as a spare resource to use with it, if its not being used for other testing.
My System SpecsSystem Spec
03 Nov 2010   #6

7 Professional
 
 

Thanks once again. Next year will be our second year of Windows 7, to be fair it has been OK. There are few gotchas. Our main one was printer drivers. Folder redirection is seriously screwed under windows 7 and not compatible with XP, I am turning user folder redirection off completely next year. Windows 7 Search/indexing can be pretty CPU intensive at random periods and my advice is to use GP to limit what it indexes. Also there is no easy way to remove user profiles on windows7 there is no equivalent to delprof. There is a wonderful group policy option for delting profiles older than x days but it doesn't work. There is a hotfix but I am not convinced at this stage, let us see SP1
My System SpecsSystem Spec
03 Nov 2010   #7

Windows 7 Enterprise
 
 

Printer drivers is a mission, especially if your running x64. I dont look after any of that.
Folder redirection and user profiles, I do.
It did get tricky with the Library folders, and I've done some funky dirty scripts to try accomodate for these, but its just not fully working in time for this round of deployment.
I've got a tool, Windows Enaber, you may be interested in. It allows the greyed out box to be clickable to be able to copy profile.
http://www.xarden.net/software
You'll need the .dll too.
My System SpecsSystem Spec
04 Nov 2010   #8

7 Professional
 
 

OK I have tried the following all to no avail

<ComputerName>IT-*</ComputerName>
<ComputerName>*</ComputerName>
<ComputerName>%compname%</ComputerName>

It still prompts on first boot. Has anyone got any suggestions?
My System SpecsSystem Spec
04 Nov 2010   #9

Windows 7 Enterprise
 
 

I had a look through my previous unattend files, and it does have the asterisk in the ComputerName field. So Im not sure whats going on there then...

I was going to ask another person here, as he's doing my job but for another 'specialist' department that doesnt use our tools. However he's away today, so will ask him on Monday.

Also, would you mind if I ask if you could post your unattend file?
If you do, be sure to remove all sensitive data like activation keys, usernames and passwords etc.
My System SpecsSystem Spec
07 Nov 2010   #10

7 Professional
 
 

xml file looks as follows

Code:
 
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="generalize">
<component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="xxxxxxxxxxxxxxxx" 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>
<settings pass="specialize">
<component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="xxxxxxxxxxxxxxxx" 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>
<component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="xxxxxxxxxxxxxxxx" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Path>net user administrator /active:yes</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="xxxxxxxxxxxxxxxx" 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>
<ShowWindowsLive>false</ShowWindowsLive>
<TimeZone>New Zealand Standard Time</TimeZone>
<ComputerName>*</ComputerName>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="xxxxxxxxxxxxxxxx" 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="x86" publicKeyToken="xxxxxxxxxxxxxxxx" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<AutoLogon>
<Password>
<Value>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==</Value>
<PlainText>false</PlainText>
</Password>
<Enabled>false</Enabled>
<Domain></Domain>
<LogonCount>5</LogonCount>
<Username>WGHS</Username>
</AutoLogon>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx</CommandLine>
<Order>1</Order>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
<SynchronousCommand wcm:action="add">
<Order>2</Order>
<CommandLine>cscript //b c:\windows\system32\slmgr.vbs /ato</CommandLine>
<RequiresUserInput>false</RequiresUserInput>
</SynchronousCommand>
</FirstLogonCommands>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<UserAccounts>
<AdministratorPassword>
<Value>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</Value>
<PlainText>false</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Password>
<Value>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==</Value>
<PlainText>false</PlainText>
</Password>
<Description>Local Administrator</Description>
<DisplayName>Administrator</DisplayName>
<Group>Administrators</Group>
<Name>Administrator</Name>
</LocalAccount>
<LocalAccount wcm:action="add">
<Password>
<Value>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==</Value>
<PlainText>false</PlainText>
</Password>
<Description>WGHS</Description>
<DisplayName>WGHS</DisplayName>
<Group>Administrators</Group>
<Name>WGHS</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<RegisteredOrganization>xxxxxxxxx xxxxx&apos; High School</RegisteredOrganization>
<RegisteredOwner>xxxxxxx</RegisteredOwner>
<TimeZone>New Zealand Standard Time</TimeZone>
</component>
</settings>
<cpi:offlineImage cpi:source="catalog:d:/sources/install_windows 7 professional.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
My System SpecsSystem Spec
Reply

 W7 Imaging





Thread Tools



Similar help and support threads for2: W7 Imaging
Thread Forum
Re-imaging to an SSD Installation & Setup
Help imaging with sysprep across different HAL's Installation & Setup
Imaging a NEW os to ssd. Installation & Setup
Re-imaging a SSD. Performance & Maintenance
imaging a hdd for a lab Performance & Maintenance
Re-imaging error Backup and Restore
Imaging in Windows 7 Backup and Restore

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 05:09 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33