Security Warning on files that I create on the desktop

Page 1 of 2 12 LastLast

  1. Posts : 8
    Windows 7 Enterprise
       #1

    Security Warning on files that I create on the desktop


    Over the weekend at work, my Windows 7 Enterprise machine mysteriously came down with an odd issue. I first noticed it when I went to routinely open my MMC session I saved on my desktop. When I went to open it, it gave me a security warning dialog. Huh, that's odd. I saved a new session file onto my desktop and trying to open that one gives me the same error. I googled around for a bit, found a way to manually enter MSC files into an inclusion list in my local policy, and that was working so I just shrugged and went about my business.

    However, this is also happening with batch (.bat) files and PowerShell scripts (.ps1) and presumably any other type of file that might be seen risky. With PowerShell, it's way more annoying because I can save a script that I just wrote onto my desktop and not be able to run it. I have my execution policy set to RemoteSigned and yet the OS thinks the file that I just created isn't local for some reason... yet it also doesn't think it's from the Internet. There's no "Unblock" button on any of the files when I go into their file properties. Nor is there a checkbox on the security warning that lets me to not pester me each time for this particular file.

    Even when I change the execution policy to Unrestricted, I still have to manually confirm I want to run a script within PowerShell by hitting the Y key and all that. It's really annoying.

    Now I've had limited time to troubleshoot this, but one thing I have found out is that it only does this for files on my profile's desktop. If I save a script to the C drive root: no issue. If I save it to my root user profile folder: no issue. If I save it to my network mapped Z drive: no issue. But heaven forbid I save it to my desktop!

    I'm guessing that's enough for one of you gurus to know what happened here. I compared the security and ownership settings on my desktop folder and one of my colleagues and couldn't find anything different. I'm just not sure where to go to get at the security settings for this.

    Please note that I don't want to just include all the file types that I work with. Allowing all scripts to run without warning just seems folly to me. I also don't want to blanket disable the security warning across my entire computer--I don't mind the security warning per se, I just don't want my desktop to be lumped into whatever draconian filter it's currently in! Also note that my desktop is not being redirected.

    Any ideas? I'd rather do this smartly, but if all else fails I may end up deleting my profile altogether and rebuild it.

    By the way, I'm actually off work today, so I probably won't be able to test any suggestions until tomorrow. I just wanted to go in with some ideas and hopefully not lose any more time to this issue than I have already.

    Thanks!
      My Computer


  2. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #2

    I'm no expert but I do have two Ideas.
    1. Have you contacted your IT department for help?
    2. Create a New Folder on the Desktop and use it instead of Desktop.
      My Computer


  3. Posts : 8
    Windows 7 Enterprise
    Thread Starter
       #3

    Layback Bear said:
    1. Have you contacted your IT department for help?
    2. Create a New Folder on the Desktop and use it instead of Desktop.
    1. I am part of the IT department. I've asked the others for help and they weren't sure either.
    2. New folders on the desktop inherit the same issue. It's only folders outside my desktop folder that work right. I could use a shortcut to get there, but as I said, that's a workaround and not a fix and I'm not interested in that.

    Another new clue to the puzzle: I searched for all the files with alternate data streams on my desktop thinking somehow they were all getting tagged on creation but none of them have any.
      My Computer


  4. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #4

    Let me see if I can find someone that can help you.
    I put in a request so just hang in there/their.
      My Computer


  5. Posts : 53,363
    Windows 10 Home x64
       #5

    Welcome to Seven Forums jbweb. It would also be helpful if you can post a screen shot of the security warning.

    Screenshots and Files - Upload and Post in Seven Forums

    A Guy
      My Computer


  6. Posts : 25,847
    Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
       #6

    Thank you Guy for being so prompt. I will just watch.
      My Computer


  7. CB
    Posts : 2,076
    Windows 11 Prerelease
       #7

    Just little thought. Is there any security update that chronologically applied prior to the issue?

    Kevin
      My Computers


  8. Posts : 8
    Windows 7 Enterprise
    Thread Starter
       #8

    Kevin Ismail said:
    Just little thought. Is there any security update that chronologically applied prior to the issue
    I remember cross-checking the list of newest hotfixes on my machine with one of my coworker's and seeing a couple that had only been installed on my machine and I think around or just prior to that weekend. I looked them up where I could and tried to add the KB# to my google search to see if I could find any other people who came down with the same issue lately, but I got no hits [then]. My hotfix printout isn't in my dropbox for some reason though so I'll have to get back to you on the specific, most-recent hotfixes.

    I did take a screenshot earlier today so that I could also get the exact message for any home research. Sorry I had to be a bit vague earlier since I didn't have one to go on previously. I'll attach it.

    Here are a few other notes (sorry if I already stated these):


    • I checked the permissions and can't see anything different with, say, another subfolder in my profile.
    • I checked to see if any scripts I create on my desktop get automatically tagged with alternate data streams, but they don't.
    • Anyone else who logs into my computer under their profile (domain) doesn't have this issue.
    • My desktop is not redirected.
    • Still gives a warning in Safe Mode.
    • Other computers that I log onto don't exhibit this behavior--it's only my machine, and specifically only on my desktop.
    • I've already ran a chkdsk /f.
    • Subfolders on my desktop inherit this issue.
    • I think that when I make a new batch file on my desktop and MOVE it to another non-desktop place, the warning stays with the file. If I COPY that batch file to the new location, the warning does not follow.
    • I've also tried using other editors (than notepad2) to make scripts. For instance, using a command prompt and just typing something like echo echo. > test.bat still results in the warning.
    Attached Thumbnails Attached Thumbnails Security Warning on files that I create on the desktop-secwarn.png  
      My Computer


  9. Posts : 131
    windows 7 home premium x64
       #9

    Crazy to ask you this!! are you the Administrator on this system? If not has someone changed your permissions?

    Have you tried a system restore? What AV are you running?

    I found this on a different site....

    But I tried this, and it worked. It was really easy but it just looks long so print this out and follow along.
    Start-->Computer-->Local Disk (C:)-->Users-->The Administrator Folder(My main account)-->Right Click Desktop-->Click Properties-->Click the Security tab-->Click the Advanced Button-->Now Click the Owner tab-->Now Click the Edit button-->the User Account pop-up comes up, so select yes, and if you have to enter a password do so now-->Here (at the Advanced Security for Desktop) I selected the "Other users or groups" button-->Now I typed "Administrator" in the text box and hit the "check names" button-->My admin account name showed up so I highlighted it and hit the OK button-->that automatically put my main (Administrator) account it into the box in the preceding box(the Advanced Security for Desktop)-->Finally I selected the OK button and I'm done. Yep DONE. I can now add, delete, or change any file on my desktop.
    Hope this helps!
      My Computer


  10. Posts : 53,363
    Windows 10 Home x64
       #10

    I believe most "solutions" I find involve changing security to allow, or adding files to allowed list. Not a great option. For you the question is what changed? And why only the desktop? The simplest thing I find does not address the whys. But may be a workaround that does not just universally lower all security. This site is an example.

    I also see

    The way we have overcome the problem is in IE 7 or 8 go to Tools, Internet Options, Security, Intranet, Sites, then remove the tick for "Automatically detect intranet network". We leave the other 3 ticks ON. You can then add server names in the advanced button, but we havent found this necessary.
    Source

    I'm sure others will be along with better ideas. Brink has several tutorials dealing with the general problem.

    Open File Security Warning - Enable or Disable

    Open File - Security Warning : Allow or Prevent to Unblock File

    Open File - Security Warning : Unblock File

    A Guy
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 14:28.
Find Us