Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Can't open .lnk or .url file after enabling the Files On Demand feature in OneDrive


View products that this article applies to.

Symptoms

Assume that you enabled the Files On Demand feature in Microsoft OneDrive for Business. If you try to open an .lnk or .url file that's marked by OneDrive as "Free up space" (and the file is also an "online-only" file), the file won't open in a web browser. Instead the file will open a print dialog box. If the file is marked as "Always keep on this device," the file opens in the browser as expected.

↑ Back to the top


Resolution

From an administrator-level Command Prompt window, run the following two commands:

reg add HKEY_CLASSES_ROOT\AllSyncRootObjects\shell\ShellPlaceholderLinkVerb /v AppliesTo /t REG_SZ /d "System.Shell.SFGAOFlagsStrings:=link AND System.Shell.SFGAOFlagsStrings:=placeholder" -f
reg add HKEY_CLASSES_ROOT\AllSyncRootObjects\shell\ShellPlaceholderLinkVerb /v DefaultAppliesTo /t REG_SZ /d "System.Shell.SFGAOFlagsStrings:=link AND System.Shell.SFGAOFlagsStrings:=placeholder" -f

↑ Back to the top


More Information

Microsoft plans to update the operating system to resolve this issue in the first half of 2019.

↑ Back to the top


Keywords: vkb231, vkb339, vkb351, Desktop Sync Client for Windows or Mac, kbsurveynew

↑ Back to the top

Article Info
Article ID : 4477146
Revision : 10
Created on : 11/30/2018
Published on : 11/30/2018
Exists online : False
Views : 295