Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2003 operating systems or Windows XP Professional
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\Software\Policies\Microsoft\Windows NT\Setup |
|---|
| Option | Value | Type | Allowed values |
|---|
| Windows Service Pack Setup file path: | ServicePackSourcePath | REG_SZ | Text |
What it does (vendor explanation)
Specifies an alternate location for Windows Service Pack installation files.
If you enable this policy setting, enter the fully qualified path to the new location in the "Windows Service Pack Setup file path" box.
If you disable or do not configure this policy setting, the Windows Service Pack Setup source path will be the location used during the last time Windows Service Pack Setup was run on the system.
Group Policy path: Computer Configuration > Administrative Templates > System > Specify Windows Service Pack installation file location
PowerShell equivalent (generated from the template)
# Windows Service Pack Setup file path:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Setup' -Name 'ServicePackSourcePath' -Value <value> -PropertyType String -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
ADMX: Setup.admx · policy name ServicePackSourcePath
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2003 operating systems or Windows XP Professional
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\Software\Policies\Microsoft\Windows NT\Setup |
|---|
| Option | Value | Type | Allowed values |
|---|
| Windows Setup file path: | SourcePath | REG_SZ | Text |
What it does (vendor explanation)
Specifies an alternate location for Windows installation files.
If you enable this policy setting, enter the fully qualified path to the new location in the "Windows Setup file path" box.
If you disable or do not configure this policy setting, the Windows Setup source path will be the location used during the last time Windows Setup was run on the system.
Group Policy path: Computer Configuration > Administrative Templates > System > Specify Windows installation file location
PowerShell equivalent (generated from the template)
# Windows Setup file path:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Setup' -Name 'SourcePath' -Value <value> -PropertyType String -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
ADMX: Setup.admx · policy name SetupSourcePath