Jump to content
Sign in to follow this  
nobles

How to Set Default Value with RegWrite

Recommended Posts

nobles

I cannot seem to get the following regwrite command to work. I want to be able to change the name of the Internet Explorer icon on the desktop which is a default registry value and I cannot seem to get it to work.

Is "" the correct item to specify the default registry value in AutoIt?

REGWRITE ("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}", "", "REG_SZ", "IntraNet")

Let me know if you have any ideas on how this could be done.

Share this post


Link to post
Share on other sites
MHz

Yes, the default value is "". I'm not sure of the change needed to set another name for the icon, but one does exist. Searching the net may bring results.

Share this post


Link to post
Share on other sites
big_daddy

This works for me:

RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\" & _
        "Explorer\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}", "", "REG_SZ", "IntraNet")

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.