大网数据广告活动
启动与系统组件

Installation File Location GPOs behave differently than described in Explanation

· 52CE 我爱测

Describes how to edit the registry to specify the location of the Installation files and the location of the Service Pack Installation files.

This article describes how to edit the registry to specify the location of the Windows Installation files and the location of the Windows Service Pack Installation files.

Applies to:   Windows 10 - all editions
Original KB number:   833615

Note: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows Registry

Symptoms

When you view the Explain tab in the Properties of the Specify Windows Installation File Location Group Policy object, the text on the Explain tab states as:

Specifies an alternate location for Windows installation files.

To enable this setting, enter the fully qualified path to the new location in the "Windows Setup file path" box.

If you disable this setting or do not configure it, the Windows Service Pack Setup source path will be the location used during the last time Windows Setup was run on the system.

When you view the Explain tab in the Properties of the Specify Windows Service Pack Installation File Location Group Policy object, the text on the Explain tab states as:

Specifies an alternate location for Windows Service Pack installation files.

To enable this setting, enter the fully qualified path to the new location in the "Windows Service Pack Setup file path" box.

If you disable this setting or do not configure it, the Windows Setup source path will be the location used during the last time Windows Service Pack Setup was run on the system.

However, if you try to use these Group Policy objects to specify an alternative location for the Windows installation files and the Windows Service Pack installation files, the files are not retrieved from the location that you specify, and you are prompted for the location of the installation media that was originally used.

Cause

This behavior occurs because the information that is provided on these two Explain tabs is inaccurate. The settings for the Specify Windows Installation File Location and the Specify Windows Service Pack Installation File Location Group Policy objects apply only to Windows File Protection. These settings do not apply to items that use the Setup API to install.

Resolution

To resolve this problem, edit the registry to specify the location of the Windows installation files and the location of the Windows Service Pack installation files. To do it, follow these steps.

Warning: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

  1. Click Start, click Run, type regedit in the Open box, and then click OK.

  2. Locate the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup

  3. Right-click SourcePath, and then click Modify.

  4. In the Value data box, type the path of the Windows installation files, and then click OK.

  5. Right-click ServicePackSourcePath, and then click Modify.

  6. In the Value data box, type the path of the Windows Service Pack installation files, and then click OK.

  7. Locate the following registry subkey:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

  8. Right-click SourcePath, and then click Modify.

  9. In the Value data box, type the path of the Windows installation files, and then click OK.

Status

Microsoft has confirmed that it is a problem in the Microsoft products that are listed in the "Applies to" section of this article.

Data collection

If you need assistance from Microsoft support, we recommend you collect the information by following the steps mentioned in Gather information by using TSS for deployment-related issues.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
- Supported versions of Windows Client · Source date 09/17/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。