Jump to content

Recommended Posts

Posted

Good day. This is my first post in this forum.

Recently I am using AutoIt v3 to create a script to work with Vista and I found out that I have problem using RegDelete to delete some node under HKLM\SYSTEM\CurrentControlSet\Enum\USB and HKLM\SYSTEM\CurrentControlSet\Enum\USBStor.

I also found out that this doesn't work with Windows 2000 as well but it work very well in Windows XP.

Is anybody here have the same problem as mine?

Below is my script:

If Not RegDelete("HKLM\SYSTEM\CurrentControlSet\Enum\USBSTOR\CdRom&Ven_XXXX&Prod_XXXX&Rev_1.00")

MsgBox(4096, 'Error', @error);

EndIf

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...