I am trying to delete a key under HKCU\SOFTWARE\Microsoft\Internet Explorer\Main with a sample value of “keyme” but I cannot for the life of me get the relevance right. Any ideas?
regdelete “[{SOFTWARE\Microsoft\Internet Explorer\Main” of current user keys (logged on users) of registry}]" “keyme”
Another thing. All those cool commands you want to use from 9.X and later. Those won’t work. We’re on 8.2 clients. Yes, we’re planning a migration to a new client soon, we just upgraded our architecture.
The fix in later clients isn’t needed. You can form a good key with other inspectors
("HKEY_USERS\" & component string of it) of sids of logged on users
You can use just “current user” instead of “logged on users” to get just the current user. This will give you a key into the HKU hive which HKCU is just a shortcut.