ClintThomson Posted October 24, 2006 Share Posted October 24, 2006 I have spent some time tracking down the nessisary keys to add or change the manufacturers link in windows XP but I have not worked with the regread and regwrite functions of AutoIt and I am not sure how to format the keys I have to get this script to work correctly. I want my script check the registry for a certain key entry and if it does not exist or it is not exacly like my key, then make multiple entries into the registry. The key I want to check is: [HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}]@="Celeratec eSupport" "InfoTip"="Celeratec eSupport Remote Assistance Software"If it does not exist I want to add the following registry keys: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowOEMLink]"Type"="checkbox" "Text"="@shell32.dll,-30516" "HKeyRoot"=dword:80000001 "RegPath"="Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced" "ValueName"="Start_ShowOEMLink" "CheckedValue"=dword:00000001 "UncheckedValue"=dword:00000000 "DefaultValue"=dword:00000001 "NoOEMLinkInstalled"=dword:00000000 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowOEMLink\Policy] [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowOEMLink\Policy\NoOEMLinkInstalled] "RegKey"="Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\StartMenu\\StartPanel\\ShowOEMLink" [HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}] @="Celeratec eSupport" "InfoTip"="Celeratec eSupport Remote Assistance Software" [HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\DefaultIcon] @="%SystemRoot%\\esupport.ico" [HKEY_CLASSES_ROOT\CLSID\{2559a1f6-21d7-11d4-bdaf-00c04f60b9f0}\Instance\InitPropertyBag] "CLSID"="{13709620-C279-11CE-A49E-444553540000}" "method"="ShellExecute" "Command"="Celeratec eSupport" "Param1"="eSloader.exe" Any help is greatly appreciated. Link to comment Share on other sites More sharing options...
ClintThomson Posted October 24, 2006 Author Share Posted October 24, 2006 That first part is great, and I'm not asking you to write the whole code, but is the following entered as one regwrite or mutiple? [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartMenu\StartPanel\ShowOEMLink]"Type"="checkbox" "Text"="@shell32.dll,-30516" "HKeyRoot"=dword:80000001 "RegPath"="Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Advanced" "ValueName"="Start_ShowOEMLink" "CheckedValue"=dword:00000001 "UncheckedValue"=dword:00000000 "DefaultValue"=dword:00000001 "NoOEMLinkInstalled"=dword:00000000 I'm clueless about registry and regwrite. Sorry Link to comment Share on other sites More sharing options...
ClintThomson Posted October 24, 2006 Author Share Posted October 24, 2006 Also do I have to create the key first? or whill is add a new key if it does not exist? Link to comment Share on other sites More sharing options...
ClintThomson Posted October 24, 2006 Author Share Posted October 24, 2006 Thanks for the help this far. I really appreciate it Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now