Want an easy want to increase a PST limit to 100GB? Just use this script!
Microsoft Outlook will no longer work once a PST or OST hits its 50GB limit. Often, the cause of this is a large “Deleted Items” folder. Luckily, this can be easily fixed with a simple registry change.
Rather than remotely accessing the device and changing it manually, the script below will do it for you. It is a good idea to run this script on the endpoints you manage now, rather than wait until a PST hits the limit.
The script below will update the PST limit from the preconfigured limit of 50GB, doubling it to 100GB.
Note here that for your code you will need to replace the “16.0” with the endpoint’s current Microsoft Office version.
cmd /c reg.exe add HKCU\Software\Microsoft\Office\16.0\Outlook\PST /v WarnLargeFileSize /t REG_DWORD /d f3cf3cf2 /f cmd /c reg.exe add HKCU\Software\Microsoft\Office\16.0\Outlook\PST /v MaxLargeFileSize /t REG_DWORD /d ffffffff /f
What Happens When You Run This Code?
Running this script will update the PST limit of Outlook to 100GB. It is a good idea to run this script now before any of your endpoints hit their existing 50GB limit. Doing this ahead of time will help reduce future support calls to your helpdesk and keep things running smoothly for your clients.
Want More Expert Tips Like This?
We’ve got dozens of tips and tricks like this to make your life as an MSP a little easier. We also offer expert mentorship, advice, and support for every aspect of an MSP’s business, including sales, marketing, support, and engineering. If you need help growing your MSP, please contact us today.