Friday 4 March 2016

Windows Links Toolbar: Open File - Security Warning - Do you want to open this file?

Launching a shortcut from the Links folder displays a security warning:

"Do you want to open this file?"

Name: C:\Users\Username\Favorites\Links\Application.lnk
Publisher: Unknown Publisher
Type: Shortcut

From: C:\Users\Username\Favorites\Links\Application.lnk


To resolve:

Open a command prompt and enter:

icacls "C:\Users\Username\Favorites\Links" /setintegritylevel (OI)(CI)M

Replacing Username with the appropriate folder name.

5 comments:

  1. WORKED! I'm sure I tried exactly this 10x but this time it worked. ... could ICACLS and icacls have different results? Anyway, thanks!

    ReplyDelete
  2. Cancel that! The problem came back with the latest Windoze 10 updates. Running icacls does NOT resolve the problem.

    The following steps worked for me:
    - Rename C:\Users\Username\Favorites\Links to ...Links_old
    - Create a new Links folder
    - Copy all .lnk files from Links_old to Links

    ReplyDelete
  3. Didn't work for me. You could improve your script by using the %userprofile% env variable.

    ReplyDelete