Windows Legacy OS forum

General discussion

Disabling autorun.inf momentarily

I don't mean disabling it by clicking shift, but doing it properly. The problem is this:

Method #1:

I turn off Autorun via:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=dword:00000095

Once I see the drive is fine, I turn on Autorun once more via:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDriveTypeAutoRun"=dword:00000091

But here's the catch - while the following procedure works live in some PCs, it requires a restart in others!

...but not if it's done via XP's TweakUI! So please please please tell me what makes TweakUI so smart that it manages to bypass the restart requirement??? What does it do that I don't? I've ran it through InCtrl5 and it just does the aforementioned registry change. So how come it bypasses the restart requirement while I can't?

Unless you can figure it out (and please do!), I have to resort to:

Method #2:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
@=""

BTW, I know some people want you to put some kind of trickery inside that "", but "" means the drive is still explored automatically.

The catch is that I can't reverse this situation because it later simply ignores this:

Windows Registry Editor Version 5.00

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]

This means I have to run this first:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]
@=-

Then - only after I run at least one autorun.inf - I can finally run

Windows Registry Editor Version 5.00

[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IniFileMapping\Autorun.inf]

But it's probably ignored anyway and keeps loading that "@=-" in secret.

Why does it force me not to delete the unneeded key?

Discussion is locked
You are posting a reply to: Disabling autorun.inf momentarily
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Disabling autorun.inf momentarily
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Maybe A Babe In Woods In ....

In reply to: Disabling autorun.inf momentarily

in comparison to your knowledge BUT have you tried the simple method of My Computer>right clicking *drive letter>Properties>autorun tab> disable? Possible to create a desktop shortcut to Tab?? Happy

Collapse -
No

In reply to: Maybe A Babe In Woods In ....

Even if there was a way to create a shortcut that would enable (and another to disable) this internal tab, you still have no way to predict which drive would be used if you want the solution to be global.

Is there no one who can help with the registry solution/s?

Popular Forums

icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

SMART HOME

This one tip will help you sleep better tonight

A few seconds are all you need to get a better night's rest.