Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

515 lines
20 KiB

  1. Microsoft Windows XP Service Pack 1 (SP1)
  2. OEM Preinstallation Kit (OPK)
  3. Readme Document
  4. July 31, 2002
  5. Information in this document, including URL and other Internet Web
  6. site references, is subject to change without notice and is provided
  7. for informational purposes only. The entire risk of the use or
  8. results of the use of this document remain with the user, and
  9. Microsoft Corporation makes no warranties, either express or implied.
  10. Unless otherwise noted, the example companies, organizations,
  11. products, people, and events depicted herein are fictitious. No
  12. association with any real company, organization, product, person,
  13. or event is intended or should be inferred. Complying with all
  14. applicable copyright laws is the responsibility of the user. Without
  15. limiting the rights under copyright, no part of this document may
  16. be reproduced, stored in or introduced into a retrieval system, or
  17. transmitted in any form or by any means (electronic, mechanical,
  18. photocopying, recording, or otherwise), or for any purpose, without
  19. the express written permission of Microsoft Corporation.
  20. Microsoft may have patents, patent applications, trademarks,
  21. copyrights, or other intellectual property rights covering subject
  22. matter in this document. Except as expressly provided in any written
  23. license agreement from Microsoft, the furnishing of this document
  24. does not give you any license to these patents, trademarks,
  25. copyrights, or other intellectual property.
  26. (c) 2002 Microsoft Corporation. All rights reserved.
  27. Microsoft, MS-DOS, Windows, and Windows NT are either registered
  28. trademarks or trademarks of Microsoft Corporation in the United States
  29. and/or other countries or regions.
  30. The names of actual companies and products mentioned herein may be
  31. the trademarks of their respective owners.
  32. ========================
  33. How to Use This Document
  34. ========================
  35. To view the Readme file in Microsoft Windows Notepad, maximize
  36. the Notepad window. On the Format menu, click Word Wrap.
  37. To print the Readme file, open it in Notepad or another word
  38. processor, and then use the Print command on the File menu.
  39. ========
  40. CONTENTS
  41. ========
  42. 1. INTRODUCTION
  43. 2. UPGRADING FROM PREVIOUS VERSIONS OF THE TOOLS
  44. 3. UPGRADING EXISTING CONFIGURATION SETS
  45. 4. KNOWN ISSUES
  46. 5. DOCUMENTATION CORRECTIONS
  47. ---------------
  48. 1. INTRODUCTION
  49. ---------------
  50. This document provides current information about OEM preinstallation
  51. of Microsoft Windows XP Service Pack 1 (SP1).
  52. For a summary of new features in the Windows OPK, see the topic
  53. "New Features in the OEM Preinstallation Kit (OPK)" in the OPK
  54. User's Guide (Opk.chm).
  55. For an introduction to the OEM preinstallation process, see the
  56. white paper "Step-by-Step Guide to OEM Preinstallation of Windows XP
  57. Service Pack 1 and Windows .NET Server 2003 Family," located in the
  58. \Docs\Whitepapers folder on the Windows OPK CD.
  59. For more information about the issues and corrections listed in this
  60. white paper, consult your technical account manager or visit the
  61. Microsoft OEM Web site at: https://oem.microsoft.com/.
  62. ------------------------------------------------
  63. 2. UPGRADING FROM PREVIOUS VERSIONS OF THE TOOLS
  64. ------------------------------------------------
  65. You can use either the Windows XP Service Pack 1 (SP1) OPK or the
  66. Windows .NET Server 2003 OPK to preinstall the following versions
  67. of Windows:
  68. * Original "gold" release of Windows XP
  69. * Windows XP SP1
  70. * Windows .NET Server 2003 family
  71. Do not use the original "gold" release of Windows XP OPK to preinstall
  72. Windows XP SP1 or the Windows .NET Server 2003 family.
  73. You can upgrade from the original "gold" Windows XP OPK tools to the
  74. OPK tools for Windows XP SP1 or the Windows .NET Server 2003 family.
  75. Only one version of the OPK tools and documentation can be installed
  76. on a technician computer. If you previously installed the OPK from
  77. the original "gold" release of Windows XP, you must upgrade those
  78. tools to the Windows XP SP1 OPK or the Windows .NET Server 2003 OPK;
  79. OPK tools from the original "gold" release of Windows XP cannot
  80. coexist on the technician computer with tools from either the
  81. Windows XP SP1 OPK or the Windows .NET Server 2003 OPK.
  82. To upgrade the OPK tools from the "gold" release of Windows XP to
  83. Windows XP SP1:
  84. 1. Run Opk.msi, located at the root of the Windows XP SP1 OPK CD.
  85. This is the autorun file, which automatically starts when you
  86. insert the CD.
  87. 2. When the "Welcome to the Windows OEM Preinstallation Kit" page
  88. appears, click Next.
  89. If you set up a distribution share with OPK tools from the original
  90. "gold" Windows XP release, the Guest account is enabled. Setting up
  91. a new distribution share with the Windows XP SP1 OPK tools does not
  92. enable the Guest account. Upgrading the tools from the Windows XP
  93. OPK to the Windows XP SP1 OPK or the Windows .NET Server 2003 OPK
  94. does not change the properties of an existing distribution share.
  95. ----------------------------------------
  96. 3. UPGRADING EXISTING CONFIGURATION SETS
  97. ----------------------------------------
  98. When you upgrade to the Windows XP SP1 OPK or the Windows .NET
  99. Server 2003 OPK, no changes are made to any existing configuration
  100. sets, located in the \Cfgsets folder. Also, when you upgrade to the
  101. Windows XP SP1 OPK or the Windows .NET Server 2003 OPK, no changes
  102. are made to any available Windows product files, located in the
  103. \Lang folder.
  104. You must use the Product page in Setup Manager to load the
  105. Windows product files for the newer versions of Windows, such as
  106. Windows XP SP1 or members of the Windows .NET Server 2003 family.
  107. Upgrading to the Windows XP SP1 OPK or the Windows .NET Server 2003
  108. OPK updates the template files that Setup Manager uses when creating
  109. a new configuration set. Any new configuration sets created with the
  110. Windows XP SP1 or the Windows .NET Server 2003 Setup Manager will use
  111. the new default values.
  112. To migrate a Windows XP configuration set to preinstall
  113. Windows XP SP1:
  114. * Open the configuration set in the Windows XP SP1 version
  115. of Setup Manager, update the SKU (version), and save the
  116. configuration set.
  117. -OR-
  118. * Manually edit the Winbom.ini file to point to the $OEM$
  119. folder for the new SKU.
  120. The preferred method is to use Setup Manager.
  121. You can also configure Windows XP SP1 as a separate product SKU on
  122. the same technician computer that contains the files for your "gold"
  123. release of the Windows XP product. When you use this method, you can
  124. reapply your existing configuration sets to preinstall Windows XP SP1.
  125. To incorporate Windows XP SP1 into a pre-existing Windows XP
  126. configuration set:
  127. 1. Copy the contents of the Windows XP SP1 update CD to a subdirectory
  128. on your technician computer.
  129. For example, create a folder under the OPKTools directory
  130. called Updates. Place the files from the Windows XP SP1 CD
  131. in the Updates folder.
  132. 2. Run Setup Manager.
  133. 3. Open an existing configuration set that you used to install
  134. the original "gold" release of Windows XP.
  135. 4. On the Product page, select the original "gold" release of
  136. Windows XP.
  137. 5. On the Preinstalled Applications page, add the following
  138. command line:
  139. Executable: \\Technician_Computer\Opktools\Updates\Xpsp1.exe
  140. Parameters: /q /n /z
  141. 6. Save the configuration set and complete Setup Manager as you
  142. normally would.
  143. ---------------
  144. 4. KNOWN ISSUES
  145. ---------------
  146. This is a list of known issues for Windows XP SP 1 OPK.
  147. * If you install the OPK tools on a computer running Windows .NET
  148. Server 2003, you might need to perform an additional step when
  149. creating a distribution share. On a computer running Windows .NET
  150. Server 2003, sharing a folder sets default permissions of read-only
  151. for the group Everyone. If you intend to write to the distribution
  152. share remotely, you must add additional permissions.
  153. Workaround: Add read-write permissions for the user(s) who need
  154. to write to the distribution share remotely.
  155. * If you preinstall the Multi-Language User Interface (MUI) Pack
  156. during Sysprep in Factory mode (Sysprep -factory) and then restart
  157. the computer into Mini-Setup, the user interface throughout Mini-Setup
  158. is clipped. However, this does not occur if the default user interface
  159. for MUI is set to English (ENG).
  160. Workaround: Set the default user interface for MUI to English.
  161. * If you create a custom version of Windows PE from an East Asian
  162. language version of Windows, you must ensure that the file
  163. Bootfont.bin is located in the <buildlocation>\i386 folder (for
  164. 32-bit versions of Windows PE) or in the <buildlocation>\ia64 folder
  165. (for 64-bit versions of Windows PE). Without Bootfont.bin, the loader
  166. prompt displays invalid characters instead of double-byte character
  167. sets.
  168. * To install the Microsoft .NET Framework Service Pack 2 (SP2),
  169. you must first install the Microsoft .NET Framework Redistributable,
  170. and then install the Microsoft .NET Framework Service Pack 2.
  171. These instructions assume that you preinstall Windows XP SP1 over
  172. a network, by using Windows PE.
  173. To perform an unattended installation of the Microsoft .NET
  174. Framework SP2:
  175. 1. Locate the \dotnetfx folder on the Windows product CD or on
  176. the Windows XP SP1 CD.
  177. For example, if your CD-ROM drive is drive D, the Microsoft .NET
  178. Framework files are located in D:\dotnetfx.
  179. 2. In Setup Manager create or modify an existing Windows XP SP1
  180. configuration set.
  181. 3. To install the Microsoft .NET Framework, add the following
  182. command-line information to the Preinstalled Applications page
  183. in Setup Manager:
  184. Executable: D:\dotnetfx\dotnetfx.exe
  185. Parameters: /q:a /c:"install /q /l"
  186. 4. To update these files to Microsoft .NET Framework SP2, add the
  187. following additional command-line information to the Preinstalled
  188. Applications page in Setup Manager:
  189. Executable: D:\dotnetfx\runprog.exe
  190. Parameters: /copytemp"[apppath]NDPSP.msp"
  191. [winsys]msiexec.exe|/qn /p
  192. "[temp]NDPSP.msp" /l*v "[temp]ndpsp.log"
  193. REBOOT=ReallySuppress
  194. Runprog.exe automatically resolves the tokens [apppath], [winsys],
  195. or [temp]; type these items exactly as specified.
  196. 5. Save the configuration set.
  197. 6. Start the destination computer by using Windows PE and preinstall
  198. Windows XP by using the command factory -winpe.
  199. The Microsoft .NET Framework is installed immediately after
  200. Windows XP SP1 is installed, and then it will be enabled on
  201. the next reboot of the computer.
  202. * The recommended location for your master installation is on
  203. drive C of your master computer.
  204. The drive letter of the Windows installation is hard-coded by
  205. Windows Setup at installation time. Sysprep does not modify these
  206. settings or allow you to safely move an image from a drive or
  207. volume by using one drive letter to another.
  208. If you want to deploy an image of a Windows installation to a
  209. different drive, you must create the original Windows installation
  210. on a disk that uses that drive letter. When you deploy that image,
  211. you must ensure that Mount Manager uses that same drive letter for
  212. %SYSTEMDRIVE%. For example, if you want to deploy the image to
  213. drive D, make sure that Mount Manager enumerates one logical drive
  214. before the drive where you plan to deploy the image.
  215. * When the Sysprep.inf file is used as an answer file by Mini-Setup,
  216. the Sysprep.inf file can be located on a floppy disk that you insert
  217. into the disk drive before starting the computer and running
  218. Mini-Setup. However, if the manufacturer or model of the destination
  219. computer is different from the manufacturer or model of the master
  220. computer, the Sysprep.inf file is not read from the floppy disk
  221. during Mini-Setup.
  222. Cause: To maintain unique disks and controllers on the system bus,
  223. Plug and Play adds a value to the Plug and Play ID, for example:
  224. FDC\Generic_Floppy_Drive\5&22768F6A&0&0
  225. If you use a destination computer with hardware that is different from
  226. the hardware on the master computer, the bus is different, and a new
  227. number is assigned. Plug and Play recognizes this hardware as a new
  228. drive and must install the driver before it can be used. However,
  229. the installation does not occur quickly enough, and the drive is not
  230. accessible by the time Setup checks the drive for the Sysprep.inf
  231. file.
  232. Workaround: Complete the following procedure on the master computer
  233. before running Sysprep:
  234. 1. Locate and click the following registry subkey:
  235. HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\CoDeviceInstallers
  236. 2. Add the following entries and values to this subkey:
  237. Entry: {4D36E969-E325-11CE-BFC1-08002BE10318}
  238. Type: Reg_Multi_Sz
  239. Value: Syssetup.Dll,CriticalDeviceCoInstaller
  240. Entry: {4D36E980-E325-11CE-BFC1-08002BE10318}
  241. Type: Reg_Multi_Sz
  242. Value: SysSetup.Dll,StorageCoInstaller
  243. SysSetup.Dll,CriticalDeviceCoInstaller
  244. 3. Open Sysprep.inf and add the following text to the
  245. [SysprepMassStorage] section:
  246. *PNP0701 = "%WINDIR%\inf\flpydisk.inf"
  247. *PNP0702 = "%WINDIR%\inf\flpydisk.inf"
  248. *PNP0703 = "%WINDIR%\inf\flpydisk.inf"
  249. *PNP0704 = "%WINDIR%\inf\flpydisk.inf"
  250. GenFloppyDisk = "%WINDIR%\inf\flpydisk.inf"
  251. *PNP0700 = "%WINDIR%\inf\fdc.inf"
  252. where %WINDIR% is the folder on the destination computer where you
  253. installed Windows.
  254. 4. Run Sysprep on the computer.
  255. * Use Winbom.ini only to modify the Windows installation when you
  256. run Sysprep -factory. Do not manually modify the Windows installation
  257. during Sysprep in Factory mode. If you want to modify the Windows
  258. installation manually, use the command Sysprep -audit instead.
  259. ----------------------------
  260. 5. DOCUMENTATION CORRECTIONS
  261. ----------------------------
  262. * Throughout the OPK documentation, the Windows Preinstallation
  263. Environment is called "WinPE". The more proper abbreviation is
  264. "Windows PE".
  265. * The Setup Manager tool no longer contains the "Program
  266. Shortcuts Folder" page. This page is still listed on the topic "Setup Manager Settings" in the OPK User's Guide. This page is also included
  267. in screenshots in the English version of the white paper "Step-by-Step
  268. Guide to OEM Preinstallation of Windows XP Service Pack 1 and the
  269. Windows .NET Server 2003 Family," found in the \Docs\Whitepapers
  270. folder on the Windows OPK CD.
  271. Although the "Program Shortcuts Folder" page is not included in the
  272. Setup Manager user interface, the [DesktopShortcutsFolder] section and
  273. the DesktopShortcutsFolderName entry are still valid in Winbom.ini.
  274. * In the OPK User's Guide, the topic "Using WinPE in Your
  275. Manufacturing Process" contains the sentence:
  276. The default version of Startnet.cmd is located in
  277. StartOPK.chm.
  278. Replace this sentence with:
  279. The default version of Startnet.cmd is located in the
  280. \Winpe folder on the Windows OPK CD.
  281. * In the OPK User's Guide, the topic "Structure and Content of
  282. the Distribution Share" contains the sentence:
  283. File sharing is disabled by default in Windows XP
  284. Service Pack 1. To connect to a distribution share,
  285. you must first enable file sharing.
  286. Add this procedure to the topic:
  287. To enable file sharing:
  288. 1. In Control Panel, double-click "Network Connections."
  289. 2. Right-click "Local Area Connections", and select
  290. "Properties."
  291. 3. Select the "File and Printer Sharing for Microsoft
  292. Networks" check box.
  293. * The topic "Preinstalling 64-Bit Editions of Windows" in the
  294. OPK User's Guide does not include the following information:
  295. You cannot install the recovery console on the hard disk
  296. for 64-bit computers.
  297. To run the recovery console :
  298. 1. Insert the Windows product CD for the 64-bit editions
  299. of Windows in the CD-ROM.
  300. 2. Start the computer from the CD-ROM drive.
  301. 3. During text-mode Setup, press 'R' to start into the
  302. Recovery console.
  303. * The topic "Preinstalling Applications" in the OPK User's Guide
  304. does not include the following information:
  305. If you add any applications to the Owner profile (in
  306. Windows XP Home Edition) or the Administrator profile
  307. (in other versions of Windows), Windows Welcome or Mini-Setup
  308. copies these applications to the default user profile so that
  309. the applications are available when the end user logs on. If
  310. you want to install applications to individual user accounts,
  311. you must install these applications after Windows Welcome or
  312. Mini-Setup is finished, or install them by using a user
  313. account other than Owner or Administrator.
  314. * The topic "Preinstalling Applications Using Legacy Techniques"
  315. in the OPK User's Guide does not specify that the commands listed
  316. in [GUIRunOnce] and Cmdlines.txt are synchronous. Each command
  317. finishes before the next command starts.
  318. * The topic "Using Signed Drivers" in the OPK User's Guide does
  319. not discuss how to install unsigned drivers. To install unsigned
  320. drivers during Sysprep, include the following lines in the
  321. Sysprep.inf file:
  322. [Unattended]
  323. UpdateInstalledDrivers = Yes
  324. Only install unsigned drivers while testing your manufacturing tools
  325. and processes. Do not install unsigned drivers in any computers
  326. that you distribute to end users.
  327. * The topic "Limitations of WinPE" in the OPK User's Guide
  328. incorrectly states that Distributed File System (DFS) name resolution
  329. is not supported. This was true for Windows PE created from the "gold"
  330. release of Windows XP; however, DFS file shares are accessible from
  331. the Service Pack 1 version of Windows PE.
  332. * The topic "Using Sysprep" in the OPK User's Guide does not
  333. include the sentence:
  334. When you run Sysprep.exe, the Sysprep.inf file is copied
  335. to %WINDIR%\System32\$winnt$.inf.
  336. * The topic "Using Sysprep" in the OPK User's Guide does not
  337. include the paragraph:
  338. You can specify static IP addesses in the Sysprep.inf file.
  339. When the destination computer starts, the network interface
  340. card (NIC) information is removed, but Plug and Play
  341. reinstalls the NIC. Mini-Setup reads the static IP address
  342. information in Sysprep.inf and sets the static IP address
  343. in the destination computer.
  344. * In several places, the OPK User's Guide states that Sysprep.inf
  345. can be located on a floppy disk. However, a Sysprep.inf file located
  346. on a floppy disk can only be used as an answer file for Mini-Setup.
  347. Sysprep itself does not use a Sysprep.inf file located on a
  348. floppy disk.
  349. Plug and Play does not run until after Mini-Setup locates the
  350. Sysprep.inf file. If the floppy device does not use an in-box driver
  351. and the Sysprep.inf file is located on a floppy disk, then Mini-Setup
  352. will not detect the Sysprep.inf file.
  353. The recommended location for the Sysprep.inf file is the C:\Sysprep
  354. folder on the hard disk of the destination computer.
  355. * The information in the topic "Using the Registry to Control Sysprep
  356. in Factory Mode" in the OPK User's Guide is incorrect. Do not use the
  357. registry to control Sysprep.
  358. * In the OPK User's Guide, the topic "Oscdimg Command-Line Options"
  359. does not include all of the possible command-line options for the
  360. Oscdimg tool.
  361. The complete command-line syntax is:
  362. oscdimg [-llabelname] [-tmm/dd/yyyy,hh:mm:ss [-g]] [-h]
  363. [-j1|-j2|[-n[-d|-nt]]] [-blocation] [-x] [-o[i][s]] sourceroot
  364. [image_file]
  365. Additional command-line options are:
  366. -d Does not force lowercase file names to uppercase.
  367. -j1 Encodes Joliet Unicode file names and generates
  368. DOS-compatible 8.3 file names in the ISO-9660 name
  369. space. These file names can be read by either Joliet
  370. systems or conventional ISO-9660 systems, but Oscdimg
  371. may change some of the file names in the ISO-9660
  372. name space to comply with DOS 8.3 and/or ISO-9660
  373. naming restrictions.
  374. -j2 Encodes Joliet Unicode file names without standard
  375. ISO-9660 names (requires a Joliet operating system
  376. to read files from the CD-ROM).
  377. Note: When using the -j1 or -j2 options, the -d, -n, and -nt options
  378. do not apply and cannot be used.
  379. * The "For More Information" topic in the OPK User's Guide does
  380. not include a link to the article "Key Benefits of the I/O APIC"
  381. (http://www.microsoft.com/HWDEV/PLATFORM/proc/IO-APIC.asp).
  382. This article clarifies the Advanced Configuration and Power
  383. Interface (ACPI) specification (http://www.acpi.info/index.html)
  384. and provides background information for the "Reducing the Number
  385. of Master Images for Computers with Multiprocessors" topic in the
  386. OPK User's Guide.