Solved

Cannot install Desktop Experience on Windows Server 2008 R2

Posted on 2013-01-04
14
4,938 Views
Last Modified: 2016-05-18
I'm trying to deploy Exchange Server 2013 on Windows Server 2008 R2 in my test environment.
One of the pre-requisites is to have Desktop Experience installed.
When I try to install it via PowerShell, I get this failure message:

add-windowsfeature : Installation of [Ink and Handwriting Services] Ink Support failed. Attempt to install Ink Support
failed with error code 0x8007010B.  The directory name is invalid
At line:1 char:1
+ add-windowsfeature desktop-experience -logpath c:\log.log
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [Add-WindowsFeature], Exception
    + FullyQualifiedErrorId : FeatureMessageDetail,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand
add-windowsfeature : Installation of [Desktop Experience] Desktop Experience failed. Attempt to install Desktop
Experience failed with error code 0x8007010B.  The directory name is invalid
At line:1 char:1
+ add-windowsfeature desktop-experience -logpath c:\log.log
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (:) [Add-WindowsFeature], Exception
    + FullyQualifiedErrorId : FeatureMessageDetail,Microsoft.Windows.ServerManager.Commands.AddWindowsFeatureCommand

Success Restart Needed Exit Code Feature Result
------- -------------- --------- --------------
False   No             Failed    {Ink Support, Desktop Experience}

The installation log shows this:

4076: 2013-01-04 14:46:47.306 [Sync]                      Calling sync provider of Ink Support ...
4076: 2013-01-04 14:46:47.309 [Provider]                  Sync:: guest: 'Ink Support', guest deleted?: False
4076: 2013-01-04 14:46:47.312 [Provider]                  Begin installation of 'Ink Support'...
4076: 2013-01-04 14:46:47.314 [Provider]                  Install: Guest: 'Ink Support', updateElement: 'InkSupport'
4076: 2013-01-04 14:46:47.317 [Provider]                  Installation queued for 'Ink Support'.
4076: 2013-01-04 14:46:47.320 [Sync]                      Calling sync provider of Desktop Experience ...
4076: 2013-01-04 14:46:47.323 [Provider]                  Sync:: guest: 'Desktop Experience', guest deleted?: False
4076: 2013-01-04 14:46:47.324 [Provider]                  Begin installation of 'Desktop Experience'...
4076: 2013-01-04 14:46:47.326 [Provider]                  Install: Guest: 'Desktop Experience', updateElement: 'DesktopExperience'
4076: 2013-01-04 14:46:47.329 [Provider]                  Installation queued for 'Desktop Experience'.
4076: 2013-01-04 14:46:47.332 [CBS]                       installing 'InkSupport DesktopExperience ' ...
4076: 2013-01-04 14:46:56.576 [CBS]                       ...parents that will be auto-installed: '<none>'
4076: 2013-01-04 14:46:56.580 [CBS]                       ...default children to turn-off: '<none>'
4076: 2013-01-04 14:46:56.699 [CBS]                       ...current state of 'InkSupport': p: Staged, a: Staged, s: UninstallRequested
4076: 2013-01-04 14:46:56.703 [CBS]                       ...setting state of 'InkSupport' to 'InstallRequested'
4076: 2013-01-04 14:46:56.798 [CBS]                       ...current state of 'DesktopExperience': p: Staged, a: Staged, s: UninstallRequested
4076: 2013-01-04 14:46:56.802 [CBS]                       ...setting state of 'DesktopExperience' to 'InstallRequested'
4076: 2013-01-04 14:46:56.900 [CBS]                       ...'InkSupport' : applicability: Applicable
4076: 2013-01-04 14:46:57.083 [CBS]                       ...'DesktopExperience' : applicability: Applicable
4076: 2013-01-04 14:46:58.673 [CbsUIHandler]              Initiate:
4076: 2013-01-04 14:47:32.928 [CbsUIHandler]              Error: -2147024629 :
4076: 2013-01-04 14:47:32.937 [CbsUIHandler]              Terminate:
4076: 2013-01-04 14:47:33.508 [CBS]                       ...done installing 'InkSupport DesktopExperience '. Status: -2147024629 (8007010b)
4076: 2013-01-04 14:47:33.529 [Provider]                  Skipped configuration of 'Ink Support' because install operation failed.
4076: 2013-01-04 14:47:33.543 [Provider]                  Skipped configuration of 'Desktop Experience' because install operation failed.
4076: 2013-01-04 14:47:33.551 [Provider]                  
[STAT] ---- CBS Session Consolidation -----
[STAT] For
          'Ink Support',
          'Desktop Experience'[STAT] installation(s) took '46.1703264' second(s) total.
[STAT] Configuration(s) took '0.0217053' second(s) total.
[STAT] Total time: '46.1920317' second(s).

4076: 2013-01-04 14:47:33.557 [Provider] Error (Id=0) Sync Result - Success: False, RebootRequired: False, Id: 311
4076: 2013-01-04 14:47:33.561 [Provider] Error (Id=0) Sync Message - OperationKind: Install, MessageType: Error, MessageCode: -2147024629, Message: Attempt to install Ink Support failed with error code 0x8007010B., AdditionalMessage: The directory name is invalid
4076: 2013-01-04 14:47:33.566 [Provider] Error (Id=0) Sync Result - Success: False, RebootRequired: False, Id: 35
4076: 2013-01-04 14:47:33.574 [Provider] Error (Id=0) Sync Message - OperationKind: Install, MessageType: Error, MessageCode: -2147024629, Message: Attempt to install Desktop Experience failed with error code 0x8007010B., AdditionalMessage: The directory name is invalid
4076: 2013-01-04 14:47:33.797 [ServerManagerPS]           [STAT] Overall Sync Time: '46.4684482' second(s)
4076: 2013-01-04 14:47:33.821 [ServerManagerPS] Error (Id=0) Installation of [Ink and Handwriting Services] Ink Support failed. Attempt to install Ink Support failed with error code 0x8007010B.  The directory name is invalid
4076: 2013-01-04 14:47:33.848 [ServerManagerPS] Error (Id=0) Installation of [Desktop Experience] Desktop Experience failed. Attempt to install Desktop Experience failed with error code 0x8007010B.  The directory name is invalid

I've run a trace of TrustedInstaller.exe with ProcessMonitor but it shows no failure for a directory search.

Internet searches have not been helpful.

I've spent all day on this problem and have now given up trying to resolve this on my own. I just don't know what directory cannot be found.
0
Comment
Question by:brian975
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
14 Comments
 

Author Comment

by:brian975
ID: 38745720
And yes, I've run SFC and the readiness tool and both reported no problems.
0
 
LVL 2

Expert Comment

by:MaxEL_UA
ID: 38745853
Why You try to install it through powershell ?
You don't have a GUI ?

As I remember, but can mistake:
Desktop Experience is an update package that must be installed, and the feature must be enabled through  system - programs and features.
0
 

Author Comment

by:brian975
ID: 38745903
I prefer powershell but the GUI has the same result.
Desktop Experience is a feature that needs to be installed. Then you can activate the individual components of it.
0
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 40

Expert Comment

by:Subsun
ID: 38745948
Is it Windows 2008 R2 SP1? And are you running the PowerShell console using Run as Administrator option?
0
 

Author Comment

by:brian975
ID: 38745988
Yes, it's SP1. Fully updated as of today. Fresh installation. UAC is turned off so run as admin is irrelevant.
0
 
LVL 82

Expert Comment

by:David Johnson, CD, MVP
ID: 38746174
PS C:\Users\dwjohnson> import-module ServerManager
PS C:\Users\dwjohnson> Add-WindowsFeature Desktop-Experience -IncludeAllSubFeature

Worked for me.. http://www.screencast.com/t/NeMZaUeX
0
 
LVL 15

Expert Comment

by:Rajkumar-MCITP
ID: 38747367
your server connected to internet when running the above install?
0
 
LVL 82

Expert Comment

by:David Johnson, CD, MVP
ID: 38747822
it doesn't matter whether or not you are connected to the internet to run this powershell script
0
 
LVL 82

Expert Comment

by:David Johnson, CD, MVP
ID: 38747824
Desktop Experience is an update package that must be installed, and the feature must be enabled through  system - programs and features. No it is part of the OS but not installed with a default installation
0
 

Author Comment

by:brian975
ID: 38751392
Thank you ve3ofa, but that didn't help. I get the same problem.
0
 

Accepted Solution

by:
brian975 earned 0 total points
ID: 38760517
I tried a clean install with Enterprise edition instead and had the same problem.
Part of my installation habit is to run Windows Update as soon as the OS is installed. But, I've traced the problem down to some hotfix (I don't know which one).
I wiped the VM and tried again, without running Windows Update and succeeded.
I don't feel like trying all 105 updates, one at a time, to narrow it down to the one that's causing the problem.
So, if you have the same problem, do not update the OS before installing the Desktop Experience. Do it after.
0
 
LVL 82

Expert Comment

by:David Johnson, CD, MVP
ID: 38761296
Update your install media to sp1 if possible
0
 

Author Closing Comment

by:brian975
ID: 38773831
No commenters were able to offer a solution. I discovered a solution on my own.
0

Featured Post

Veeam gives away 10 full conference passes

Veeam is a VMworld 2017 US & Europe Platinum Sponsor. Enter the raffle to get the full conference pass. Pass includes the admission to all general and breakout sessions, VMware Hands-On Labs, Solutions Exchange, exclusive giveaways and the great VMworld Customer Appreciation Part

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
how to add IIS SMTP to handle application/Scanner relays into office 365.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Suggested Courses

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question