I made a simple script that will help you get rid of this problem.
:: A free script to fix the Windows 11 24H2 error,
:: due to which 3ds Max does not see user scripts, macros and plugins.
:: The script removes system/hidden attributes from AppData and Local,
:: and also automatically corrects paths for all installed versions of 3ds Max.
this bug in Windows 11 24H2 is due to the fact that Max in new builds uses useUserProfiles=1, and as a result, usermacros and scripts go to %APPDATA% instead of the local Max folder.
.bat actually:
Makes the AppData folder visible.
Backups usermacros to a separate directory.
Changes useUserProfiles=1 to useUserProfiles=0 in InstallSettings.ini.
Run as an administrator!
https://3ddd.ru/forum/thread/show/3ds_max_2024_v_novoi_versii_windows_11_24h2_problema#post1773399
@echo off
SETLOCAL ENABLEDELAYEDEXPANSION
REM === Remove attributes from AppData and Local folders ===
cd /d %USERPROFILE%
attrib -h AppData
cd AppData
attrib -s Local
REM === Search all installed 3ds Max versions and apply fix ===
set "BASE_PATH=C:\Program Files\Autodesk"
set "BACKUP_ROOT=C:\3dsMax_usermacros_backup"
for /d %%D in ("%BASE_PATH%\3ds Max*") do (
set "MAX_PATH=%%~fD"
set "USERMACROS=!MAX_PATH!\usermacros"
set "INI_FILE=!MAX_PATH!\InstallSettings.ini"
echo Found: !MAX_PATH!
if exist "!USERMACROS!" (
set "BACKUP_PATH=%BACKUP_ROOT%\%%~nxD"
xcopy /E /I /Y "!USERMACROS!" "!BACKUP_PATH!" >nul
echo usermacros backup done
) else (
echo usermacros folder not found
)
if exist "!INI_FILE!" (
powershell -Command "(Get-Content '!INI_FILE!') -replace 'useUserProfiles=1','useUserProfiles=0' | Set-Content '!INI_FILE!'"
echo useUserProfiles set to 0
) else (
echo InstallSettings.ini not found
)
)
echo All done. Restart 3ds Max.
pause
ENDLOCAL
3dsMax_Win11_24H2_Path_Fix.bat
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
- Elvissuperstar007
- Posts: 2516
- Joined: Thu May 20, 2010 8:20 am
- Location: Ukraine
- Contact:
- Attachments
-
- 3ds Max 24H2 Fix.rar
- (654 Bytes) Downloaded 11 times
Win11/msi x79a-gd45 (8d)/ Intel Xeon e5 2690v0/ 64gb DDR3 1866/ Nvidia 4090 Asus TUF/ be quiet! Straight Power 11 1000W 80 Plus Platinum
Page octane render " В Контакте " http://vkontakte.ru/club17913093
Page octane render " В Контакте " http://vkontakte.ru/club17913093
Thank Elvis,
it completely broke down my 3ds Max, I now have to run it as administrator, so I can only open scenes if I open a fresh Max, otherwise I get a shit ton of errors for missing files/plugins/dlls and what not. I also constantly have to re-do the UI because it resets to default.
Can you suggest a method to revert what you did?
Because I can't work like this I'm thinking of re-installing everything.
Cheers
it completely broke down my 3ds Max, I now have to run it as administrator, so I can only open scenes if I open a fresh Max, otherwise I get a shit ton of errors for missing files/plugins/dlls and what not. I also constantly have to re-do the UI because it resets to default.
Can you suggest a method to revert what you did?
Because I can't work like this I'm thinking of re-installing everything.
Cheers
i9 9920X, 64GB, RTX 2080Ti
Ryzen 1800x, 64GB, 2x RTX 3090
Ryzen 1800x, 64GB, 2x RTX 3090