How to setup RemoteApp and Desktop Connections in Intune?

Manjeet Singh Pabla 0 Reputation points
2024-08-07T19:04:25.3766667+00:00

Anyone know how to setup RemoteApp and Desktop Connections in Intune?

Through Intune we pushed a configuration profile which is successfully deployed to all clients Windows 10 and 11 but default URL not displaying or coming up as expected under Control Panel\All Control Panel Items\RemoteApp and Desktop Connections

Image

Multiple tickets open with Intune support and all Sherxxb vendor analyst first they don't have any idea what is "RemoteApp and Desktop Connections.

Anyhow once you provide them all details including log files first response you get - We are break and fix team and we cannot do a root cause analysis. We can see policy delivered to client PC so from here it is not Intune issue you need to contact Windows.

Issue happening on all Windows build and they even replicated same issue in their test environment so why can you open up a ticket?

Image

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,685 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,191 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,835 questions
Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,917 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,173 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Manjeet Singh Pabla 0 Reputation points
    2024-08-20T14:01:18.79+00:00

    Hi Mohammed,

    Yes, issue still persists but I found a workaround where I created a Win32 package and deployed the following PowerShell Script.
    You need to specify a URL in the script as a variable.

    Function Install-RDSWebFeed

    {

    [cmdletbinding()]
    
    Param
    
    (
    
        [Parameter(Mandatory=$true, HelpMessage="Please provide a valid URL, example 'https://remote.something.com/RDWeb/Feed/webfeed.aspx' .")]$URL
    
    )
    
    #Check if the RDS webfeed already exists.
    
    If(-not (Check-RDSWebFeed -URL $URL))
    
    {
    
        Write-Output "Information: Web feed doesn't exist.";
    
        #Create the WCX file.
    
        $WCX = (Create-WCXFile -URL $URL);
    
        #Add the web feed.
    
        Start-Process -FilePath rundll32.exe -ArgumentList 'tsworkspace,WorkspaceSilentSetup',$($WCX).ToString() -Wait -NoNewWindow;
    
        #Directory of the WCX file.
    
        $Directory = $WCX -split "\\";
    
        #Delete the WCX file.
    
        Remove-Item -Path ($Directory[0] + "\" + $Directory[1]) -Force -Confirm:$false -Recurse;
    
    }
    
    Else
    
    {
    
        Write-Output "Information: Web feed already exists.";
    
    }
    

    }

    Function Check-RDSWebFeed

    {

    [cmdletbinding()]
    
    Param
    
    (
    
        [Parameter(Mandatory=$true, HelpMessage="Please provide a valid URL, example 'https://remote.something.com/RDWeb/Feed/webfeed.aspx' .")]$URL
    
    )
    
    #Get all feeds for the current user.
    
    $Feeds = Get-Item 'HKCU:\Software\Microsoft\Workspaces\Feeds\*';
    
    [bool]$InUse = $false;
    
    #Foreach feed.
    
    Foreach($Feed in $Feeds)
    
    {
    
        #If the feed is already in use.
    
        If($Feed.GetValue("URL") -eq "$URL")
    
        {
    
            #Set variable.
    
            $InUse = $true;
    
        }
    
    }
    
    Return $InUse;
    

    }

    Function Create-WCXFile

    {

    [cmdletbinding()]
    
    Param
    
    (
    
        [Parameter(Mandatory=$true, HelpMessage="Please provide a valid URL, example 'https://remote.something.com/RDWeb/Feed/webfeed.aspx' .")]$URL
    
    )
    
    #Construct the XML file.
    
    $XML = @"
    

    <?xml version="1.0" encoding="utf-8" standalone="yes"?>

    <workspace name="Company Remote Access" xmlns="http://schemas.microsoft.com/ts/2008/09/tswcx" xmlns:xs="http://www.w3.org/2001/XMLSchema">

    <defaultFeed url="$URL" />
    

    </workspace>

    "@

    #WCX file path.
    
    $Directory = ("C:\" + [guid]::NewGuid() +"\");
    
    $WCX = "webfeed.wcx";
    
    $FullPath = ($Directory + $WCX);
    
    #New folder.
    
    New-Item $Directory -Type Directory -Force | Out-Null;
    
    #Export the file.
    
    $XML | Out-File -FilePath $FullPath -Encoding utf8 -Force | Out-Null;
    
    #Return file path.
    
    Return $FullPath;
    

    }

    Install-RDSWebFeed -URL "https://remote.netcompany.com/RDWeb/Feed/webfeed.aspx";


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.