VBScript to find a user profile within the registry and delete some keys
Posted on 2014-07-30
I am trying to figure out how to create a VB script that does the following..
1. Find the USERNAME of the current logged in user.
2. Takes that value and searches within HKEY_USERS for the profile that contains that username under Volatile Environment under the USERNAME key.
3. When it successfully finds a match, it then searches within that registry profile and deletes the following:
Could anyone take a crack at this? This is much too advanced for me to figure out...