I am trying to rename a registry keyu in the hkcu hive. Offline files creates a reg key for its cached drives (ex.,
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\NetCache\shares\//nyhomes01/us00002$
(Note: the //nyhomes01/us00002$ is what i want to change, or rename, to //nyhomes01/nm00002$)
So, i want to add this small vb script to run at the users logon (500+ users with different usernames). So i will beed to pull the username environmental variable to catch their username and then drop it into the script, hence the renaming of the registry key.
i have looked all over this site for soehitng similar and i havent found anything.
Any help would be greatly appreciated on this one.
thanks,
Thanks,
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\NetCache\shares\//nyhomes01/us00002$
(Note: the //nyhomes01/us00002$ is what i want to change, or rename, to //nyhomes01/nm00002$)
So, i want to add this small vb script to run at the users logon (500+ users with different usernames). So i will beed to pull the username environmental variable to catch their username and then drop it into the script, hence the renaming of the registry key.
i have looked all over this site for soehitng similar and i havent found anything.
Any help would be greatly appreciated on this one.
thanks,
Thanks,