?
Solved

Windows Security Warning blocking .asp files

Posted on 2007-04-05
9
Medium Priority
?
681 Views
Last Modified: 2008-01-09
I'm running Vista Home Premium.  A client has sent me a .zip file as an attachment to an email.  I have downloaded the .zip file to my desktop.  This .zip file contains a few .asp files which Windows aparantly sees as being a threat to the system - I assure you the files are clean.

When I attempt to "un-zip" the file, I am getting a "Windows Security Warning" pop-up that reads "Windows found that this file is potentially harmful.  To help protect your computer, Windows has blocked access to this file."

I need to be able to access these files that Windows sees as a threat.  Any ideas?
0
Comment
Question by:dpalmer2343
  • 4
  • 4
9 Comments
 
LVL 22

Expert Comment

by:Adam Leinss
ID: 18869577
You usually get this message if you try downloading risky files within an Internet zone from the Internet.  Try this: save the attachment onto your C: drive.  From Windows Explorer, drill to the file and then try opening it.  Does it open?
0
 

Author Comment

by:dpalmer2343
ID: 18870604
I can access and open the .zip file just fine to view the list of the files included in the archive.  The problem occurs when I try to extract the files from the archive either all at once or one by one.  This appears to be an issue with the built-in .zip file handling of the Vista OS.  

I tried to extract the files using WinRAR and it worked like a charm. No security alerts or blocking occurred.

I understand why Microsoft would implement blocking the extraction of potentially dangerous files from an archive, but there should be a way to allow the extraction after being warned.  Can anyone tell me if this is possible with the built-in .zip file handling in Vista, or am I going to have to stick with a 3rd party tool like WinRAR?
0
 

Expert Comment

by:jafawcett
ID: 18872278
If you can view the files in the zip folder, but just cant unzip the file try this.  Open the zip file and just do a sinple copy and paste of all the files in the the zip to another folder.   This should bypass the security protocals.
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 22

Expert Comment

by:Adam Leinss
ID: 18872525
Sorry, I re-read your question and you did save it outside of your e-mail program.  This article, although written for Windows XP SP2, closely describes your problem: http://support.microsoft.com/?kbid=883260.

Part of the article:
"...if you save a compressed file (.zip) that is attached to an e-mail message to your hard disk, the Web content zone information is also saved when you save the compressed file. When you try to extract the contents from the compressed file, or if you try to run a file, you cannot. The Web content zone information is saved together with the files only if the hard disk uses the NTFS file system."

So, the quick fix is to use a freeware ZIP solution, such as ZipCentral if you state that WinRAR works fine.  The long fix is to run "gpedit.msc" from the run command, go to User Configuration\Administrative Templates\Windows Components\Attachment Manager and set "Do not preserve zone information in file attachments"

Interestingly enough, Winzip "honors" the wishes of the Attachment Manager: http://www.winzip.com/es/soft/xattmgr.htm.  If you were to try Winzip instead of Winrar you would have gotten the same message.
0
 

Author Comment

by:dpalmer2343
ID: 18873848
jafawcett:  No go.  I still get the windows security warning message when copying and pasting any of the .asp files.
0
 

Author Comment

by:dpalmer2343
ID: 18873890
aleinss:  I'm running Home Premium so I don't have "gpedit.msc" as an option.  Any Idea as to which registry key(s) to modify to make the change to the attachment manager?
0
 
LVL 22

Accepted Solution

by:
Adam Leinss earned 2000 total points
ID: 18874067
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Attachments      

Make a key under this branch called:

SaveZoneInformation      

Set the DWORD value of this key to 2
0
 
LVL 22

Expert Comment

by:Adam Leinss
ID: 18874079
Also, since this saves the zone information in the NTFS stream of the file, you will likely have to delete and re-download the file before you see results.  I would also reboot after making the registry change.

And....since this is set in HKCU, the change will only take place for your user profile.
0
 

Author Comment

by:dpalmer2343
ID: 18874158
aleinss:  I don't have anything deeper than HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies

No "Attachments" branch in Home Premium I guess.  Oh well.  I was hoping this would be an easy setting to change, but if it is going to require a deep reg edit, I will just use a 3rd party archive tool.  The Points are yours.  Big thanks to Microsoft for a VERY user friendly new OS. :(

Thanks to everyone for their input.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The main issue when installing Vista and XP in dual boot is when you have to reinstall any of the two when something fails, let's say a hard disk failure, a lost partition, virus, etc. What commonly happens is that you lose all your hard work config…
There are many reasons a PC runs slower than when it was new, ranging from malicious software intended to mess things up to simple general Windows use.  Your PC performance may slowly degrade over time without you noticing but when you buy a PC from…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Suggested Courses
Course of the Month15 days, 3 hours left to enroll

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question