Software to enable/disable autorun
Software to enable/disable autorun
Someone know a simple software to enable/disable autorun on various windows systems?
Otherwise we could consider to create it..because searching online I can't find a simple way to do it without manually work on registry..and could be useful for many users.
Otherwise we could consider to create it..because searching online I can't find a simple way to do it without manually work on registry..and could be useful for many users.
- Cornflower
- Posts: 244
- Joined: Fri Aug 31, 2007 7:58 am
- Location: Canada's capital
Re: Software to enable/disable autorun
Many ways. Here is what I think is one of the easiest, and is found here on TPFC
TweakUI (http://www.portablefreeware.com/index.php?id=497)
Click on My Computer, AutoPlay (synonym ofr Autorun), and undo the tick for any drive letters you do not want to allow autoruns.
I have used it for my XP and Vista Systems. I cannot vouch for Windows 7.
Further thought. I just did a RegFromApp, and the settings go to HKey_Current_User--at first glance there are no non-user-specific usernames, and so are login/specific. As I don't jump logins that often, it is not a big issue, but the real answer is that after it is done for one username, another utility or login script may be desired to be employed to transfer it to the other usernames and using a policy to add it to whomever logs in.
TweakUI (http://www.portablefreeware.com/index.php?id=497)
Click on My Computer, AutoPlay (synonym ofr Autorun), and undo the tick for any drive letters you do not want to allow autoruns.
I have used it for my XP and Vista Systems. I cannot vouch for Windows 7.
Further thought. I just did a RegFromApp, and the settings go to HKey_Current_User--at first glance there are no non-user-specific usernames, and so are login/specific. As I don't jump logins that often, it is not a big issue, but the real answer is that after it is done for one username, another utility or login script may be desired to be employed to transfer it to the other usernames and using a policy to add it to whomever logs in.
Re: Software to enable/disable autorun
I'll try it.. anyway I'm considering the idea of creating a tool that only do it (even if actually I don't know how to do it).. with a very simple interface.
Re: Software to enable/disable autorun
Here's a start
http://www.computerperformance.co.uk/vi ... utorun.htm and a simple example http://www.autoitscript.com/forum/index ... opic=92360, though it's not my script! In Windows 7 it's alot easier to disable AutoPlay! But an app would help!
http://www.computerperformance.co.uk/vi ... utorun.htm and a simple example http://www.autoitscript.com/forum/index ... opic=92360, though it's not my script! In Windows 7 it's alot easier to disable AutoPlay! But an app would help!
- Cornflower
- Posts: 244
- Joined: Fri Aug 31, 2007 7:58 am
- Location: Canada's capital
Re: Software to enable/disable autorun
Not to get too technical here, but I have it figured out, as algorithm, and someone can create the small single-purpose app, if one does not yet exist.
It is binary math using teh AND logical function that determines the drives where AutoRun is allowed.
Using RegFromApp and TweakUI, the registry key (HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,
item NoDriveAutoRun is changed. It is a 4-byte Binary (hex) setting.
To disable all Drives, change the setting to "FF FF FF 03" Nircmd can do this via
nircmd regsetval binary "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" "NoDriveAutoRun" "ff ff ff 03"
( I believe you use nircmd from your earlier posts on other topics)
For any other combination, you have to do some work and a bit of binary logic. Each drive letter alters one of the 3 FF's in the binary above.
e.g. G: is BF FF FF 03 H: 7F FF FF 03, and I: is FF FE FF 03
G in binary is 10111111 11111111 ...
H is 01111111 11111111 ...
so G and H together become G AND H or 00111111 ... or 3F FF FF 03
All the rest can work. So if I were to (I will not have time this week, at least until Sunday) to write a mini program to do this, I would find out the binary for each drive letter, get the allow/disallow combo from whatever source or from a UI, do the AND of the Allowed drive letters, and then plunk it into the above registry key.
I hope this helps. I am not much of a programmer (no patience with programming languages, but am an old time tweaker.
It is binary math using teh AND logical function that determines the drives where AutoRun is allowed.
Using RegFromApp and TweakUI, the registry key (HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer,
item NoDriveAutoRun is changed. It is a 4-byte Binary (hex) setting.
To disable all Drives, change the setting to "FF FF FF 03" Nircmd can do this via
nircmd regsetval binary "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" "NoDriveAutoRun" "ff ff ff 03"
( I believe you use nircmd from your earlier posts on other topics)
For any other combination, you have to do some work and a bit of binary logic. Each drive letter alters one of the 3 FF's in the binary above.
e.g. G: is BF FF FF 03 H: 7F FF FF 03, and I: is FF FE FF 03
G in binary is 10111111 11111111 ...
H is 01111111 11111111 ...
so G and H together become G AND H or 00111111 ... or 3F FF FF 03
All the rest can work. So if I were to (I will not have time this week, at least until Sunday) to write a mini program to do this, I would find out the binary for each drive letter, get the allow/disallow combo from whatever source or from a UI, do the AND of the Allowed drive letters, and then plunk it into the above registry key.
I hope this helps. I am not much of a programmer (no patience with programming languages, but am an old time tweaker.
Re: Software to enable/disable autorun
I understand that you want to keep it simple, but if you do it, it would be nice to incorporate a small tool to allow the easy-creation of [autorun.inf] files for customized mediums.Lupo73 wrote:I'll try it.. anyway I'm considering the idea of creating a tool that only do it (even if actually I don't know how to do it).. with a very simple interface.
Re: Software to enable/disable autorun
@Cornflower, excellent with your RegKeys and an AutoIt GUI with checkboxes it's done!
Re: Software to enable/disable autorun
We could study in various systems what parameters are changed (because I read that it is different for each win version) and than we could try to do something in autoit..
So are opened proposal to how design it, what features implement and go on..
So are opened proposal to how design it, what features implement and go on..
Re: Software to enable/disable autorun
I found this: http://www.uwe-sieber.de/drivetools_e.h ... unSettings, I will add if it's popular here!
Re: Software to enable/disable autorun
It seems to be a very good program. I have contacted the author to have some more info and to know if he would like to eventually receive advices to improve it. Thanks for the link
Re: Software to enable/disable autorun
Simply because this thread came up again, I thought I'd point out two other programs not mentioned that will disable autorun.
- * XPY (http://www.portablefreeware.com/index.php?id=299)
* xp-Antispy (http://www.portablefreeware.com/index.php?id=659)
Re: Software to enable/disable autorun
But I thought with those programs you suggest its literally just on off switch for AutoRun, you can't be specific with Drive Letters!
Re: Software to enable/disable autorun
Added To TPFC: http://www.portablefreeware.com/index.php?id=1686
Vote Now!
Vote Now!
Re: Software to enable/disable autorun
> But I thought with those programs you suggest its literally just on off switch for AutoRun, you can't be specific with Drive Letters!
You are right, guinness. I didn't see that. Both programs enable or disable it for the entire system.
You are right, guinness. I didn't see that. Both programs enable or disable it for the entire system.