Jump to content

Search the Community

Showing results for tags 'exchange 2010'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. So I adapted and adjusted an AutoIT script found here http://social.technet.microsoft.com/Forums/en-US/exchangesvrclients/thread/c8b06311-3036-4d51-a028-3ee58ac536fd The found script was a little slower than expected and it didn't really do anything but tell me what the values were. So I made it into a UDF (just to keep space clean in my scripts), allowed it find what outlook version existed and configured the setting appropriately. This could be adjusted to set Cached Mode to enabled if you so willed it. ; Disable cache mode for Office 2003, 2007, 2010 _ExchangeCachedMode() Func _ExchangeCachedMode() CONSTANT $HKCU_Profiles = "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles" CONSTANT $ExchCachedModeName = "00036601" CONSTANT $HKCU_MailDefProf = RegRead($HKCU_Profiles,"DefaultProfile") CONSTANT $HKCU_MailProfile = $HKCU_Profiles & "\" & $HKCU_MailDefProf ; Set initial value for RegEnumKey $a = 1 While 1 ; Parse through each entry under Profiles $RegKey = RegEnumKey($HKCU_MailProfile,$a) if @error then ExitLoop ; Set initial value for RegEnumVal $b = 1 While 2 ; Check each profile for the key $ExchCachedModeName $RegValue = RegEnumVal($HKCU_MailProfile & "\" & $RegKey,$b) if @error then ExitLoop ; If key matches then process If $RegValue = $ExchCachedModeName Then ; Read value to see if it needs to be changed, probably not necessary ;$strCachModeSetting = RegRead($HKCU_MailProfile & "\" & $RegKey,$ExchCachedModeName) ; Set cached mode to Disabled ;IF StringInStr($strCachModeSetting,"0x041") = 0 then Select ; Check to see if Outlook 2010 or 2007 is installed, use this first Case FileExists("C:\Program Files (x86)\Microsoft Office\Office14\outlook.exe") or FileExists("C:\Program Files (x86)\Microsoft Office\Office13\outlook.exe") _ or FileExists("C:\Program Files\Microsoft Office\Office14\outlook.exe") or FileExists("C:\Program Files\Microsoft Office\Office13\outlook.exe") Regwrite($HKCU_MailProfile & "\" & $RegKey,$ExchCachedModeName,"REG_BINARY",Binary('0x04100000')) ; Check to see if Outlook 2003 is installed (but shouldn't be), use secondary Case FileExists("C:\Program Files (x86)\Microsoft Office\Office12\outlook.exe") or FileExists("C:\Program Files\Microsoft Office\Office12\outlook.exe") Regwrite($HKCU_MailProfile & "\" & $RegKey,$ExchCachedModeName,"REG_BINARY",Binary('0x04000000')) EndSelect ; Found entry so you can exit and move onto next profile exitloop EndIf ; Increment value for RegEnumVal $b += 1 Wend ; Incremement value for RegEnumKey $a += 1 Wend EndFunc
×
×
  • Create New...