Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Can you script changing Ownership of a Registry Key in Windows 7?

$
0
0

I'm planning the upgrade for my company to go from XP to Windows 7 Pro.  I have a regedit in my current login script that modifies HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D} and sets the LocalizedString to My Computer %ComputerName%  This way when I need to remote into a computer, my users just have to look at their My Computer Icon to get me their computers host name.  Well on Windows 7 I can't just modify that key. I have to change the Owner of the key before making any changes.  I read this article: http://social.technet.microsoft.com/Forums/en/winserverpowershell/thread/e718a560-2908-4b91-ad42-d392e7f8f1ad but as I'm very unfamiliar with scripts and scripting, I'm not really sure how to implement the solution.  

What I need to do is take Ownership of HKEY_CLASSES_ROOT\CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}

Then grant the Administrators and Users groups Full Control

Is the solution provided in that link a batch file or a vbs script?  It mentioned something about PowerShell which I know nothing about.  How do I deploy that solution?  


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>