I have nothing against AutoIt per see but I would not use it in
this case for two reasons:
a) Editing the registry is a delicate matter. Doing it blindly with
pre-recorded keystrokes makes it a dangerous process.
b) AutoIt (and other macro programs) can be tripped up by
unexpected events, e.g. a virus scanner or an Automatic
Update dialog popping up all of a sudden. It happens even
to humans when they hack away at the keyboard without
watching the screen.
"Curt Christianson" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi Pegasus,
>
> OT, but why do you consider option (a) too unreliable? AutoIt has been
> good to me, and I would think that would work OK.
>
> --
> Curt
>
> http://dundats.mvps.org/
> http://dundats.proboards27.com/index.cgi
> http://www.aumha.org/
>
>
> "Pegasus (MVP)" <(E-Mail Removed)> wrote in message
> news:%23%(E-Mail Removed)...
>>
>> <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>>
>>> can I automate this procedure with a .REG file?
>>>
>>> go to
>>>
>>> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB
>>>
>>> Right click on that and click on "Permissions". In permissions click
>>> on the check mark called "Allow" to the right of "Full Control".
>>>
>>> delete this key
>>>
>>> HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\USB\Vid_1307&Pid_0169
>>>
>>> I have a couple more to delete but if u show me how to set permissions
>>> and delete this I can do the rest of them
>>>
>>> I did this twice and the permissions didn't remain set from the first
>>> time.
>>>
>>>
>>> thx
>>>
>>> bill
>>
>> You can do this in two ways:
>> a) With a macro program, e.g. with AutoIt, or
>> b) Subinacl.exe
>>
>> I do not recommend method a) as I consider it to be too
>> unreliable.
>>
>> Method b) would work but requires a fair effort to get
>> it going. Unless you have a large number of machines to
>> be treated, the manual process would be faster.
>>
>> AFAIK, reg.exe and regedit.exe cannot change permissions.
>>
>
>