Incrementally Increase OST Cache Size












1















We're currently undergoing a migration, and I'm trying to figure out how to steadily increase the OST cache size on our client machines. 
I've tried adding the registry key



HKCUSoftwareMicrosoftOffice15.0OutlookCached ModeSyncWindowsSetting


but that appears to affect only the cache on the first login.



Is there a way to alter the Outlook cache size after the user has set up Outlook on their machine?










share|improve this question




















  • 1





    What problem are you trying to solve? What is wrong with letting the OST file grow in size as the mailbox is synchronized? Please see XY Problem for why I'm asking this.

    – Twisty Impersonator
    Jan 29 at 23:02











  • So you're using Outlook 2013? Guessing so by the Registry key you've used having 15.0 in the value. What DWORD value are you setting for the SyncWindowSetting?

    – angelofdev
    Jan 29 at 23:42











  • Twisty Impersonator, we're migrating our entire company from Win 7 to Win 10, this consists of around 5000 users, some of which have mailbox sizes over 50GB. It's simply not feasible for us to have every single end user download there OST files all at the same time, so I'm trying to find a way to have them cache their data on a schedule that steadily increases their cache size.

    – Nick Pope
    Jan 30 at 13:55











  • angelofdev, I'm setting up a scheduled task that increases the value weekly, 1, 3, 6, 9, and 12. The problem is just that once the profile has been created on the machine the registry key doesn't change the cache settings in outlook.

    – Nick Pope
    Jan 30 at 13:57











  • How about you instead only enable caching for smaller groups of people at a time? This could be handled via GP and AD Security Groups rather easily.

    – music2myear
    Jan 30 at 19:56
















1















We're currently undergoing a migration, and I'm trying to figure out how to steadily increase the OST cache size on our client machines. 
I've tried adding the registry key



HKCUSoftwareMicrosoftOffice15.0OutlookCached ModeSyncWindowsSetting


but that appears to affect only the cache on the first login.



Is there a way to alter the Outlook cache size after the user has set up Outlook on their machine?










share|improve this question




















  • 1





    What problem are you trying to solve? What is wrong with letting the OST file grow in size as the mailbox is synchronized? Please see XY Problem for why I'm asking this.

    – Twisty Impersonator
    Jan 29 at 23:02











  • So you're using Outlook 2013? Guessing so by the Registry key you've used having 15.0 in the value. What DWORD value are you setting for the SyncWindowSetting?

    – angelofdev
    Jan 29 at 23:42











  • Twisty Impersonator, we're migrating our entire company from Win 7 to Win 10, this consists of around 5000 users, some of which have mailbox sizes over 50GB. It's simply not feasible for us to have every single end user download there OST files all at the same time, so I'm trying to find a way to have them cache their data on a schedule that steadily increases their cache size.

    – Nick Pope
    Jan 30 at 13:55











  • angelofdev, I'm setting up a scheduled task that increases the value weekly, 1, 3, 6, 9, and 12. The problem is just that once the profile has been created on the machine the registry key doesn't change the cache settings in outlook.

    – Nick Pope
    Jan 30 at 13:57











  • How about you instead only enable caching for smaller groups of people at a time? This could be handled via GP and AD Security Groups rather easily.

    – music2myear
    Jan 30 at 19:56














1












1








1








We're currently undergoing a migration, and I'm trying to figure out how to steadily increase the OST cache size on our client machines. 
I've tried adding the registry key



HKCUSoftwareMicrosoftOffice15.0OutlookCached ModeSyncWindowsSetting


but that appears to affect only the cache on the first login.



Is there a way to alter the Outlook cache size after the user has set up Outlook on their machine?










share|improve this question
















We're currently undergoing a migration, and I'm trying to figure out how to steadily increase the OST cache size on our client machines. 
I've tried adding the registry key



HKCUSoftwareMicrosoftOffice15.0OutlookCached ModeSyncWindowsSetting


but that appears to affect only the cache on the first login.



Is there a way to alter the Outlook cache size after the user has set up Outlook on their machine?







microsoft-outlook microsoft-outlook-2013 cache






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 30 at 19:33







Nick Pope

















asked Jan 29 at 22:54









Nick PopeNick Pope

63




63








  • 1





    What problem are you trying to solve? What is wrong with letting the OST file grow in size as the mailbox is synchronized? Please see XY Problem for why I'm asking this.

    – Twisty Impersonator
    Jan 29 at 23:02











  • So you're using Outlook 2013? Guessing so by the Registry key you've used having 15.0 in the value. What DWORD value are you setting for the SyncWindowSetting?

    – angelofdev
    Jan 29 at 23:42











  • Twisty Impersonator, we're migrating our entire company from Win 7 to Win 10, this consists of around 5000 users, some of which have mailbox sizes over 50GB. It's simply not feasible for us to have every single end user download there OST files all at the same time, so I'm trying to find a way to have them cache their data on a schedule that steadily increases their cache size.

    – Nick Pope
    Jan 30 at 13:55











  • angelofdev, I'm setting up a scheduled task that increases the value weekly, 1, 3, 6, 9, and 12. The problem is just that once the profile has been created on the machine the registry key doesn't change the cache settings in outlook.

    – Nick Pope
    Jan 30 at 13:57











  • How about you instead only enable caching for smaller groups of people at a time? This could be handled via GP and AD Security Groups rather easily.

    – music2myear
    Jan 30 at 19:56














  • 1





    What problem are you trying to solve? What is wrong with letting the OST file grow in size as the mailbox is synchronized? Please see XY Problem for why I'm asking this.

    – Twisty Impersonator
    Jan 29 at 23:02











  • So you're using Outlook 2013? Guessing so by the Registry key you've used having 15.0 in the value. What DWORD value are you setting for the SyncWindowSetting?

    – angelofdev
    Jan 29 at 23:42











  • Twisty Impersonator, we're migrating our entire company from Win 7 to Win 10, this consists of around 5000 users, some of which have mailbox sizes over 50GB. It's simply not feasible for us to have every single end user download there OST files all at the same time, so I'm trying to find a way to have them cache their data on a schedule that steadily increases their cache size.

    – Nick Pope
    Jan 30 at 13:55











  • angelofdev, I'm setting up a scheduled task that increases the value weekly, 1, 3, 6, 9, and 12. The problem is just that once the profile has been created on the machine the registry key doesn't change the cache settings in outlook.

    – Nick Pope
    Jan 30 at 13:57











  • How about you instead only enable caching for smaller groups of people at a time? This could be handled via GP and AD Security Groups rather easily.

    – music2myear
    Jan 30 at 19:56








1




1





What problem are you trying to solve? What is wrong with letting the OST file grow in size as the mailbox is synchronized? Please see XY Problem for why I'm asking this.

– Twisty Impersonator
Jan 29 at 23:02





What problem are you trying to solve? What is wrong with letting the OST file grow in size as the mailbox is synchronized? Please see XY Problem for why I'm asking this.

– Twisty Impersonator
Jan 29 at 23:02













So you're using Outlook 2013? Guessing so by the Registry key you've used having 15.0 in the value. What DWORD value are you setting for the SyncWindowSetting?

– angelofdev
Jan 29 at 23:42





So you're using Outlook 2013? Guessing so by the Registry key you've used having 15.0 in the value. What DWORD value are you setting for the SyncWindowSetting?

– angelofdev
Jan 29 at 23:42













Twisty Impersonator, we're migrating our entire company from Win 7 to Win 10, this consists of around 5000 users, some of which have mailbox sizes over 50GB. It's simply not feasible for us to have every single end user download there OST files all at the same time, so I'm trying to find a way to have them cache their data on a schedule that steadily increases their cache size.

– Nick Pope
Jan 30 at 13:55





Twisty Impersonator, we're migrating our entire company from Win 7 to Win 10, this consists of around 5000 users, some of which have mailbox sizes over 50GB. It's simply not feasible for us to have every single end user download there OST files all at the same time, so I'm trying to find a way to have them cache their data on a schedule that steadily increases their cache size.

– Nick Pope
Jan 30 at 13:55













angelofdev, I'm setting up a scheduled task that increases the value weekly, 1, 3, 6, 9, and 12. The problem is just that once the profile has been created on the machine the registry key doesn't change the cache settings in outlook.

– Nick Pope
Jan 30 at 13:57





angelofdev, I'm setting up a scheduled task that increases the value weekly, 1, 3, 6, 9, and 12. The problem is just that once the profile has been created on the machine the registry key doesn't change the cache settings in outlook.

– Nick Pope
Jan 30 at 13:57













How about you instead only enable caching for smaller groups of people at a time? This could be handled via GP and AD Security Groups rather easily.

– music2myear
Jan 30 at 19:56





How about you instead only enable caching for smaller groups of people at a time? This could be handled via GP and AD Security Groups rather easily.

– music2myear
Jan 30 at 19:56










1 Answer
1






active

oldest

votes


















0














Alright, the registry key that effects Outlook 2013 OST caching is
HKEY_USERSUSERSIDSoftwareMicrosoftOffice15.0OutlookProfilesUSERNAMEVariableValue0036649
So the following script will check the current value and then change it.



$USERNAME = Get-WmiObject –ComputerName $env:COMPUTERNAME –Class 
Win32_ComputerSystem | Select-Object Username
$USER = $USERNAME.Username -replace 'domain\'
$objUser = New-Object System.Security.Principal.NTAccount("$USER")
$strSID = $objUser.Translate([System.Security.Principal.SecurityIdentifier])

$SID = $strSID.Value
New-PSDrive -PSProvider Registry -name HKU -root HKEY_USERS
$CONTENT = Get-ChildItem -path
"HKU:$SIDSoftwareMicrosoftOffice15.0OutlookProfiles$user" -recurse |
where { $_.property -match '00036649' } | select-object "Name"
$REGKEY = $CONTENT.name

if ((Get-ItemProperty -Path Registry::"$REGKEY")."00036649" -eq "1")
{
reg add $REGKEY /v 00036649 /T REG_BINARY /D "03000000" /f
}
elseif ((Get-ItemProperty -Path Registry::"$REGKEY")."00036649" -eq "3") {
reg add $REGKEY /v 00036649 /T REG_BINARY /D "06000000" /f
}
elseif ((Get-ItemProperty -Path Registry::"$REGKEY")."00036649" -eq "6")
{
reg add $REGKEY /v 00036649 /T REG_BINARY /D "0c000000" /f
}





share|improve this answer

























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1399865%2fincrementally-increase-ost-cache-size%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Alright, the registry key that effects Outlook 2013 OST caching is
    HKEY_USERSUSERSIDSoftwareMicrosoftOffice15.0OutlookProfilesUSERNAMEVariableValue0036649
    So the following script will check the current value and then change it.



    $USERNAME = Get-WmiObject –ComputerName $env:COMPUTERNAME –Class 
    Win32_ComputerSystem | Select-Object Username
    $USER = $USERNAME.Username -replace 'domain\'
    $objUser = New-Object System.Security.Principal.NTAccount("$USER")
    $strSID = $objUser.Translate([System.Security.Principal.SecurityIdentifier])

    $SID = $strSID.Value
    New-PSDrive -PSProvider Registry -name HKU -root HKEY_USERS
    $CONTENT = Get-ChildItem -path
    "HKU:$SIDSoftwareMicrosoftOffice15.0OutlookProfiles$user" -recurse |
    where { $_.property -match '00036649' } | select-object "Name"
    $REGKEY = $CONTENT.name

    if ((Get-ItemProperty -Path Registry::"$REGKEY")."00036649" -eq "1")
    {
    reg add $REGKEY /v 00036649 /T REG_BINARY /D "03000000" /f
    }
    elseif ((Get-ItemProperty -Path Registry::"$REGKEY")."00036649" -eq "3") {
    reg add $REGKEY /v 00036649 /T REG_BINARY /D "06000000" /f
    }
    elseif ((Get-ItemProperty -Path Registry::"$REGKEY")."00036649" -eq "6")
    {
    reg add $REGKEY /v 00036649 /T REG_BINARY /D "0c000000" /f
    }





    share|improve this answer






























      0














      Alright, the registry key that effects Outlook 2013 OST caching is
      HKEY_USERSUSERSIDSoftwareMicrosoftOffice15.0OutlookProfilesUSERNAMEVariableValue0036649
      So the following script will check the current value and then change it.



      $USERNAME = Get-WmiObject –ComputerName $env:COMPUTERNAME –Class 
      Win32_ComputerSystem | Select-Object Username
      $USER = $USERNAME.Username -replace 'domain\'
      $objUser = New-Object System.Security.Principal.NTAccount("$USER")
      $strSID = $objUser.Translate([System.Security.Principal.SecurityIdentifier])

      $SID = $strSID.Value
      New-PSDrive -PSProvider Registry -name HKU -root HKEY_USERS
      $CONTENT = Get-ChildItem -path
      "HKU:$SIDSoftwareMicrosoftOffice15.0OutlookProfiles$user" -recurse |
      where { $_.property -match '00036649' } | select-object "Name"
      $REGKEY = $CONTENT.name

      if ((Get-ItemProperty -Path Registry::"$REGKEY")."00036649" -eq "1")
      {
      reg add $REGKEY /v 00036649 /T REG_BINARY /D "03000000" /f
      }
      elseif ((Get-ItemProperty -Path Registry::"$REGKEY")."00036649" -eq "3") {
      reg add $REGKEY /v 00036649 /T REG_BINARY /D "06000000" /f
      }
      elseif ((Get-ItemProperty -Path Registry::"$REGKEY")."00036649" -eq "6")
      {
      reg add $REGKEY /v 00036649 /T REG_BINARY /D "0c000000" /f
      }





      share|improve this answer




























        0












        0








        0







        Alright, the registry key that effects Outlook 2013 OST caching is
        HKEY_USERSUSERSIDSoftwareMicrosoftOffice15.0OutlookProfilesUSERNAMEVariableValue0036649
        So the following script will check the current value and then change it.



        $USERNAME = Get-WmiObject –ComputerName $env:COMPUTERNAME –Class 
        Win32_ComputerSystem | Select-Object Username
        $USER = $USERNAME.Username -replace 'domain\'
        $objUser = New-Object System.Security.Principal.NTAccount("$USER")
        $strSID = $objUser.Translate([System.Security.Principal.SecurityIdentifier])

        $SID = $strSID.Value
        New-PSDrive -PSProvider Registry -name HKU -root HKEY_USERS
        $CONTENT = Get-ChildItem -path
        "HKU:$SIDSoftwareMicrosoftOffice15.0OutlookProfiles$user" -recurse |
        where { $_.property -match '00036649' } | select-object "Name"
        $REGKEY = $CONTENT.name

        if ((Get-ItemProperty -Path Registry::"$REGKEY")."00036649" -eq "1")
        {
        reg add $REGKEY /v 00036649 /T REG_BINARY /D "03000000" /f
        }
        elseif ((Get-ItemProperty -Path Registry::"$REGKEY")."00036649" -eq "3") {
        reg add $REGKEY /v 00036649 /T REG_BINARY /D "06000000" /f
        }
        elseif ((Get-ItemProperty -Path Registry::"$REGKEY")."00036649" -eq "6")
        {
        reg add $REGKEY /v 00036649 /T REG_BINARY /D "0c000000" /f
        }





        share|improve this answer















        Alright, the registry key that effects Outlook 2013 OST caching is
        HKEY_USERSUSERSIDSoftwareMicrosoftOffice15.0OutlookProfilesUSERNAMEVariableValue0036649
        So the following script will check the current value and then change it.



        $USERNAME = Get-WmiObject –ComputerName $env:COMPUTERNAME –Class 
        Win32_ComputerSystem | Select-Object Username
        $USER = $USERNAME.Username -replace 'domain\'
        $objUser = New-Object System.Security.Principal.NTAccount("$USER")
        $strSID = $objUser.Translate([System.Security.Principal.SecurityIdentifier])

        $SID = $strSID.Value
        New-PSDrive -PSProvider Registry -name HKU -root HKEY_USERS
        $CONTENT = Get-ChildItem -path
        "HKU:$SIDSoftwareMicrosoftOffice15.0OutlookProfiles$user" -recurse |
        where { $_.property -match '00036649' } | select-object "Name"
        $REGKEY = $CONTENT.name

        if ((Get-ItemProperty -Path Registry::"$REGKEY")."00036649" -eq "1")
        {
        reg add $REGKEY /v 00036649 /T REG_BINARY /D "03000000" /f
        }
        elseif ((Get-ItemProperty -Path Registry::"$REGKEY")."00036649" -eq "3") {
        reg add $REGKEY /v 00036649 /T REG_BINARY /D "06000000" /f
        }
        elseif ((Get-ItemProperty -Path Registry::"$REGKEY")."00036649" -eq "6")
        {
        reg add $REGKEY /v 00036649 /T REG_BINARY /D "0c000000" /f
        }






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Feb 1 at 22:55

























        answered Feb 1 at 22:49









        Nick PopeNick Pope

        63




        63






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1399865%2fincrementally-increase-ost-cache-size%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Probability when a professor distributes a quiz and homework assignment to a class of n students.

            Aardman Animations

            Are they similar matrix