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: How do I delete/edit 'autorun.inf'?

18 Mar 2011   #1
t4akawolf

Windows 7 Ultimate x32 (UPDATE: Now x64!)
 
 
How do I delete/edit 'autorun.inf'?

Hello my fellow Earthlings!

Whazzup mah peeps!

Wotcher guys!

Ahem, Hello.

I have a 150GB FAT32 External Hard Disk which shows up as 'Local Disk (J:)' in My Computer. I right-clicked it, and renamed it to 'T4 (J:)' but it still shows up as 'Local Disk (J:)'! I tried various names but still it shows up as 'Local Disk (J:)' in My Computer.

So I went to 'Disk Management' to try and change the label from there and, what do you know, Disk Partition (J:) shows 'T4 (J:)' !!!

It turns out that this could be an 'autorun.inf' problem. I think that the 'autorun.inf' of my ext-HDD has a parameter like 'label=Local Disk' or something similar.

But now, the problem is that I can't access 'autorun.inf' at all. No rename, no delete, no edit. I tried changing it's attributes from an elevated command prompt but still no luck. No matter what I try, in the end I get an 'Access is Denied' error.

Soooooo...any ideas? All I want is for my ext-HDD to be labeled as 'T4 (J:)' in My Computer. But it would also be VERY satisfying if I could delete the nasty 'autorun' bugger...


My System SpecsSystem Spec
.
18 Mar 2011   #2
Irene

Windows 7 Home Premium 64bit
 
 

Out of my knowledge range, but I though this would interest you :
Autorun.inf - Wikipedia, the free encyclopedia

Having scanned over the page, I am not at all sure that you should delete the file. Someone more knowledgeable than I would have a better view on this.
My System SpecsSystem Spec
18 Mar 2011   #3
severedsolo

Windows 7 Ultimate X64 SP1
 
 

Hi t4akawolf, It may be possible to take ownership of the autorun file and give yourself permission to edit it: try this; Take Ownership Shortcut to take ownership, then change the permissions to give yourself full access.

I had a similar issue with my Broadband dongle, it had the software bundled as a "CD" on it, and it was trying to autorun every time I switched on, I ended up just deleting the drive letter. Obviously not an option in your case.

Removing Autorun.inf from a Ext HDD shouldn't cause any major issues, you just won't get the "popup" window when you plug it in asking what you want to do in all probablilty.

Also, a stupid question: you DID refresh the Explorer Window after you renamed it right? Otherwise the changes might not be showing, (Explorer is slow like that sometimes)
My System SpecsSystem Spec
.

18 Mar 2011   #4
Bill2

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

Uggh...isnt this a continuation of your earlier thread? Anyways, no need to delete the autorun, if you can take ownership of the file as pointed out by severed, you can just change the "label" part- so it should read label=External or whatever you want to name it.

The autorun defines the actions on insert, set custom icons for the drive, sets context menus so it aint a bad thing.
My System SpecsSystem Spec
18 Mar 2011   #5
t4akawolf

Windows 7 Ultimate x32 (UPDATE: Now x64!)
 
 

Quote   Quote: Originally Posted by severedsolo View Post
Hi t4akawolf, It may be possible to take ownership of the autorun file and give yourself permission to edit it: try this; Take Ownership Shortcut to take ownership, then change the permissions to give yourself full access.

I had a similar issue with my Broadband dongle, it had the software bundled as a "CD" on it, and it was trying to autorun every time I switched on, I ended up just deleting the drive letter. Obviously not an option in your case.

Removing Autorun.inf from a Ext HDD shouldn't cause any major issues, you just won't get the "popup" window when you plug it in asking what you want to do in all probablilty.

Also, a stupid question: you DID refresh the Explorer Window after you renamed it right? Otherwise the changes might not be showing, (Explorer is slow like that sometimes)
Arrrggghhh!!! I was so sure your suggestion would work! But, alas, it did not...

As to your 'stupid question' (I don't think it is, btw): Yes. Many times. Did NOT work.
My System SpecsSystem Spec
18 Mar 2011   #6
Bill2

Windows 7 x64 pro/ Windows 7 x86 Pro/ XP SP3 x86
 
 

If you cant take ownership of that drive, try backing up all your data, then format the drive and change the label in autorun.
My System SpecsSystem Spec
18 Mar 2011   #7
t4akawolf

Windows 7 Ultimate x32 (UPDATE: Now x64!)
 
 

Quote   Quote: Originally Posted by Bill2 View Post
If you cant take ownership of that drive, try backing up all your data, then format the drive and change the label in autorun.
That was my 'Plan B'...*sigh*...Ok. Fine. I'mma go do that now. Thanks for your suggestion, anyway.
My System SpecsSystem Spec
22 Jan 2013   #8
HerbertB

Win7 Ult x64
 
 
Deleted!

In my case, exact symptoms. Turns out the security software was *blocking* it (did not delete, clean, or quarantine) because it *referenced* a file (sperr32.exe x64) "not normally found in that location". I turned off the A/V software, and then successfully deleted the file. HTH,

HB
My System SpecsSystem Spec
10 Jun 2014   #9
BMGRAHAM

Windows 7 Professional x64
 
 

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
Reply

 How do I delete/edit 'autorun.inf'?




Thread Tools




Similar help and support threads
Thread Forum
Can't delete autorun.inf
I can't delete autorun.inf says I need permission from TrustedInstaller to make changes to this file...
General Discussion
Unable to delete autorun.inf and .vbs malware from my usb
Hi I am trying to delete the autorun.inf and .vbs file from my usb. but i am unable to delete it. whenever i transfer any file to usb it is converted into shortcut file. whenever i delete .lnk file they again generate. I have refer this forum post in which it is suggested to use rkill but it is...
System Security
How to Add/Edit/Delete Contacts from iPad
This guide is for both the original iPad and iPad 2 running iOS 4.3. ADDING New Contacts Step 1.Tap on the "Contacts" icon which is present on the Home screen of the iPad. Step 2.
Chillout Room
Can I delete or edit the file clr.lst
Not sure if this question has been asked before or not. My computer was/is infected with some rubbish search engine - Claro. I have followed all of the possible solutions I have been able to find on the internet but to no avail.:cry: Have deleted files, registry keys etc., but still it pops...
Performance & Maintenance
Can't delete / edit my DNS adress
Hiya, got a major problem: I manually wrote 2 DNS adresses, some time ago. Atheros AR9285 Wireless Network Adapter TCP/IPV4 212.242.40.3 212.242.40.51 -for getting access to a wireless router at the office.
Network & Sharing
Cannot delete edit modify rename or alter files in any way!?!?!?
i am enraged, i have been having this problem for a bit, i disabled uac, i gave my user account full access permissions on all files and it still says i dont have permission, my hard drive is almost full now and i cannot delete stuff so i just wanna lay into microsoft with the force of 1000 suns ...
General Discussion


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