SoFunction
Updated on 2025-03-03

How to resolve VisualSVN Server installation prompt error Repositories is not a valid short file name

Recently, the new version of VisualSVN Server is always prompting errors during the installation process:

“'Repositories' is not a valid short file name.” After clicking confirmation, the installation process will be terminated and cannot continue.

I found the reason for the problem and found that the Repositories library directory may have been placed on another mobile partition before, and the mobile partition does not exist at this time, so the VisualSVN Server installer cannot find the previous library directory.

The prompt error 'Repositories' is not a valid short file name This is obviously a fool, how to fix it?

Start Menu --》 Run --》 Enter regedit and search in the registry \Repositories. I found 2 historical records that were once on the mobile partition. Delete them first:

@ECHO OFF 
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\36375FA3E7EE6F3459468B815AF18822" /f 
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\6B5F76CC875F2E24E95282957BD8A9F8" /f 

After the deletion is completed, install VisualSVN Server again, and no longer prompt "Repositories' is not a valid short file name" error, and the installation is completed smoothly!

The above is the solution for the installation prompt error of VisualSVN Server Repositories is not a valid short file name. I hope you like it.