I need a log off script to delete the HKEY_CURRENT_USER\Software\Microsoft\EAPOL key. Can anyone help
I need a log off script to delete the HKEY_CURRENT_USER\Software\Microsoft\EAPOL key. Can anyone help
Use AutoIT's regdelete function:
Code:RegDelete("HKEY_LOCAL_MACHINE\SOFTWARE", "TestKey")
To delete a registry key and its subvalues:
REG DELETE HKLM\Software\TestKey /f
(Available in Microsoft Server Resource Kit - free download - I used the 2003 ResKit - and just put the code in notepad)
Also, there are a lot of other registry functions with this command like: add, copy, save, load, restore, compare... (REG ADD, REG LOAD, etc). And within each function --> there are more switches. Very nice.
reg.exe? That's in XP by default.Available in Microsoft Server Resource Kit
Whatever, I use that. Ultimately, if it's XP native and does the trick then that's what you should use... less of anything added to a system is definitely more.
There are currently 1 users browsing this thread. (0 members and 1 guests)