pritchardavid Posted December 10, 2009 Posted December 10, 2009 hey guys nned a little help, I made my base image for windows 7, now need to make the Unttended File What companents and features do I have to add in WAIK to make it automate? there is loads of stuff Is it possible to make it so we can type in a computer name? Do want to muck around renameing computers after being deployed We have other wds images (xp) If the windows 7 in automatted will it skip the image slection screen? dont want it to and need it not to Our support company setup our vista image, dont know how they set it up really Seems when ever I used their image, I still had to select the time, date etc and add a user and so on, even in the wds msc there is a Unttended File location path enabled, even not joining the domain, when the text files tells it. Is there only meant to be one file? seems there is three one folder and one where the vista image sits, so 4 inb total, so confussing how they done it Dont care about it really, has far has I know it can go into the recyle bin Once I have setup the Unttended File with your help, how do I sysprep it? with xp you just put it into the folder that contines sysprep fi;les form the deploy cab in the main root of c Where do I put the Unttended File in Windows 7 to work Why the hell have the made it much more confussing thaqn xp sysprep Also how can I tell if any of our servers have the kms services on it? dont know if we have using mak or kms product key in our vista image, so dont know how its been setup. Dont want to install another kms service if we have one already on our servers, so it will conflict (plus dont need two of course)
jmcdermott Posted December 11, 2009 Posted December 11, 2009 Already gone through this pain full experience, and found away to achieve it. Read this blog. Network Management Hope this helps sorted it for us we can now image name machine then it adds to the domain. If any thing is unclear i am happy to help. 2
pritchardavid Posted December 15, 2009 Author Posted December 15, 2009 ok have made one but sysprep doesnt like and says 'Windows could not parse or process unttend answer file [sysprep.xml] The specified file does not exist Anyone know if I have done any part of the answer file wrong? 1 net user administrator /active:yes 1 true false * false GMT Standard Time en-gb en-gb en-gb en-gb true Work 1 notreal false notreal true The Ockendon School The Ockendon School The Ockendon School The Headteacher
pritchardavid Posted December 15, 2009 Author Posted December 15, 2009 OK never mind had to run the cmd has admin
jmcdermott Posted December 15, 2009 Posted December 15, 2009 Think i forgot to put Disable The UAC in my blog sorry.
pritchardavid Posted December 15, 2009 Author Posted December 15, 2009 ok that completely didnt work Made the image Restarted and it started to go through sysprep Came up with an error to do with windows shell setup Pressed ok and it restarted, now keeps saying it cant keep, restart the install Wished I saved the image to the server Any idea how to join the computer to the domain in the syprep file? Also of course to you have any idea what the problem is
jmcdermott Posted December 15, 2009 Posted December 15, 2009 joining to the domain using sysprep is easy but doesn't let you specify the machine name, it just generates a random name. Is this error on the machine you set the image up on? When you gathered did you gather the entire drive, not just the windows partition?
pritchardavid Posted December 15, 2009 Author Posted December 15, 2009 you say it generates a random name when adding it to the domain, is this the same case has workgroup? Also what would happen if I was to wipe the computer name link in attended file? Yes whole hard drive was copied, only had one partition (Got rid of the 100mb partition windows make during the install Was the same computer, I didnt actually image the computer, just let it sysprep when it rebooted to test if it works Reckon you can email you sysprep so I can look at where im going wrong on mine email is davep @ live . com if you dont mind and i'll edit it for my details from that
jmcdermott Posted December 15, 2009 Posted December 15, 2009 will zip down my folder structure and send it to you now. 1
pritchardavid Posted December 15, 2009 Author Posted December 15, 2009 hey thanks that looks good confused on the addtdom file through $credential = New-Object System.Management.Automation.PsCredential("ockendon\add2dom", (ConvertTo-SecureString "PassWordHere" -AsPlainText -Force)) Add-Computer -DomainName "ockendon.thurrock.sch.uk" -Credential $credential shutdown -r Has you can see I know where to put the password, and domain but I dont know where put he username
jmcdermott Posted December 15, 2009 Posted December 15, 2009 the username we use here to add to the domain is add2dom you might use administrator so $credential = New-Object System.Management.Automation.PsCredential("ockendo n\administrator", (ConvertTo-SecureString "PassWordHere" - and make shure UAC is turned off before running
pritchardavid Posted December 15, 2009 Author Posted December 15, 2009 ahh sorry thought that was a command to add it to the domain ok thanks again How would I make the 64 bit versions of this? Just change the x86 to x64 in the sysprep file
jmcdermott Posted December 15, 2009 Posted December 15, 2009 i would assume so but have not tried it myself.
pritchardavid Posted December 15, 2009 Author Posted December 15, 2009 Some staff laptops have 4GB so may has well install 64bit allround the network, expect for the computers that dont have 64bit cpu Right lets test this, I bet it works this time
ces973 Posted December 15, 2009 Posted December 15, 2009 ahh sorry thought that was a command to add it to the domain ok thanks again How would I make the 64 bit versions of this? Just change the x86 to x64 in the sysprep file You have to create a whole new answer file using the amd64/wow64 components, instead of the x86 components. We have our answer file set up so that it just asks you to give a PC name during the initial startup, then logs in as a user, runs PowerShell to add it to the domain, and then reboots itself.
jmcdermott Posted December 15, 2009 Posted December 15, 2009 You have to create a whole new answer file using the amd64/wow64 components, instead of the x86 components. We have our answer file set up so that it just asks you to give a PC name during the initial startup, then logs in as a user, runs PowerShell to add it to the domain, and then reboots itself. Same setup here using powershell commands to add to the domain.
pritchardavid Posted December 15, 2009 Author Posted December 15, 2009 ok gussing I wrong again Didnt run the bat has admin (forgot to) Sysprep ran very quick, too quick I would say When ran the create image from the network boot, It had no hard drive in the list Rebooted and sysprep came up and in time a error message came up Did you have this problem mate, before you ran it has admin?
ces973 Posted December 15, 2009 Posted December 15, 2009 ok gussing I wrong again Didnt run the bat has admin (forgot to) Sysprep ran very quick, too quick I would say When ran the create image from the network boot, It had no hard drive in the list Rebooted and sysprep came up and in time a error message came up Did you have this problem mate, before you ran it has admin? Didn't have that problem, but I did run into an endless loop when it was trying to set up the first user log in. Basically, we went back to the drawing board and started from scratch. Took us awhile to get it to where we liked it. We also... Run Command Prompt as an Administrator >cd sysprep >sysprep.exe /generalize /oobe /shutdown /unattend:answerfile.xml
jmcdermott Posted December 15, 2009 Posted December 15, 2009 We found as long as you turn off the User Account Control and restart the workstation before running the setup.bat it got rid of the need to run as admin.
jmcdermott Posted December 15, 2009 Posted December 15, 2009 Has it managed to work for you in the end?
pritchardavid Posted December 15, 2009 Author Posted December 15, 2009 umm, this is starting to get my my nerves Ran that command line on the next attempt still the same problem with image capture, the hard drive is still not coming up
jmcdermott Posted December 15, 2009 Posted December 15, 2009 Think that may be an issue with sata driver not sure i can help you there we use a different imaging suit. Think when we tried that before we had loads of issues trying to slipstream the correct drivers into the boot file.
pritchardavid Posted December 15, 2009 Author Posted December 15, 2009 Wouldnt have throught it would be that, works fine installing from the disc And eariler the hard drive did come up from my old sysprep file (which didnt work, has it came up with an error) So really dont get this
ces973 Posted December 15, 2009 Posted December 15, 2009 Do you have it set up in your answer file to not strip out the drivers?
jmcdermott Posted December 15, 2009 Posted December 15, 2009 Only does that if you use the /generalize option which he is not.
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