WDS é realmente um sistema bastante hostil. clunky, fiddly, e insuficiência ot propenso sem informações de erro útil. Depois de atualizar alguns dos meus arquivos autônoma eu não era mais capaz de realizar instalações automáticas, mas eventualmente ter resolvido a série de erros enganosos
Eu tinha pelo menos 3 different errors, todos os quais parecem estar relacionados. I am using my WDS server without a domain, but as I want to use multiple images (jane-las 7 and windows 10) and I want them to be unattended, I need multiple unattend files.
There is an unattend file for the PXE boot stage which sets things like partitions, e onde eu selecionar qual imagem que deseja instalar. This is linked to the WDS server to make it work with the PXE boot. There have been no problems with this part. This file gets named autounattend.xml after you have linked it to the server
Then each image has an unattend file which gets renamed to ImageUnattend.xml and gets put inside the appropriate image folder. This is where I hit problems.
Several key things before you start which will help reduce problems.
1. Do not edit the files in the locations the server puts them. keep a copy somewhere else, editar essa cópia, and then relink them to the server through the WDS interface
2. Restart the WDS server after relinking the unattend files
3. Think about the permissions on the RemoteInstall share — by default these may not work for non-domain systems. Eu tive que mudar meu
Despite having done all of these things I still got a couple of errors. The first was that my second unattend file just seemed to be completely ignored! Olhei nos arquivos de log e encontrou um erro
Failed to process client unattend variables. Error code [0x8007000D]. I assumed this was caused by a misconfiguration somewhere, but after generating a new unattend file with Windows Answer File Generator (an online service) I then got a new error that setup couldn’t continue due to a problem with the answer file. So despite the error logs indicating that my unattend file couldn’t be accessed at all, que na verdade poderia ser acessado, so the fault must have been with the contents of the file.
Então agora eu tinha 2 arquivos, não funcionou, but both had different errors!
I went back to my original file and remove some of the content and tried again. Funcionou! A copy of that file is at the bottom of this post.
I now had to figure out what the problem was with my original 2 files…
The easiest of the 2 was the file generated by the online service. Isto incluiu uma chave de produto, but the product key must be a trial key for a retail or oem version of windows 7, and the version I have uses a MAK key. Make sure you change the product key if you use an answer file from the online generator
The issue with my original file were some comments that had been put in it. I don’t know how or when they got there but once removed it worked as expected so make sure you don’t have any comments in your file.
O que você acha? Deixe-nos cair um comentário abaixo! If you would like to subscribe please use the subscribe link on the menu at the top right. You can also share this with your friends by using the social links below. Cheers.