Interactive configuration tool for Autodesk Revit Server.
This utility automatically detects installed Revit Server versions, allows selecting specific versions or all installations, and updates the maxBytesPerRead value inside Revit Server web.config files.
The tool can also restore the default Autodesk value.
PowerShell-скрипт для автоматического исправления параметра MaxBytesPerRead в настройках Revit Server.
Запустить напрямую из GitHub:
irm https://raw.githubusercontent.com/Viend1211/RevitServer-MaxBytesPerRead-Fix/main/Fix-RevitServer.ps1 | iexили
Invoke-RestMethod https://raw.githubusercontent.com/Viend1211/RevitServer-MaxBytesPerRead-Fix/main/Fix-RevitServer.ps1 | Invoke-Expression$Script = "$env:TEMP\Fix-RevitServer.ps1"
Invoke-WebRequest `
-Uri "https://raw.githubusercontent.com/Viend1211/RevitServer-MaxBytesPerRead-Fix/main/Fix-RevitServer.ps1" `
-OutFile $Script
powershell.exe -ExecutionPolicy Bypass -File $Script$F="$env:TEMP\Fix-RevitServer.ps1";iwr "https://raw.githubusercontent.com/Viend1211/RevitServer-MaxBytesPerRead-Fix/main/Fix-RevitServer.ps1" -OutFile $F;powershell -ExecutionPolicy Bypass -File $F- Windows
- PowerShell 5.1+
- Права администратора (рекомендуется)
- Проверяет настройки Revit Server.
- Изменяет параметр MaxBytesPerRead на рекомендуемое значение.
- Применяет необходимые изменения автоматически.
- Выводит результат выполнения в консоль.
This tool is designed to improve Autodesk Revit Server performance by optimizing network read operations.
Increasing maxBytesPerRead can help:
- Faster model loading and synchronization
- Improved performance with large BIM files
- More stable work with heavy central models
- Reduced network overhead during data transfer
- Better responsiveness in multi-user environments
It is especially useful in environments with:
- Large Revit models
- WAN / remote office connections
- High collaboration load on Revit Server
- Detects all installed Revit Server versions
- Interactive version selection
- Supports:
- Custom optimized value (
102400) - Restore default value (
4096)
- Custom optimized value (
- Automatically stops and restarts Revit Server services
- Creates
.bakbackup files - Generates detailed logs
- Supports PowerShell and EXE deployment
- UTF-8 console support
Tested with:
- Revit Server 2020
- Revit Server 2021
- Revit Server 2022
- Revit Server 2023
- Revit Server 2024
The tool modifies:
maxBytesPerRead="4096"to:
maxBytesPerRead="102400"inside:
Services\ModelService\web.config
Services\LocalService\web.config
Increasing maxBytesPerRead may improve:
- Revit Server synchronization performance
- Large model transfer stability
- WAN replication behavior
- Read throughput for large BIM projects
Run as Administrator.
.\Fix-RevitServer.ps1Fix-RevitServer.exe
Example:
[1] Revit Server 2022
[2] Revit Server 2024
[A] All versions
Select versions:
Then:
[1] Set optimized value (102400)
[2] Restore Autodesk default (4096)
The tool generates:
RevitServerFix.log
Example:
2026-05-16 15:44:11 - Processing:
C:\Program Files\Autodesk\Revit Server 2022\Services\ModelService\web.config
SUCCESS
Automatic backups are created:
web.config.bak
Use at your own risk.
Always test configuration changes in a staging environment before production deployment.
This project is not affiliated with Autodesk.
