Uppgradera från Windows 7 eller 8 till Windows 10 fångas en hel del PC användare av överraskning. Många ville förbli med äldre Windowsversioner på grund av förtrogenhet, and some jumped on board and took Microsoft’s free upgrade with open arms. Now that Microsoft is discontinuing support for their older operating systems, everyone is being forced onto their newest one. This has led to an increase in error reports and, i synnerhet, Katalognamnet är ogiltigt.
This is a less common error but nonetheless is inconvenient and irritating. It prevents the user from accessing certain folders and opening some files. Så, if you encounter this error, what can you do to resolve it and get access? We’ve got all of the fixes you need to know below.
PS: Här, you will learn the best fixes for these issues: Skanna och reparera enheten fast, Your PC run into a problem and needs to restart, och Microsoft compatibility telemetri orsakar hög diskanvändning.
Solutions for Fixing ‘The Directory Name is Invalid’
After rigorous research and testing, we found out which fixes worked, which fixes were sometimes effective, and which fixes didn’t work at all. Below are 7 of those fixes and if you work your way through this list, we’re confident that you’ll get rid of the directory name is an invalid error.
Fixa #1 – Disconnect USB Devices
The first thing to do is to remove all unnecessary USB devices. Although this might seem a pointless task, these types of devices can interfere with other aspects of your computer. I detta fall, a USB device may be preventing your other storage devices from communicating.
Steg #1 – Disconnect any unnecessary USB devices (t.ex., flash drives and webcams) från din dator.
Steg #2 – Use the Windows search feature to open “Device Manager.”
Steg #3 – Klicka på “Visa” at the top of the Device Manager window and enable “Show Hidden Device.”
Steg #4 – Välj den “Portable Devices” category and for each device shown here, right-click and press “Uninstall Device.”
Steg #5 – After uninstalling these devices, check if the directory error is fixed.
Uninstalling these devices won’t wreak havoc on your computer. Vanligtvis, after you reconnect them, depending on the device, they will reinstall the required drivers. If it fixes the problem, this is just a minor inconvenience anyway.
Fixa #2 – Update Windows 10 to fix ‘The Directory Name is Invalid’
Keeping your Windows 10 version up to date is more important than most realize. Microsoft uses these updates to patch security issues, repair problematic bugs like the directory name is invalid, and add new features. Updating Windows 10 may be the fix you need.
Steg #1 – Press the shortcut Windows + I on your keyboard. This will open the Windows settings.
Steg #2 – Klicka på “Uppdatering & Säkerhet” from this menu.
Steg #3 – Klicka på “Check for updates” and if an update is found, installera det.
If you want to avoid random errors, then doing this frequently will prevent a lot of issues.
Fixa #3 – Update Your PC’s BIOS
A more complex solution is to update your computer’s BIOS. BIOS is a piece of software which is used to determine how your computer loads.
Steg #1 – First press the keyboard shortcut Windows + R.
Steg #2 – Typ “msinfo32” to view your system’s information and make a note of the “BIOS Version/Date.”
Steg #3 – Now do a quick Google search of your computer’s manufacturer’s BIOS to find the most recent version.
If you have a new computer, it is unlikely that your BIOS will be out of date. Men, if a new version is available, download and install it according to the manufacturer’s instructions.
Fixa #4 – Update Disk and Drivers
Similar to your operating system and BIOS, keeping the other components of your computer updated is important. Each piece of hardware requires a driver (a piece of software that allows the hardware to communicate with the operating system). Some drivers will notify you when an update is available, but most don’t.
Don’t worry about how technical this sounds – there’s a program that makes it easy. Föraren enkelt helps you update your hard disk and other drivers too. It simply detects your PC hardware, scans a database of drivers, and detects any newer versions. This saves you a lot of hassle!
Steg #1 – Download Driver Easy to your computer and install it.
Steg #2 – Launch the program, and once you have it open, Klicka på “Skanna nu.”
Steg #3 – After the scan is complete, you’ll be shown a list of drivers. Here you can see which drivers are outdated and require your attention.
Obs: if you purchase Driver Easy, you can use the program to download the updates and install them automatically. Annars, you must download and install them manually.
Steg #4 – For users with the Pro version, Klicka på “Update All.”
Steg #5 – After the program successfully installs the drivers, restart your computer.
An obvious downside is that you have to purchase Föraren enkelt for full effectiveness. But if you run the scan and see there are no outdated drivers, you don’t have to make this purchase. If there are a lot of drivers that you need to update, then consider buying it.
Fixa #5 – Check for Storage Disk Errors
Even if your hard drive’s drivers are all up to date, disk errors can occur. Often this will result in the directory name is an invalid error. While it’s unfortunate to experience disk errors – which usually indicate corruption – Windows has a built-in tool to help.
Steg #1 – Search “Denna PC” using the Windows search feature.
Steg #2 – Right-click on whichever disk has the error and click “Egenskaper.”
Steg #3 – Klicka på den “Verktyg” tab and below “Error Checking” Klicka på “Check.”
Steg #4 – Press the “Skanna enheten” button and wait while Windows scans the storage device.
Steg #5 – If any errors are found, then Windows may attempt to repair them. You will then have to restart your computer and check if this resolves the directory error.
This is definitely a handy tool to use whenever you encounter problems with your storage. It will take a while for the scan to complete (larger storage devices take more time), but if it detects errors, then it’s worth the wait. Tyvärr, some errors cannot be repaired. If the hard drive is corrupt, your only option is to replace it.
Fixa #6 – Enable the DVD Drive to Fix ‘The Directory Name is Invalid’
Since your computer’s DVD tray is recognized as a drive, you might notice the error when trying to play a DVD. Some systems disable the DVD driver if users don’t use it, so enabling it usually does the trick and repairs the directory error.
Steg #1 – Using the Windows search bar, typ “Enhetshanteraren” och tryck på “Enter.”
Steg #2 – Klicka på den “DVD/CD-ROM drives” drop-down menu.
Steg #3 – Right-click on the DVD drive and select “Enable device.”
After a moment, the DVD drive will now be fully functional, and any problems should disappear. Om inte, revisit the Device Manager and instead try to update the driver.
Fixa #7 – Create a Storage Partition
Handling storage partitions can be very dangerous, so be cautious when creating a new one. You should only attempt to use this method to resolve “Katalognamnet är ogiltigt” if this is concerning a USB flash drive, not one of your hard drives.
Steg #1 – Press the Windows + R keyboard shortcut and type “diskmgmt.msc” into the box.
Steg #2 – On the Disk Management menu, locate the relevant storage device from the list.
Steg #3 – Next to the storage device, right-click on the unallocated section. Välj “New Simple Volume…”.
Steg #4 – After following the guide shown on-screen, attempt to access your storage again.
På samma sätt, you can format the storage device. Doing this will completely wipe the device, and it will be in a factory state. Note that doing this will also permanently delete the data which was stored on it.
Fixa #8 – Check Command Prompt
Slutligen, the directory name is invalid could be a result of a simple misconfiguration. Try accessing the same directory but on a different user account. If it works fine on the other account, then use the steps below.
Steg #1 – Typ “CMD” into the search bar and right-click on “Command Prompt.”
Steg #2 – Klicka på “Egenskaper” och klicka sedan på den “Shortcut” fliken.
Steg #3 – Bredvid “Start in,” replace the entry with “%WINDIR%.”
Make a note of the original value here in case anything goes wrong. If only one user account experiences the directory error, then this should quickly fix it.
To Conclude on How to Fix “Katalognamnet är ogiltigt”
Hopefully following our advice supports your efforts to get rid of the directory error. Any error like this can make us automatically assume the worst – a corrupt hard drive – but that’s rarely the case. Sometimes all it takes is updating your system or checking for repairable disk errors.
In some very uncommon situations, none of these solutions will fix the directory name is invalid. This is why we recommend Recoverit, a data recovery program. If you find that your hard drive is corrupt, Använd sedan Recoverit to extract as much of your data as possible to avoid losing it. No matter what files you want to recover, that’s the program for the job!