joelson Posted December 28, 2011 Share Posted December 28, 2011 (edited) [HKEY_CLASSES_ROOTCLSID{031E4825-7B94-4dc3-B131-E946B44C8DD5}ShellFolder] "Attributes"=dword:B090010D obs: i have total permission in this key i try RegWrite, but unsuccessfully thanks any help! Edited December 29, 2011 by joelson Link to comment Share on other sites More sharing options...
Zedna Posted December 29, 2011 Share Posted December 29, 2011 i try RegWrite, but unsuccessfullyPost your code ... Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
joelson Posted December 29, 2011 Author Share Posted December 29, 2011 RegWrite("HKEY_CLASSES_ROOT\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder","Attributes","REG_DWORD",0xB090010D) Link to comment Share on other sites More sharing options...
Zedna Posted December 29, 2011 Share Posted December 29, 2011 (edited) test @error code after RegWrite edit1: do you have 64bit OS? edit2: try to use 2962227469 instead of 0xB090010D edit3: try if RegRead of the same key works Edited December 29, 2011 by Zedna Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
joelson Posted December 29, 2011 Author Share Posted December 29, 2011 (edited) RegWrite("HKEY_CLASSES_ROOTCLSID{031E4825-7B94-4dc3-B131-E946B44C8DD5}ShellFolder","Attributes","REG_DWORD",0xB090010D) if @error Then MsgBox(16,"",@error) no errors windows sevem ultimate 32 bits Edited December 29, 2011 by joelson Link to comment Share on other sites More sharing options...
MilesAhead Posted December 29, 2011 Share Posted December 29, 2011 How did you determine you didn't succeed? Try logging off, then log back in. Read the registry value then. My Freeware Page Link to comment Share on other sites More sharing options...
joelson Posted December 29, 2011 Author Share Posted December 29, 2011 (edited) code is working now, excuse-me inconvenience, was something in my pc>complete coderemove iten Windows 7 Explorer's Left-Side Navigation Panemy setup call thisIf $CmdLine[0] = 0 Then Exit(1) if $CmdLine[1] = "instalar" Then instalar() ElseIf $CmdLine[1] = "desinstalar" Then desinstalar() EndIf Func instalar() RegWrite("HKEY_CLASSES_ROOT\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder","Attributes","REG_DWORD",0xB090010D) RegWrite("HKEY_CLASSES_ROOT\CLSID\{B4FB3F98-C1EA-428d-A78A-D1F5659CBA93}\ShellFolder","Attributes","REG_DWORD",0xB094010C) RegWrite('HKEY_CLASSES_ROOT\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\ShellFolder',"Attributes","REG_DWORD",0xb0940064) RegWrite('HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder',"Attributes","REG_DWORD",0xB090010D) RegWrite('HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B4FB3F98-C1EA-428d-A78A-D1F5659CBA93}\ShellFolder',"Attributes","REG_DWORD",0xB094010C) RegWrite('HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\ShellFolder',"Attributes","REG_DWORD",0xb0940064) EndFunc Func desinstalar() RegWrite('HKEY_CLASSES_ROOT\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder',"Attributes","REG_DWORD",0xb080010d);BIBLIOTECA RegWrite('HKEY_CLASSES_ROOT\CLSID\{B4FB3F98-C1EA-428d-A78A-D1F5659CBA93}\ShellFolder',"Attributes","REG_DWORD",0xb084010c);USER GROUP RegWrite('HKEY_CLASSES_ROOT\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\ShellFolder',"Attributes","REG_DWORD",0xb0040064);REDE RegWrite('HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{031E4825-7B94-4dc3-B131-E946B44C8DD5}\ShellFolder',"Attributes","REG_DWORD",0xb080010d);BIBLIOTECA RegWrite('HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{B4FB3F98-C1EA-428d-A78A-D1F5659CBA93}\ShellFolder',"Attributes","REG_DWORD",0xb084010c);USER GROUP RegWrite('HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\{F02C1A0D-BE21-4350-88B0-7367FC96EF3C}\ShellFolder',"Attributes","REG_DWORD",0xb0040064);REDE EndFuncexcuse-me,very thanks all Edited December 29, 2011 by joelson Link to comment Share on other sites More sharing options...
asjogren Posted February 7, 2012 Share Posted February 7, 2012 How do I write 2 byte binary value to Windows Registry? Everything I have tried gets 4 byte values. AutoIT version v3.3.8.1, Windows 7 64 bit. What I want to get is the decimal value 10812 (0x2a3c) in the Registry so that REGEDIT shows the value as: ID REG_BINARY 3c 2a The closest I get is ID REG_BINARY 3c 2a 00 00 Here is a code snippet: RegWrite('HKLMSoftwareGarminMapSourceFamilies' & $MapsetName, "ID", "REG_BINARY", 0x2a3c) 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