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: Access denied to autorun.inf

31 Mar 2011   #1
Trucidation

 
Access denied to autorun.inf

Hi folks.

I have a USB thumbdrive ("G:"), which picked up an "autorun.inf" when a colleague borrowed it this morning. I already have autoplay disabled (and all the options set to Take no action). So when I saw that file, out of curiosity I tried to open it using Notepad - only to receive an Access Denied error.

Access denied to autorun.inf-err_01.jpg

Naturally, being the suspicious type, this immediately changed my casual curiosity to concern. So I tried to simply delete it, which resulted in a "you need permission" error.

Access denied to autorun.inf-err_02.jpg

A quick look with google showed that I had to "take ownership" of said file, so I searched the tutorials here and found what I was looking for in this post: Take Ownership Shortcut

Then I right-clicked on the file and used the new Take Ownership context menu entry, and saw the command line window open briefly (too fast to make out whether it worked or not). However, when I tried to delete the file again I still received the same permission error.

A little poking here and there later it seems I should be seeing a "Security" tab in the file/folder options. Hmm, I don't seem to have it. Again, the tutorials section here came to the rescue: Security Tab - Add or Remove from Properties

Bad news: right clicking on the file showed no such tab, nor did right clicking on the thumbdrive ("G:") itself. (On a side note, I do see the Security tab when viewing other folders and files, so the regfix did work. I just don't get why it's not working for this bugger.)
Access denied to autorun.inf-err_03.jpg Access denied to autorun.inf-err_04.jpg

So... I guess the question is, what now? I'd settle for being able to nuke the file, but I don't get why I can't even look at it with Notepad. Suspicious and annoying. I'm already using an administrator-level account for this, and as mentioned above I've tried Taking Ownership of the file.

Help, ideas, comments, all greatly appreciated.




My System SpecsSystem Spec
.
31 Mar 2011   #2
Trucidation

 

UPDATE:

Okay, it turns out my colleague "helpfully" used a feature in Panda Antivirus to "vaccinate" or "innoculate" the thumbdrive. Presumably this works because malware would get stumped trying to put in their own autorun instructions like I was stumped trying to modify/delete the file.

He couldn't figure out how to un-vaccinate it, so he simply copied the files out, formatted the thumbdrive, then copied the files back in. Huh. The brute force way always works. Mystery solved, I suppose.

-
Just one thing though, I wonder if you guys are familiar with similar protection procedures? It seems likely if one vendor (Panda Antivirus) does this, there should be others out there doing the same thing as well.
My System SpecsSystem Spec
19 Nov 2012   #3
AN0NYM0USH4CK3R

windows 7 x64
 
 
Format Your USB

what i did was copy all files except autorun.inf to desktop folder and then i went to my computer right clicked on my usb and clicked format which then got rid of it hope it helps!
Good Luck
AN0NYM0USH4CK3R
My System SpecsSystem Spec
.

28 Feb 2013   #4
kseldon

Windows 7 Professional 32bit
 
 

Apparently Trend Micro antivirus blocks the access to, creation of and modification of autorun.inf files on USB drives as well. I've been trying to build myself a bootable USB for two days and getting the same "access to autorun.inf blocked" problem every time I started copying the files, even after completely formatting the thumb drive.... and this thread inspired me to try temporarily turning off my antivirus.

Et voila! Problem solved. Thanks!
My System SpecsSystem Spec
10 Jun 2014   #5
BMGRAHAM

Windows 7 Professional x64
 
 
SEP Does this same

I had the same issue because of Symantec Endpoint Prevention

  • Open a command prompt by clicking Start | Run | type "cmd.exe" within the Open field and press Ok/Enter.
  • Type the following commands on the command line:
    • cd "c:\Program Files (x86)\Symantec\Symantec Endpoint Protection"
    • smc.exe -stop
  • You now can access the file
My System SpecsSystem Spec
28 Apr 2015   #6
dpgood

Windows 7 Professional, 64-bit
 
 
How to copy an autorun.inf with Symantec

In Semantic Endpoint Protection --> Change Settings -->Client Management-->Application and Device Control,
Uncheck the "Enable Application and Device Control" box. Copy the file. Re-check the box and save.
My System SpecsSystem Spec
28 Apr 2015   #7
RolandJS

Windows 7 Professional 64-bit
 
 

Most of the time, one also can Safe Mode boot and delete that pesky file.
My System SpecsSystem Spec
12 Jun 2016   #8
playsaver

windows10 64bit home
 
 

Quote   Quote: Originally Posted by kseldon View Post
Apparently Trend Micro antivirus blocks the access to, creation of and modification of autorun.inf files on USB drives as well. I've been trying to build myself a bootable USB for two days and getting the same "access to autorun.inf blocked" problem every time I started copying the files, even after completely formatting the thumb drive.... and this thread inspired me to try temporarily turning off my antivirus.

Et voila! Problem solved. Thanks!
Thanks for mentioning that Trend Micro does this. The simplest solution to being able to delete an Autorun.inf file when running trend micro is to right click its icon in the start tray and disable the protection, then delete the file and enable the protection. Still if you hadn't mentioned trend does this I would not have been able to fix the problem quickly. Many thanks. It would seem i've been having this problem on all my systems running trend. Windows 7 through 10 have been doing this because of this.
My System SpecsSystem Spec
Reply

 Access denied to autorun.inf




Thread Tools




Similar help and support threads
Thread Forum
i can't access gpedit.msc ACCESS IS DENIED
i can't access gpedit.msc ACCESS IS DENIED pls help me
General Discussion
Import Pictures to NAS "Access Denied" Error Though User Has Access
Hi, All. I've got an interesting situation that I'm hoping can be resolved. I built a server using FreeNAS 8.2 to store family pictures, videos, music, and Windows backups. In my home we have Windows 7 Home Premium 64bit and Windows 7 Professional 64bit. The server is setup with 3 Windows (CIFS)...
Network & Sharing
Can access Vista shares from XP but not from Windows 7 (access denied)
Hi, everyone, I'm mostly a Linux guy these days, so I'm no longer clued up about even simple Windows issues. Bear with me. :D I have one PC running Vista (home basic), one running XP (professional) and one running Windows 7 (home basic). There is a printer connected to the Vista box, which is...
Network & Sharing
"Access denied:" How to overcome denied access to a folder
I'd like to put a .cmd file in my c:\Documents and Settings\All Users\Start Menu\Programs\Startup directory, but \Documents and Settings has a lock on it and tells me "Access denied" when I click on it. Is this a job for "Take Ownership" or is there another way? The instructions for "Take...
General Discussion
Access Denied...
Hey all, forgive me if this is dumb or has been answered already, but I'm having some serious issue with accessing a folder. I'll try to make this short. I wanted to create a new user with standard access and only give them access to my "C:" (programs) and not my "D:" (downloads) so after...
Network & Sharing
Access Denied
I'm not sure where this post should go. While trying to retrieve the URL: OpenOffice.org - The Free and Open Productivity Suite I got the following: Acess Denied Access control configuration prevents your request from being allowed at this time. Please contact your service provider if...
Browsers & Mail


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 14:30.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App