Avatar of Brian Longworth
Brian Longworth
Flag for United States of America asked on

Cannot install Desktop Experience on Windows Server 2008 R2

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.
Windows Server 2008Exchange

Avatar of undefined
Last Comment
bisolvon

8/22/2022 - Mon
Brian Longworth

ASKER
And yes, I've run SFC and the readiness tool and both reported no problems.
MaxEL_UA

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.
Brian Longworth

ASKER
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.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
SubSun

Is it Windows 2008 R2 SP1? And are you running the PowerShell console using Run as Administrator option?
Brian Longworth

ASKER
Yes, it's SP1. Fully updated as of today. Fresh installation. UAC is turned off so run as admin is irrelevant.
David Johnson, CD

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
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Rajkumar Duraisamy

your server connected to internet when running the above install?
David Johnson, CD

it doesn't matter whether or not you are connected to the internet to run this powershell script
David Johnson, CD

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
Your help has saved me hundreds of hours of internet surfing.
fblack61
Brian Longworth

ASKER
Thank you ve3ofa, but that didn't help. I get the same problem.
ASKER CERTIFIED SOLUTION
Brian Longworth

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
David Johnson, CD

Update your install media to sp1 if possible
Brian Longworth

ASKER
No commenters were able to offer a solution. I discovered a solution on my own.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
bisolvon