PC Review


Reply
Thread Tools Rate Thread

How to automate this reg delete process

 
 
bill@love.ranch
Guest
Posts: n/a
 
      4th Jan 2008

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
 
Reply With Quote
 
 
 
 
PD
Guest
Posts: n/a
 
      4th Jan 2008
On Jan 4, 10:39*am, b...@love.ranch wrote:

> can I automate this procedure with a .REG file?


http://support.microsoft.com/kb/310516
 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      4th Jan 2008

<(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.


 
Reply With Quote
 
bill@love.ranch
Guest
Posts: n/a
 
      4th Jan 2008
Thx - I am aware of this but was looking for this.

I guess the real question is

will this work without setting the permissions as I must do if I edit
it manually?


Right click on that and click on "Permissions". In permissions click
on the check mark called "Allow" to the right of "Full Control".




On Fri, 4 Jan 2008 09:26:02 -0800 (PST), PD <(E-Mail Removed)>
wrote:

>On Jan 4, 10:39*am, b...@love.ranch wrote:
>
>> can I automate this procedure with a .REG file?

>
>http://support.microsoft.com/kb/310516

 
Reply With Quote
 
Curt Christianson
Guest
Posts: n/a
 
      5th Jan 2008
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.
>



 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      5th Jan 2008
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.
>>

>
>



 
Reply With Quote
 
Curt Christianson
Guest
Posts: n/a
 
      5th Jan 2008
Pegasus,

Thank you. I appreciate your input.

--
Curt

http://dundats.mvps.org/
http://dundats.proboards27.com/index.cgi
http://www.aumha.org/


"Pegasus (MVP)" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>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.
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
way to automate this process rodchar Microsoft Excel Misc 4 26th Jun 2009 06:52 PM
How do you automate a process? Cirene Microsoft ASP .NET 6 5th Nov 2007 01:16 AM
Sub to automate process Max Microsoft Excel Programming 4 12th Oct 2007 03:03 PM
need to automate process =?Utf-8?B?c2FuZA==?= Microsoft Excel Misc 3 3rd Aug 2007 06:20 PM
Someway to automate the process? ::YoungAdmin:: Microsoft Windows 2000 Group Policy 4 26th Jun 2004 02:36 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:21 AM.