Jump to content

Search the Community

Showing results for tags 'RegDelete()'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Under a 64-bit OS, do I always have to call RegDelete() with both the 64-bit reg path and the regular reg path if I want to delete a reg key or value? I've been insulted here for writing more than a dozen or so words in these posts, but I don't know any other way to explain myself, so here I go again (please be kind): I've been struggling with the fact that the scripts I've recently written to delete some registry keys on a 64-bit Windows 7 Pro system don't end up actually deleting the keys in question. In these scripts, I've always made sure to suffix the reg root key with "64", as emphasized in the RegDelete() help file. For instance, to delete a key starting with "HKU", I've made sure the reg path starts with "HKU64". I scrupulously check the return codes after every function, and certainly did so with the RegDelete() calls, but while there was never any error, the keys in question were always still there when I examined them using my 64-bit registry editor (Registrar Registry Manager 64-bit), using the standard key paths! After repeatedly failing to actually delete the keys in question, I modified the scripts to call RegDelete() with both "HKU64..." -and- "HKU...", and lo and behold, it worked! The keys were actually gone. Questions: (1): Is this something everyone already knows? If so, where is it explained? (2): Is it always true under a 64-bit OS that one must always delete both sets of keys? Or is it necessary sometimes but not others? Please help me understand this. (Misc Info: I have UAC disabled, and I always run with Administrator privelege. All the reg keys and values I wish to delete are in the "HKU/HKU64" or "HKCU/HKCU64" trees.) Thanks!
×
×
  • Create New...