When installing an application in Windows, you might get “Error 1324 The Folder Path Contains an Invalid Character“. This is usually caused by an invalid character in the User Profile.
Fix 1 – Install Under Different Profile
See if you can install the software using a different user account. This fix seems to do the trick for most.
- Hold the Windows Key and press “R” to bring up the Run dialog.
- Type “logoff“, then press “Enter“.
- Try to login with a new user (if available). If you don’t have another account, you can try to create a new one.
- Attempt to install the software again.
Fix 2 – Fix Shell Folders Via Registry
- Hold the Windows Key and press “R” to bring up the Run dialog.
- Type “regedit“, then press “Enter“. The Registry Editor appears.
- Navigate to the following location in the Windows Registry:
- HKEY_CURRENT_USER
- Software
- Microsoft
- Windows
- CurrentVersion
- Explorer
- Shell Folders
- Open the “Personal” value and make sure that the “Value data” is set to “C:\Users\<username>\my documents“. Where it says <username> would be your actual username. For example, if you username is “jsmith“, you would want the value to say “C:\Users\jsmith\my documents“
- Repeat these steps each of the following registry keys:
- HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ User Shell Folders
- KEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion
- KEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Shell Folders
- KEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ User Shell Folders
- Close the Registry Editor, then restart your computer.
- Attempt to install the software again.
Fix 3 – Remove Invalid Character from Registry
Microsoft has a suggestion that says to remove the invalid character from the registry if you’re aware of what the invalid character is.
You can search the Windows registry for the invalid character that is displayed in the 1324 error message and replace all instances of the invalid character with the correct character. For example, if the 1324 error message refers to “system32/”, you should search for “system32/”. If you find any instances in the registry, modify them, so that the registry values correctly reference the System32 folder.
- Hold the Windows Key and press “R” to bring up the Run dialog.
- Type “regedit“, then press “Enter“. The Registry Editor appears.
- Select “Edit” > “Find“.
- Type the invalid character in the “Find What” box, then select “Find Next“.
- If the invalid character is found, change it. Press F3 to continue searching.
- Attempt to install the software again.
Fix 4 – Unhide the Drive
If you’re in an educational or corporate environment, Group Policy may be used to set the Home directories and hide the drive. I have seen this cause issues with software installations. Ensure the Home drive is not set to a hidden drive, and the software should install just fine.
Arthur shelby says
My windows specifications are very similar to those shown – 1809 version of Windows 10 Pro – my QuickBooks updated last night and now I can’t open one of my company files because there is an Error with an Employee SIN field – I tried to update but it says my computer is up to date… what should I do?
Chris Fry says
I edited the registry and corrected about 40 places where there was a quesion mark before the word ‘program’
I then tried to install Microsoft Office 2013 Professional Plus from the image file (*.img) that I had used to install it on the old computer.
It didn’t work even though Office 2013 no longer appears in the list of programs on the start button nor on the apps in Settings
Edu Leon says
Run a regfix program and it will fix the regedit errors Try with – JetCleanPortable
Katina Woolgar says
This did not help, still getting error 1324, the path ?windows contains and invalid character
What am I doing wrong, I have changed laptops and transferred my previous version of Greeting Card Factory through PC Mover.
I cannot install or uninstall the new version of Greeting Card Factory Deluxe Version 11 without getting the same message as above.
Please help.
Thank you
Shawn Dishop says
Thankyou! I edited my registry successfully – first time doing that for me.
roy says
was getting this error code attempting to install some programs
path 000 macrim contains invalid character
so tried to upgrade … no go … then tried to uninstall … same error code
so last resort, process of following your instructions above
got to here
KEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Explorer \ User Shell Folders
noticed 2 entries with Value data: that looked identical to my error code
common programs – E:\000 maCrim\Start Menu\Programs
common startup – E:\000 maCrim\Start Menu\Programs\0 junk\Startup
sooooo I backed up that section of registry and deleted both scripts …
tried again to update Macrim … and some other programs not installing …
PROBLEM SOLVED … nooooobie luck
disclaimer: no registry files were injured during the process
thanks for your assistance … Roy
Henk Beumers says
I tried to use solution 2.
The first two were set to Documents in stead of my documents.
In the third one “KEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion” there was no personal value. Just a standard value. So I let it be.
The other ones were alright.
After restart the error 1324 was still there.
Do I have to change the standard value to my documents also?