Error Details
| Fact | Value | Source | Note |
|---|
| Error Code | 30015-6 | Office deployment tool output and Office app settings | -> Indicates failure to download required packages |
| OS Build Range | Windows 10 / Windows 11 | Microsoft documentation on C2R errors | -> Applies to all supported versions of Windows 10 and 11 |
| Registry Key Path | HKLM\SOFTWARE\Microsoft\Office\ClickToRun\Configuration | Windows Registry Editor (Regedit) | -> Check CDNBaseUrl and UpdateChannel values |
| Relevant Service URL | http://officecdn.microsoft.com/pr/ | Office CDN endpoint documentation | -> Ensure CDNBaseUrl points to a valid Office CDN endpoint |
| Log File Signature | DownloadFailed or CDN error in OfficeCTRSetup*.log | C:\Windows\Temp\OfficeCTRSetup*.log | -> Search logs for specific failure patterns |
Log Files to Check
C:\Windows\Temp\OfficeCTRSetup*.logC:\Windows\Logs\CBS\CBS.log
What This Error Actually Means
The error code
30015-6 is raised by the Microsoft 365 Apps Click-to-Run (C2R) client when it fails to download required packages from the Office Content Delivery Network (CDN). This error typically occurs during an update or installation process and indicates that the C2R client could not access the necessary files from the CDN. The error is logged in multiple locations, including the Office deployment tool output, the Windows Event Viewer, and specific log files on the system.
Affected Versions and Scope
This error affects Microsoft 365 Apps deployments using the Click-to-Run installation method on Windows 10 and Windows 11 operating systems. It is not limited to a specific version of Office but can occur across different updates and versions as long as the underlying issue persists. The error does not affect installations managed through other methods, such as MSI-based installations or those using the Office Deployment Tool (ODT) with a different configuration.
Where To Look First: Logs and Event IDs
To diagnose this error, you should examine several log files and event entries:
1. **Office CTR Setup Log**: The primary log file is located at
C:\Windows\Temp\OfficeCTRSetup*.log. Search for the exact error code
30015-6 or related patterns like
DownloadFailed or
CDN error.
2. **Windows CBS Log**: The Windows Component Servicing (CBS) log at
C:\Windows\Logs\CBS\CBS.log may contain relevant information if the Office C2R installer interacts with Windows servicing components.
3. **Event Viewer**: Look for events in the Application log with the source
OfficeClickToRun. Specifically, check for:
- Event ID 2000: Indicates a successful setup completion.
- Event ID 2003: Indicates a failed setup attempt.
- Event ID 3010: Indicates a reboot is required.
You can use the following PowerShell cmdlet to search for relevant events in the Application log:
```powershell
Get-WinEvent -LogName "Application" | Where-Object { $_.ProviderName -eq "OfficeClickToRun" } | Select-Object TimeCreated, Id, Message
```
Root Causes
1. Incorrect or Missing CDNBaseUrl Configuration
The most common cause of error
30015-6 is an incorrect or missing configuration in the registry key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration. Specifically, the
CDNBaseUrl value may be empty, malformed, or pointing to an invalid CDN endpoint. This can happen after a botched Group Policy deployment or an incomplete update channel switch.
2. Proxy Server Blocking Access to Office CDN
If your organization uses a proxy server, it might block access to the Office CDN endpoints
officecdn.microsoft.com and
officecdn-microsoft-com.akamaized.net. This can prevent the C2R client from downloading required packages.
3. Insufficient Disk Space
The Office Click-to-Run client requires at least 3-5 GB of free disk space on the system drive to download and install updates. If the system drive is full or nearly full, the update process will fail with error
30015-6.
4. Corrupted Click-to-Run Installation
In some cases, the C2R installation may become corrupted, preventing it from validating downloaded package checksums. This can occur after an interrupted update or a system crash during an installation.
Fix Procedure
- Inspect the CDN Configuration in Registry:
Use PowerShell to check the registry configuration:
```powershell
Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration' | Select-Object CDNBaseUrl, UpdateChannel, Platform, VersionToReport
```
Ensure
CDNBaseUrl starts with http://officecdn.microsoft.com/pr/. If it is blank or malformed, proceed to step (a) below.
- Test CDN Connectivity:
Verify connectivity to the Office CDN using:
```powershell
Invoke-WebRequest -Uri 'https://officecdn.microsoft.com/pr/wsus/ofl.cab' -UseBasicParsing -TimeoutSec 15
```
A successful response (StatusCode 200) indicates the CDN is reachable. If it times out, check your proxy settings.
- Check Disk Space:
Use PowerShell to check available disk space:
```powershell
Get-PSDrive C | Select-Object Used,Free
```
Ensure at least 3 GB of free space on the system drive.
- Review C2R Log for Failure Details:
Search the Office CTR setup log for error details:
```powershell
Select-String -Path 'C:\Windows\Temp\OfficeCTRSetup*.log' -Pattern '30015' | Select-Object -Last 20
```
- Fix Configuration Issues:
If the CDNBaseUrl is incorrect, restore it using the Office Deployment Tool or directly via PowerShell:
```powershell
Set-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration' -Name CDNBaseUrl -Value 'http://officecdn.microsoft.com/pr/492350f6-3a01-4f97-b9c0-c7c6ddf67d60'
```
Replace the GUID with your specific channel identifier.
- Free Disk Space:
Clear partial downloads and free up space:
```powershell
Remove-Item 'C:\Windows\Temp\OfficeC2R*' -Force -ErrorAction SilentlyContinue
```
- Perform Online Repair:
Navigate to Settings > Apps > Microsoft 365 Apps, select Modify, and choose Online Repair. This resets C2R configuration.
Warning: Modifying the registry directly can cause issues if not done correctly. Always back up the registry before making changes.
Error Code Variants
| Error Code | Description |
| 30015-1 | Occurs when the C2R client cannot connect to the Office Update service. |
| 30015-2 | Indicates a failure in validating package checksums during installation. |
| 30015-6 | Fails to download required packages from the Office CDN or invalid update channel configuration. |
Verification
After applying fixes, verify by:
- Checking the registry again for correct
CDNBaseUrl.
- Manually running an Office C2R update.
- Reviewing Event Viewer for successful setup events (Event ID 2000) without error codes.
Use the following cmdlet to confirm the fix:
```powershell
Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration' | Select-Object CDNBaseUrl
```
Prevention
Implement these measures to prevent recurrence:
1. Regularly monitor and update Office installations through the Microsoft 365 admin center.
2. Ensure sufficient disk space on system drives.
3. Configure proxy servers to allow access to Office CDN endpoints.
4. Use Group Policy or Intune to enforce correct C2R configurations.
By following these steps, you can resolve error
30015-6 and ensure smooth operation of Microsoft 365 Apps in your environment.