Error: "Start menu shortcuts could not be retrieved Error Id: XDDS:BDD41B19"

Error: "Start menu shortcuts could not be retrieved Error Id: XDDS:BDD41B19"

book

Article ID: CTX214524

calendar_today

Updated On:

Description

When trying to publish applications in Studio using the start menu option, an error is displayed:

'Start menu shortcuts could not be retrieved' Error Id: XDDS:BDD41B19 Exception: Citrix.Console.Models.Exceptions.ScriptException Start menu shortcuts could not be retrieved. at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.CreateException[T](ICommonLog logger, ExecutionResults`1 results, ICmdletExecutionHost host) at Citrix.Console.PowerShellInteraction.CmdletExecutionMethods.Execute[T](ISdkCmdlet`1 sdkCmd, ICmdletExecutionHost host, Boolean allowFailover) at Citrix.Console.PowerShellSdk.ApplicationService.Scripts.DiscoverVdaApplicationsScript.DiscoverVdaApps(IProgressReporter findingMachineProgress, IProgressReporter loadingApplicationsProgress) at Citrix.Console.PowerShellSdk.ApplicationService.Scripts.DiscoverVdaApplicationsScript.RunScript() at Citrix.Console.PowerShellInteraction.PowerShellScript`1.Run() at Citrix.Console.PowerShellSdk.ApplicationService.PSApplicationService.DiscoverApplications(DiscoverVdaApplicationsRequest discoveryRequest, Canceller canceller, IProgressReporter progressReporter) at Citrix.Console.DesktopGroups.UI.Dialogs.StartMenuApplicationDiscoverer.Start() DesktopStudio_ErrorId : NoStartMenuShortcuts Sdk Error Message : Start menu shortcuts could not be retrieved Sdk Error ID : Citrix.XDPowerShell.Broker.NoStartMenuShortcuts,Citrix.Broker.Admin.SDK.GetBrokerMachineStartMenuShortcutsCommand ErrorCategory : NotSpecified DesktopStudio_PowerShellHistory : DiscoverVdaApplicationsScript 23/06/2016 12:25:02 Get-BrokerMachineStartMenuShortcuts -AdminAddress "XXXXXXX:80" -MachineName "XXXXXXXXX" Get-BrokerMachineStartMenuShortcuts : Start menu shortcuts could not be retrieved + CategoryInfo : InvalidOperation: (:) [Get-BrokerMachineStartMenuShortcuts], SdkOperationException + FullyQualifiedErrorId : Citrix.XDPowerShell.Broker.NoStartMenuShortcuts,Citrix.Broker.Admin.SDK.GetBrokerMachineStartMenuShortcutsCommand


A different error might also be seen:

Transaction ID: XXXXXXXXXX
Action Name: APP_GetStartMenuApplications

Exception:
DesktopStudio_ErrorId : NoStartMenuShortcuts
Error Source : CitrixBrokerService
Sdk Error Message : Start menu shortcuts could not be retrieved
Sdk Error ID : Citrix.XDPowerShell.Broker.NoStartMenuShortcuts,Citrix.Broker.Admin.SDK.GetBrokerMachineStartMenuShortcutsCommand
ErrorCategory : NotSpecified
DesktopStudio_PowerShellHistory : DiscoverVdaApplicationsScript
9/1/2022 4:14:28 PM

Get-BrokerMachineStartMenuShortcuts -AdminAddress "XXXXXXXXXX" -BearerToken ******** -MachineName "XXXXXXXXXX"
Get-BrokerMachineStartMenuShortcuts : Start menu shortcuts could not be retrieved
+ CategoryInfo : InvalidOperation: (:) [Get-BrokerMachineStartMenuShortcuts], SdkOperationException
+ FullyQualifiedErrorId : Citrix.XDPowerShell.Broker.NoStartMenuShortcuts,Citrix.Broker.Admin.SDK.GetBrokerMachineStartMenuShortcutsCommand

Running the cmdlet Get-BrokerMachineStartMenuShortcuts targeting the machine with the error will also provide a similar error message.

Environment

Citrix is not responsible for and does not endorse or accept any responsibility for the contents or your use of these third party Web sites. Citrix is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement by Citrix of the linked Web site. It is your responsibility to take precautions to ensure that whatever Web site you use is free of viruses or other harmful items.

Resolution

Verify the permissions for the Network Service account on all items in the Start Menu folder C:\ProgramData\Microsoft\Windows\Start Menu
The Sysinternals tool AccessChk can be used for this: https://learn.microsoft.com/en-us/sysinternals/downloads/accesschk

accesschk "NetworkService" C:\ProgramData\Microsoft\Windows\Start Menu -s -n

 


Problem Cause

Network Service account did not have sufficient permissions on a file or folder within the Start Menu.

Issue/Introduction

Error: "Start menu shortcuts could not be retrieved Error Id: XDDS:BDD41B19"

Additional Information

https://learn.microsoft.com/en-us/sysinternals/downloads/accesschk