App-V and OneDrive Desktop Backup

Stewart Pollock 11 Reputation points
2021-09-22T09:39:07.913+00:00

Hi

We're piloting OneDrive Backup (formerly Known Folder Move) and I've discovered an issue with publishing App-V shortcuts to the user desktop. When OneDrive backup is enabled for the Desktop folder, the directory C:\Users\<userprofile>\Desktop is migrated to C:\Users\<userprofile>\OneDrive\Desktop.

If an App-V package that is user published with a desktop shortcut is subsequently deployed, the shortcut is generated in C:\Users\<userprofile>\Desktop, but this folder is not presented to the user, they only see the items in the OneDrive folder so they don't see the shortcut.

I'm testing this on Windows 10 1909 with OneDrive 21.170.0822.0002

I can see documentation relating to App-V and Folder Redirection here but this was last updated in 2018 and there's no mention of OneDrive Backup. Is there a way to fix this issue so that App-V shortcuts are still presented on the user's desktop after enabling OneDrive backup?

Thanks

Hyper-V
Hyper-V
A Windows technology providing a hypervisor-based virtualization solution enabling customers to consolidate workloads onto a single server.
2,626 questions
Windows 10 Compatibility
Windows 10 Compatibility
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Compatibility: The extent to which hardware or software adheres to an accepted standard.
467 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Limitless Technology 39,496 Reputation points
    2021-09-23T09:12:22.33+00:00

    Hello @Stewart Pollock ,

    Thank you for your question.

    I believe it is a problem related to the windows 10 1909 version (which we consider to be extremely old).

    First I will describe to you how to update to the latest version of windows, without affecting your files or programs, after that you try to perform the configuration you are trying now and see if the problem persists or not.

    https://www.microsoft.com/en-us/software-download/windows10

    Step 1: Access the above link and select the Update Now option, an application will be downloaded in which you must install on your computer.

    Step 2: when installing you must open the application and the download, verification and installation of the recent version will start.

    Step 3: After you will be asked to restart the device to complete the update, after a few minutes you will have the latest version.

    If after updating to the latest version of windows the problem persists, I recommend that you post your question on the OneDrive forum, so you will have a better follow-up.

    -----------------------------------------------------------------------------------------------------------------------------

    If the answer is helpful, please vote positively and accept as an answer.


  2. zdenekzak 1 Reputation point
    2022-09-21T08:06:11.92+00:00

    Once Onedrive is deployed, the problem is not obvious because the first synchronization is performed. Each subsequent App-V update package on the station will not bring new App-V shortcuts!

    Test - You are synchronizing the desktop to Onedrive. Delete the App-V shortcut from the desktop. Perform an App-V synchronization such as Sync-AppvPublishingServer* -Force or Logout /login to Windows. You will not get the shortcut. Why?
    Because App-V works with a variable, not a fixed path. OneDrive works with a fixed path. Unbelievable? Yes, it is.

    A change in the user registry. \HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders243401-onedrivebug.png


  3. zdenekzak 1 Reputation point
    2022-10-03T11:38:45.14+00:00

    Hi Stewart,
    for users with desktop sync to OneDrive, I added a shortcut view to Common Desktop. It seems to work for the new package as well as for updating the package. 246800-cmdsktp.png


  4. zdenekzak 1 Reputation point
    2022-10-05T07:23:13.373+00:00

    Hi Stewart,
    Could you please post a scenario where shortcuts are missing when publishing apps updates? Can I also try it? If it doesn't keep you too busy. My email is zdenek.zak@cah.cz

    0 comments No comments

  5. zdenekzak 1 Reputation point
    2023-01-24T08:12:21.6133333+00:00

    Hello,

    I've just repeated the same test on a Windows 10 21H2, 22H2 and Windows 11 22H2. Device and the behaviour is identical so this is not limited to 1909.

    0 comments No comments