20. april 2003 - 08:32Der er
38 kommentarer og 2 løsninger
Hjælp til "Automatisk installation af Windows 2000"
Hej Jeg vil meget gerne havde noget hjælp til, hvordan jeg laver en "Automatisk installation af Windows 2000". Er der en som kan guide mig igennem helt fra starten?
* Opret en ny svarfil * Windows 2000 Automatisere Installation * Windows 2000 Professional * Fuldt automatiseret * Jeg accepterer beingelserne i licensaftalen * Skriver mit Navn og organisation * Tilføjer et computernavn * Vælger ingen administatoradgangskode * Farver: Ægte farver (32 bit), skærmområde 1024 x 768, Opdateringshyppighed * Standardindstillinger * Arbejdegruppe: Arbejdesgruppe * Tidszone: København * Nej, rediger ikke yderligere indstiller * Nej, denne svarfil skal bruges til at installere fra en cd
Den laver to filer; en unattend.txt og unattend.bat
ProductID=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX - istedet for X, så skriver du din cdkey - husk hvis du senere kopierer indholdet af din winnt.sif herind, så skal lige lige maskere din cdkey :)
Prøver at slette SetupMgrTag i filen. Det bliver først i morgen jeg kommer til at køre en ny installation.
Jeg forstår det ikke helt, Setup Manageren laver en unattend.txt som skal omdøbes til winnt.sif og efter skal man indsætte cd-key samt evt. slette SetupMgrTag i filen. Det er sgu´ikke logisk!!
Jeg forstår det ikke....Jeg har slettet den første linie, så filen ser nu sådan ud(har lige maskeret min cd-key her). Skulle det ikke bare køre nu? Hvad gør jeg forkert?
Nu kører det :-) Jeg har dog nogle ting, som jeg vil have tilføjet til winnt.sif filen.
Jeg vil gerne at disse ting bliver gjort installationen: * At der bliver oprettet et C: drev på 4 GB (NTFS) * At der bliver oprettet et D: drev på 2 GB (NTFS) * At Documents and Settings mappen bliver flyttet fra c: drevet til d: drevet
Hvordan for jeg gjort det bedst? Er der andet, som kunne være en god idé, at få tilføjet til winnt.sif filen?
Jeg har lige kigget i filen unattend.doc og tror jeg har fundet det, jeg skal bruge. Ser det ikke meget rigtigt ud? ------------------------------------------------------------------------------- ExtendOemPartition Value: 0 | 1 | <extra size in MB> The ExtendOemPartition key is used to extend the partition on which you are installing Windows 2000. This key causes Setup to extend this destination partition into any available unpartitioned space that physically follows it on the disk. where: • 0 Setup does not extend the partition • 1 Setup extends the partition to fill out the hard disk • <extra size in MB> Setup increases the current partition size by this amount.
Important • Only NTFS partitions can be extended. If the destination partition you plan to extend is FAT or FAT32, set FileSystem = ConvertNTFS to convert the partition during text-mode Setup. • This key can be used with both the Unattend.txt and Sysprep.inf Setup files. • When used in Sysprep.inf for imaged computers, the destination computer's hard disk must be the same size or larger than the master computer's hard disk.
FileSystem Value: ConvertNTFS | LeaveAlone Specifies whether the primary partition should be converted to NTFS or left alone.
Note If you plan to use ExtendOemPartition during Setup, set FileSystem = ConvertNTFS. For more information, see “ExtendOemPartition,” earlier in this document.
Repartition Value: Yes | No Specifies whether or not all partitions on the first drive on the client computer should be deleted and the drive reformatted with the NTFS file system.
Important Repartition is only valid when performing an unattended installation by booting the computer from the Windows 2000 CD.
------------------------------------------------------------------------------ ProfilesDir Value: "<path to profile folder>" Default: "%systemdrive%\Documents and Settings" Specifies the location of Windows 2000 profiles. This parameter is only valid on clean installations of Windows 2000 and is ignored during upgrades.
Important The directory specified can contain an environment variable such as %systemdrive% or %systemroot%.
The ProfilesDir parameter is useful in scenarios that require new installations to use the same profile folder as Windows NT 4.0. For example: ProfilesDir = "%systemroot%\Profiles"
Jeg har lige prøvet at køre en installation. Der er ingen problemer med at flytte mappen Documents and Settings. Unnder installationen blev skærmopløsningen ikke ændret, men det skyldes nok at driveren til grafikkortet skal installeres.
Hvis der er nogle som ved, hvordan man laver det med partitionerne, vi jeg MEGET GERNE have hjælp til dette. ***************************************************** [Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes"
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.