Jump to content

maxXPsoft

Developer
  • Posts

    3,080
  • Joined

  • Last visited

  • Days Won

    1
  • Donations

    0.00 USD 
  • Country

    United States

Posts posted by maxXPsoft

  1. Actually I think it depends on the key, for instance for Services

    HKEY_LOCAL_MACHINE, "SYSTEM\CurrentControlSet\Services\upnphost", "Start", 4, REG_DWORD

    where;

    1 Boot

    2 Automatic

    3 Manual

    4 Disabled

    Then

    'Enable cmd prompt quick edit

    Reg_Write HKEY_CURRENT_USER, "Console", "QuickEdit", 1, REG_DWORD

    Else

    Reg_Write HKEY_CURRENT_USER, "Console", "QuickEdit", 0, REG_DWORD

    basically 1 says Enable and 0 is not

    Also

    Reg_Write HKEY_LOCAL_MACHINE, "SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon", "AllowMultipleTSSessions", 1, REG_DWORD

    But its right back where it was, Depends on key because a 1 can be Disable whereas 0 is allow or even no key means allow.

  2. Just curious if this is where it writes the information?

    Or if you're into reg editing this will add Trillian or whatever up there, SO modify to what you want. Installit = path to the Trillian EXE file: with a backslash \ and whatever follows

    I believe this comes from Kellys site

    HKEY_LOCAL_MACHINE, "SOFTWARE\Microsoft\Internet Explorer\Extensions\{2ef50289-0ea7-482e-a30b-4947a81e44cf}", "ButtonText", "Trillian", REG_SZ

    HKEY_LOCAL_MACHINE, "SOFTWARE\Microsoft\Internet Explorer\Extensions\{2ef50289-0ea7-482e-a30b-4947a81e44cf}", "clsid", "{1FBA04EE-3024-11d2-8F1F-0000F87ABD16}", REG_SZ

    HKEY_LOCAL_MACHINE, "SOFTWARE\Microsoft\Internet Explorer\Extensions\{2ef50289-0ea7-482e-a30b-4947a81e44cf}", "Default Visible", "YES", REG_SZ

    HKEY_LOCAL_MACHINE, "SOFTWARE\Microsoft\Internet Explorer\Extensions\{2ef50289-0ea7-482e-a30b-4947a81e44cf}", "Exec", Installit & "Trillian", REG_SZ

    HKEY_LOCAL_MACHINE, "SOFTWARE\Microsoft\Internet Explorer\Extensions\{2ef50289-0ea7-482e-a30b-4947a81e44cf}", "HotIcon", Installit & "Trillian.exe,117", REG_SZ

    HKEY_LOCAL_MACHINE, "SOFTWARE\Microsoft\Internet Explorer\Extensions\{2ef50289-0ea7-482e-a30b-4947a81e44cf}", "Icon", Installit & "Trillian.exe,191", REG_SZ

    HKEY_LOCAL_MACHINE, "SOFTWARE\Microsoft\Internet Explorer\Extensions\{2ef50289-0ea7-482e-a30b-4947a81e44cf}", "MenuText", "Trillian", REG_SZ

    sorry but thats from my VB app but it contains what you need.

    For those reg minded let me know if what keys it writes as I'd rather do it that way since I have HOME and thus not gpedit.msc

×
×
  • Create New...