Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Another cure for "Open File - Security Warning" Prompt Blues : ICACLS

13 Jan 2019   #11
BigAlUK

Windows 7 Ultimate x64
 
 

Quote   Quote: Originally Posted by miloshapiro View Post
If I choose the programs from the Start Menu, i'm fine.
But for some of the six or seven pinned programs on the Taskbar at the bottom, I get that rotten Security Alert. But i cannot figure out where on my computer those options are stored to do the
"icacls *.lnk /L /SetIntegrityLevel med" thing.
~
Extra odd: It only does it for a few of the icons there. I can open Outlook, Word and Excel on the pinned icons, no problem. But Exploring, Snipping Tool, and Firefox all give me that warning.
Since I don't have this particular problem (and I'm a little surprised that you do) I cannot really give a definite answer. But here's a few clues:
  • The taksbar folder is located at %AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar. So you could try using the trick upon the content of that folder directly. Don't change the folder's security (unless it is suspicious), just the files in it. I don't know what side effects may occur if you reduce or increase the security of the folder itself, and it is probably best not to find out.
  • If what you are pinning has been marked in some way as "from the internet and unsigned" it gives Windows an excuse to worry about security. Try removing the pinning, shutting down the program, and then putting a shortcut in a desktop folder, use the trick upon it, and only then use it to start a program that you then pin on the taskbar.
  • If there's anything peculiar attached to the actual executable file via NTFS ADS (Google it, tho' it should not usually in itself cause a problem) then you can clear all that out by MOVING the file to a FAT drive and then moving it back to the NTFS drive. That's the easiest and quickest way to kill off all streams under ADS.
  • Finally, where does the EXE reside (not the shortcut) that you are effectively pinning to the taskbar? Is it where most programs are - the protected area under Program Files or Program Files (x86)? Or is it on an external source such as a NAS or a networked PC elsewhere. This might also be prompting Windows to be a pain about security. Put the program somewhere local and possibly hand-place it into an appropriate place under the programs folders.
  • Last of all (and really this should have been first!) check that the shortcut is not configured for "Run As Administrator" under either the advance settings or the compatibility settings. Also check that Windows hasn't slapped compatibility settings of ANY kind upon the EXE itself - if it has, you may be onto a loser. In the same vein, consider whether the developer has implanted a Manifest with the EXE that causes it to demand to be elevated whenever it is run. This incidentally might in some circumstances cause additional issues if the developer has not also provided some kind of application security certificate. All of these last cases come under the hat of "legitimate" UAC causes. Windows is, after all, trying its level best to protect you.

I am intrigued, so if you do manage to work it out or have any further info, then please post again :)


My System SpecsSystem Spec
.
14 Jan 2019   #12
miloshapiro

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

The resolution to this YEARS old problem was in your first bullet, though I appreciate all the work you put in!
When I searched for these shortcuts and looked at every occurrence of them (yielding no improvement), I was stuck.
But the one you suggested:
C:\Users\[my user account]\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
does not show any results even though it's there. AppData is grayed out in Microsoft Exploring for some reason, keeping my search from showing what's in it. I don't know why AppData is treated differently but, as you know, what I needed was in there!


So I set the prompt to the right place:

>cd C:\Users\[my user account]\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar


I ran the command
>icacls "*.lnk" /L /SetIntegrityLevel med


and without even having to unpin and repin, the icons all stopped giving me the error. What a relief to be done with that!
Thanks! I just pray that whatever did that to my icons doesn't come back or happen in the future if i ever create icons again, but at least i know what I can do (double pray that it lasts so that I don't get it back at the next reboot!)
My System SpecsSystem Spec
Reply

 Another cure for "Open File - Security Warning" Prompt Blues : ICACLS




Thread Tools




Similar help and support threads
Thread Forum
changing an ".ost"file to open with "unknown" application
I changed my outlook email .ost file to open with auto cad by mistake. Initially it was opening with an Unknown application. How can I enable it to open with an unknown application again? please help
Software
"Open File - Security Warning" when running a LNK file
Ever since I started using Windows Live Mail, I get the following every time I start it: How do I stop this?
General Discussion
How to get rid of "Open file - security warning"
Hello. I am using 7100 build and I would like to know, how to forever get rid of the "Open file - security warning" dialog. It is of no use and it certainly does not help with security, it just annoys... thanks :)
System Security
Pressing any keyboard button = url.dll "open with prompt"
Hello, Today I was sick and tired of Firefox 3.6 because it kept having mini freezes every few minutes and reinstalling it didn't fix it so I decided to try Opera which I didn't like for missing out a couple of features I can't live without, removed that and tried Chrome which reminded me of the...
Performance & Maintenance
Windows 7 32 bit, when loading "Open With: ?" "File: Media" comes up
Hello there, when the desktop loads up, I get this strange message: "Open With: Choose the program you want to use to open this file: File: Media" http://i54.tinypic.com/6rtxlu.jpg
Software


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 13:46.
Twitter Facebook Google+