Scripting Question

Need a VB script to read the registry hive and the change its value - Urgent

03/29/2012 3620 views
I have scenario where i need to read the profile names under this hive - HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\ where there might be no of profiles with different name . For each profile name found i should change the one of the value (0003041b) of the subkey ( 0a0d020000000000c000000000000046) under it to FF FF FF FF

For example

if there are two profiles one is administrator and the second and the third has a unknown profile names

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Administrator\0a0d020000000000c000000000000046\0003041b - value to ff ff ff ff

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\unknownprofile name\0a0d020000000000c000000000000046\0003041b - value to ff ff ff ff

0 Comments   [ + ] Show comments


Community Chosen Answer

I would check this out. This way it will get every user that logs in.

Answered 03/29/2012 by: dugullett
Red Belt

All Answers

I think this is what you are looking for :)
Answered 03/30/2012 by: akki
4th Degree Black Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ