Logo

A Guide to Fixing Corefoundation.dll Error on Your PC

Corefoundation.dll Error - What is it?

Corefoundation.dll error is a DLL error code associated with Apple software such as iTunes, MobileMe, QuickTime and etc. To understand this error better, first you need to understand what corefoundation.dll file is.

Corefoundation.dll is a Dynamic Link Library file that is used by Apple software products. This file is created by Apple computer Inc and is designed to help open up some of the media files that you might have on your PC.

DLLs help promote modularization of code, efficient memory usage, code reuse and reduced disk space allowing the operating system and the programs to load and run faster and take less disk space on the computer.

Error Messages

This error pops on the screen when there is an issue related to Apple software products on your system. Corefoundation.dll error is displayed on the computer screen in any one of the following formats:

“The program can not start because corefoundation.dll is missing from your computer. Try reinstalling the program to fix this problem”.

"This application has failed to start because CoreFoundation.dll was not found. Re-installing the application may fix this problem."

“The procedure entry point_CFBundleCopyFileTypeForFileData could not be located in the dynamic link library corefoundation.dll.”

"MobileMe Control Panel cannot continue as Apple Application Support is missing or outdated. Please uninstall and reinstall the latest version of iTunes and MobileMe Control Panel to fix this issue.”

Though this error code is not fatal but if it is not fixed immediately it will hamper your ability to load and run Apple programs on your system.

Solution

Restoro box imageError Causes

Corefoundation.dll error can be triggered due to several reasons. Here are some of the most common corefoundation.dll error causes:

  • Outdated PC drivers
  • Viral infection
  • Damaged Windows registry files
  • Corrupted corefoundation.dll file
  • Missing corefoundation.dll file
  • Incorrectly installed third-party software

Further Information and Manual Repair

To fix this issue on your computer here are some of the best, easy and quick do it yourself methods that you can try:

Method 1: Download the Original Corefoundation.dll File

If the underlying reason for corefoundation.dll error is file corruption or it goes missing, then the best way to resolve is to download the original corefoundation.dll file. Once you download it, paste it to its exact location.

DLL files are normally located in the following location C:\Windows\System32. Once you paste it, register the file by typing ‘regsvr corefoundation.dll’ at the command prompt. When the process is complete, restart your PC to activate changes.

Alternatively, you can uninstall and re-install any Apple Software you may have on your Windows Computer. To do that, Open the Control Panel, navigate to "Install/Uninstall a Program", search for Apple software, and uninstall them.

Method 2: Update Window Drivers

If the error code is related to outdated drivers, then it is recommended that you update them promptly to resolve the corefoundation.dll error on your PC.

This can be done by using a driver update wizard from within Device Manager. The driver update wizard walks you through the entire drive update process, making updating a hassle-free process.

Method 3: Download Restoro

If the error still persists, then try method 3. Sometimes the cause of corefoundation.dll can be viral infection or registry issues.  Viruses may enter your PC unknowingly through phishing emails and downloads which can corrupt and damage your dll files.

Also, if you don’t clean your registry frequently, unnecessary and obsolete files may accumulate in the registry like cookies, junk files, internet history and temporary files. These files take up a lot of disk space corrupt DLL files and lead to disk fragmentation.

Regardless of what the issue is, Restoro is your one-stop PC Fixer. It is a multi-functional and user-friendly repair tool embedded with 6 different scanners including a registry cleaner and an antivirus. It scans and removes all types of viruses and cleans and restores the registry too.

Click here to download Restoro and resolve the corefoundation.dll error today!

Do You Need Help with Your Device?

Our Team of Experts May Help
Troubleshoot.Tech Experts are There for You!
Replace damaged files
Restore performance
Free disk space
Remove Malware
Protects WEB browser
Remove Viruses
Stop PC freezing
GET HELP
Troubleshoot.Tech experts work with all versions of Microsoft Windows including Windows 11, with Android, Mac, and more.

Share this article:

You might also like

Fix Windows Update Install Error 0x80070020
Getting a few errors here and there when updating your Windows 10 computer is not uncommon. Some of these errors won’t allow the Windows Update service to initiate while the other ones will halt the process while it’s running. So in this post, we’ll show you what you can do to fix the Windows Update error 0x80070020. The Windows Update error 0x80070020 is most likely caused by some programs installed in the system which interferes with the Windows Update process. It might be an antivirus program, an incompatible program, a potentially unwanted program, or worse, malware. In addition, corrupted or missing files might also be the culprit. Whichever the cause may be, here are some suggestions you need to check out to resolve the problem.

Option 1 – Try to reset the Windows Update components manually

  • To manually reset the Windows Update components, first, you need to stop the Background Intelligent Transfer Service, Windows Update, and the Cryptographic Services. To do so, run the following command in Command Prompt and make sure to press Enter after you enter each one of them:
    • net stop bits
    • net stop wuauserv
    • net stop cryptsvc
  • Next, delete the “qmgr*.dat” file in order to reset the Windows Update components. To do delete this file, run the following command in Command Prompt:
    • Del “%ALLUSERSPROFILE%Application DataMicrosoftNetworkDownloaderqmgr*.dat
  • Now you have to rename both the SoftwareDistribution and Catroot2 folders by entering the following command in Command Prompt:
    • Ren %systemroot%SoftwareDistributionSoftwareDistribution.bak
    • Ren %systemroot%system32catroot2catroot2.bak
  • Reset BITS and Windows Update service by entering the following commands in Command Prompt:
    • sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
    • sc.exe sdset wuauserv D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)
  • Now enter the following command:
  • cd /d %windir%system32
  • RE-register BITS and other Windows Update related files by typing each one of the following commands:
    • regsvr32.exe atl.dll
    • regsvr32.exe urlmon.dll
    • regsvr32.exe mshtml.dll
    • regsvr32.exe shdocvw.dll
    • regsvr32.exe browseui.dll
    • regsvr32.exe jscript.dll
    • regsvr32.exe vbscript.dll
    • regsvr32.exe scrrun.dll
    • regsvr32.exe msxml.dll
    • regsvr32.exe msxml3.dll
    • regsvr32.exe msxml6.dll
    • regsvr32.exe actxprxy.dll
    • regsvr32.exe softpub.dll
    • regsvr32.exe wintrust.dll
    • regsvr32.exe dssenh.dll
    • regsvr32.exe rsaenh.dll
    • regsvr32.exe gpkcsp.dll
    • regsvr32.exe sccbase.dll
    • regsvr32.exe slbcsp.dll
    • regsvr32.exe cryptdlg.dll
    • regsvr32.exe oleaut32.dll
    • regsvr32.exe ole32.dll
    • regsvr32.exe shell32.dll
    • regsvr32.exe initpki.dll
    • regsvr32.exe wuapi.dll
    • regsvr32.exe wuaueng.dll
    • regsvr32.exe wuaueng1.dll
    • regsvr32.exe wucltui.dll
    • regsvr32.exe wups.dll
    • regsvr32.exe wups2.dll
    • regsvr32.exe wuweb.dll
    • regsvr32.exe qmgr.dll
    • regsvr32.exe qmgrprxy.dll
    • regsvr32.exe wucltux.dll
    • regsvr32.exe muweb.dll
    • regsvr32.exe wuwebv.dll
  • Now type each one of those commands below.
    • net start bits
    • net start wuauserv
    • net start cryptsvc

Option 2 – Install the updates in a Clean Boot State

You might want to try putting your computer in a Clean Boot state and then install Windows Updates again without any trouble. During this state, you can start the system with a minimum number of drivers and startup programs that will surely help you in isolating the root cause of the issue.
  • Log onto your PC as an administrator.
  • Type in msconfig in the Start Search to open the System Configuration utility.
  • From there, go to the General tab and click “Selective startup”.
  • Clear the “Load Startup items” check box and make sure that the “Load System Services” and “Use Original boot configuration” options are checked.
  • Next, click the Services tab and select the “Hide All Microsoft Services” check box.
  • Click Disable all.
  • Click on Apply/OK and restart your PC. (This will put your PC into a Clean Boot State. And configure Windows to use the usual startup, just simply undo the changes.)
  • After that, try to install the Windows Updates or upgrade again.

Option 3 – Clear the contents of both the SoftwareDistribution and Catroot2 folders

  • Open the WinX Menu.
  • From there, open Command Prompt as admin.
  • Then type in the following command – don’t forget to hit Enter right after typing each one of them.
net stop wuauserv net stop bits
  • After entering these commands, it will stop the Windows Update Service and the Background Intelligent Transfer Service.
  • Next, go to the C:/Windows/SoftwareDistribution folder and get rid of all the folders and files thereby tapping the Ctrl + A keys to select them all and then click on Delete. Note that if the files are in use, you won’t be able to delete them.
  • Once all the contents in the Software Distribution folder are deleted, restart your PC and then go back to Command Prompt and input the following commands again.
net start wuauserv net start bits
 Since the folder has already been flushed, it will be populated afresh the instant your restart your computer and open Windows Update.

Option 4 – Try to run the Windows Update Troubleshooter

Running the built-in Windows Update troubleshooter could also help you resolve the Windows Update error 0x80070020. To run it, go to Settings and then select Troubleshoot from the options. From there, click on Windows Update and then click the “Run the troubleshooter” button. After that, follow the next on-screen instructions and you should be good to go.

Option 5 – Try restarting the Windows Update Services

  • Open the Services Manager.
From there, make sure that you set the following services and Startup types:
  • Background Intelligent Transfer Service: Manual
  • Cryptographic Service: Automatic
  • Windows Update Service: Manual (Triggered)
Read More
Fix microphone not working in Windows 10
The microphone has become from exclusive niche hardware to everyday requirements. In today's world when we live in a pandemic most of the work has shifted from office to home where people need working computers with microphones, working microphones. So what do we do when the microphone stops working? Keep reading on to find out and hopefully, we will fix this as fast as possible.

Check Microphone Privacy Settings

In 2019, Microsoft introduced new privacy features to Windows that give you more granular control over which apps are accessing your microphone. The side effect of this is that certain apps may be blocked from using your microphone without you even knowing. To find out if this is the issue, go to Settings > Privacy > Microphone. Click Change and make sure the slider is set to On. This will broadly mean that the mic is now enabled on your PC.
Next, make sure the slider under Allow apps to access your microphone is set to On, then look through the list of Microsoft Store apps to make sure the apps you want to use are selected.
You’re likely to be using many apps, not from the Microsoft Store, so to make sure these are enabled, scroll down even further and set the Allow desktop apps … slider to On.

Check Microphone Driver

The outdated or corrupted driver could be the issue for the microphone not working in Windows 10. To check the driver status, follow these steps:
  1. In your Start menu search for Device Manager
  2. In the device manager window search for sound and expand it.
  3. Once expanded, you should see your audio drivers. Note that the names of these will vary depending on the manufacturer.
  4. On Audio, right-click, and select properties. On the General tab, check to see if the device is working properly.
  5. If it is not working properly, click on the driver tab and select the update option.
  6. Repeat for the other audio drivers.
  7. Restart the computer.

Check the Sounds setting

  1. In the taskbar, right-click on the speaker icon at the far-right corner and select the sound option.
  2. On the Recording tab, click on the microphone and select the Properties option.
  3. Select the levels tabs and increase the volume for both microphone and microphone boost.
  4. Go to the Enhancement tab of the same pop-up and make sure that the immediate mode checkbox is checked.
  5. Click Ok and restart the computer.

The sound troubleshooter

  1. Right-click on the sound icon at the far-right corner of the taskbar and select troubleshoot sound problems.
  2. The computer will detect any fault that exists with your audio and recommend fixes for you. You just need to read through the prompts and click the options that you think will work for you.

Try microphone on another computer

If previous steps have not produced results, try the microphone on another computer, if it is not working there then it is a hardware malfunction
Read More
Checking the Bluetooth Battery level
In case you don’t know, Windows 10 now allows users to check the Bluetooth battery level of devices. More often than not, the accessories or peripherals users use for their Windows 10 devices are connected to it using Bluetooth technology. This high-speed low-powered wireless technology is designed to link mobile devices, computers, and other network devices over a short distance wirelessly. Monitoring the battery level of a device where Bluetooth is enabled isn’t an easy task as most of these devices do not support the Bluetooth battery monitor or the battery level display. And even when on devices that do, you still have to install additional software to find it. However, Windows 10 eliminates this requirement and all you have to do is add a Bluetooth device and connect that Bluetooth device. How? Follow the instructions provided below. Step 1: Adding a Bluetooth Device The easiest way to get your Bluetooth device battery to be displayed on your Windows 10 screen is to simply add a Bluetooth device. To do so, follow these sub-steps:
  • First, turn on the Bluetooth mode on your device.
  • Next, go to Windows Settings > Devices > Bluetooth & other devices.
  • From there, click on the “+” button next to the ‘Add Bluetooth or other devices” option and select the type of device you want to add.
Step 2: Connecting the Bluetooth Device Once you’ve added the device, it will be visible under the “Add a device” screen.
  • Now select the newly added Bluetooth device and click the “Done” button.
  • After that, it will now be connected. Go back to the “Bluetooth & other devices” window and scroll down to the section of “Mouse, Keyboard, and Pen”.
  • From there, move the cursor alongside the connected device to display its battery level.
Keep in mind that there are several ways in which you can display the battery information of the Bluetooth device. However, Windows 10 understands only one of them per se. So if your device is not a Bluetooth Low Energy device, Windows 10 won’t be able to show its battery information and won’t display its battery level.
Read More
Comparing FAT32, NTFS, exFAT file system
When we get ourselves a new USB stick, new hard drive, or any storage device not including optical drives they are usually preformatted and ready to be used out of the box. However, reformating them has several benefits and while we are reformatting we can choose in which file system format we want the memory to be formatted. In this article, we will compare and explore 3 typical and standard format options you can get while formating a new media in Windows 10.

FAT32

The oldest one on the list, coming all the way from DOS days. Great for devices that need to be plugged in different operating systems and for USB flash drives. Its advantages are compatibility with all major operating systems and little memory usage comparing to other ones. However, the file system is limited to file sizes of the maximum capacity of 4GB and partitions can not exceed more than 32GB.

NTFS

First introduced in Windows NT this file system offered slower performance than FAT32 and somewhat limited usability but the main advantages were more stability and fewer errors. Its main advantages are support for files larger than 4GB and partitions larger than 32GB along with the ability for on the file encryption, main disadvantage would be limited operating system usage, NTFS can not be used on systems that work on FAT32 like MS-DOS for example or older versions of Windows. The best usage for this file system is in internal hard disk drives and system drives.

exFAT

New kid on the block, well at least from the perspective of the previous 2. exFAT offers unlimited file sizes and unlimited partition sizes but at a price that is even more limiting than NTFS. Some Linux distributions will require a driver to be installed in order to see the exFAT partition. The best use is in storage, in external hard drives. That's it, 3 major file systems, we hope that you have managed to learn something new today, and remember to drop by tomorrow for more articles about advice, tips, tricks, and troubleshooting.
Read More
Fix 169 IP address error in Windows 10
169 IP address error can stop your computer from connecting to the internet which could be a very frustrating experience. In this guide, we will cover simple but effective tips on how to fix this error so you can continue with internet use.
  1. Reconnect your Modem or Router

    Simple and sometimes effective solution, unplug and plug back in modem or router so IP is fetched again, it is very likely that computer will pick right IP address with this stunt.
  2. Use built-in Windows Network troubleshooter

    Press ⊞ WINDOWS + X top open secret menu Go to settings Go to Network & Internet Inside click on Network troubleshooter Follow onscreen instructions After the troubleshooter ends reboot your PC
  3. Reconfigure IP address

    Press ⊞ WINDOWS + R to open the run dialog Inside run dialog type ncpa.clp and press ENTER Right-click on your network adapter and select properties Uncheck Internet Protocol Version 6 (TCP/IPv6) and click on OK Now press ⊞ WINDOWS + X and click on Command prompt (admin) In command prompt type and after each line press ENTER netsh winsock reset catalog netsh int ip reset reset.log ipconfig /release ipconfig /renew Reboot your computer
  4. Restart DHCP client

    Press ⊞ WINDOWS + R to open the run dialog In run dialog type services.msc and click on OK Find DHCP client Right-click on it and choose Restart Reboot PC
  5. Reinstall Network Adapter

    Press ⊞ WINDOWS + X to open the windows menu Click on Device Manager Expand Network Adapter and right-click on wireless or ethernet adapter, click on Uninstall device Reboot the computer to automatically reinstall the device driver
  6. Reset IP and subnet mask

    Press ⊞ WINDOWS + R to open the run dialog In run dialog type in ncpa.cpl and press OK Right-click on your network adapter and select properties Uncheck Internet Protocol Version 6 (TCP/IPv6) Double click on Internet Protocol Version 4 (TCP/IPv4) Select Use the following IP address and change it to 192.168.0.1 Change Subnet mask to 255.255.255.0 Leave default gateway blank Click OK to save changes
Read More
Fix ERR_UNSAFE_PORT error on Chrome
As you know, one of the most useful web browsers all over the globe is Google Chrome. However, it is not without flaws as you could encounter errors while using it. One of these errors is the ERR_UNSAFE_PORT error. This kind of error is caused by the data being accessed using a port that isn’t recommended. When you encounter this kind of error in Chrome, you will see the following error message on your screen:
“The webpage is not available, The webpage at <Address> might be temporarily down or it may have moved permanently to a new address. Error code: ERR_UNSAFE_PORT”
In this post, you will be guided on how you can fix the ERR_UNSAFE_PORT error in Google Chrome on your Windows 10 computer. You can try to set allowed ports or reset or reinstall Google Chrome. For more details, refer to the given options below.

Option 1 – Try to set allowed ports

  • To get started, open Google Chrome.
  • After that, go to the Shortcut tab and type the following after the whole address in the field named Target: --explicitly-allowed-ports=xxx
  • It should look like this “C:/Documents and Settings/User/Local Settings/Application Data/Google/Chrome/Applicationchrome.exe --explicitly-allowed-ports=6666”.
  • Now click on Apply and click OK to save the changes made.

Option 2 – Reset Chrome

Resetting Chrome can also help you fix the error. This means that you will be restoring its default settings, disabling all the extensions, add-ons, and themes. Aside from that, the content settings will be reset as well and the cookies, cache, and site data will also be deleted. To reset Chrome, here’s what you have to do:
  • Open Google Chrome, then tap the Alt + F keys.
  • After that, click on Settings.
  • Next, scroll down until you see the Advanced option, once you see it, click on it.
  • After clicking the Advanced option, go to the “Restore and clean up option and click on the “Restore settings to their original defaults” option to reset Google Chrome.
  • Now restart Google Chrome

Option 3 – Try to clean reinstall Chrome

There are instances when programs leave files behind after you’ve uninstalled them and the same thing can happen to Chrome so before you reinstall Chrome, you have to make sure that you have deleted the User Data folder. To do so, refer to the following steps:
  • Hit the Win + R keys to open the Run dialog box.
  • Next, type “%USERPROFILE%AppDataLocalGoogleChromeUser Data” in the field and hit Enter to open the User Data folder.
  • From there, rename the default folder and name it something else, e.g. “Default.old”.
  • After that, install Google Chrome again and check if the issue is now fixed.
Read More
Change screenshot location

Each time when you press WINDOWS + PrtScn key on your keyboard a screenshot is taken and saved on your Hard drive, to be more precise, it is saved in a specific folder which is in c:\Users\Your user name\Pictures\Screenshots. Now, this specific location is not anything that's bad but it is a little deep and not so user-friendly for quick access.

screenshot properties

Luckily this default location can be changed into any folder that you like.

Changing location

First thing is to open File Explorer and then navigate to your PC. Once you go to your PC, go to Pictures, and inside right-click on the Screenshots folder. If there is no screenshots folder inside, this means that since Windows was installed no screenshots were taken with WINDOWS + PrtScn key combination. Please note that just by pressing PrtScn you will create a screenshot but you will place it inside the clipboard ready to be pasted somewhere, with WINDOWS + PrtScn you are saving the screenshot directly in a file on your hard drive.

So once you clicked on the Screenshots folder, go to the bottom and click on properties. Inside properties go to the Location tab. In the location, tab clicks on MOVE and browse to your new location where you would like screenshots to be saved. Once you select the folder for screenshots, click on the Select Folder button and confirm with OK. After this, Windows will ask you would you like to move existing screenshots into the chosen folder. Click YES or NO, depending on your preference.

After this easy setup, all of your new screenshots will be placed now inside the chosen folder.

Thank you for reading and I hope to see you tomorrow. Take care.

Read More
How to Fix Windows 10 Error 0x8007001

Error Code 0x8007001 - What is it?

Error Code 0x8007001 occurs during installations that take place in Windows 10.  Various versions of this same error have also been present in previous editions of the software and the methods to resolve the error across these versions are the same

Common symptoms include:

  • Inability to complete the installation process for updates, programs, and system versions.
  • Installations quitting out in the middle of the process, particularly as the files are unpacked.

Several solutions for Error Code 0x8007001 require the user to complete semi-complex tasks. If you aren’t comfortable with the processes necessary to finish the methods below, make sure that you get in touch with a certified professional who is familiar with the Windows operating system to assist you in the resolution of the error code.

Solution

Restoro box imageError Causes

In many cases, Error Code 0x8007001 is caused by an installation disk that is not functioning properly or installation files that have been corrupted or changed. When this is the case, the operating system will not be able to begin actually installing the files and will instead hang up as the files are unpacked from the installation set.

Further Information and Manual Repair

For Error Code 0x8007001 to be repaired properly, the missing or corrupted installation files need to be repaired or the system needs to be able to recognize the files that it is missing. This can require some advanced computing knowledge. If you don’t feel comfortable with the idea of undertaking the methods below on your own, contact a computer repair technician who can assist you in following these steps.

Method One:  Load the Install Files on an Alternative Disk

In some cases, the operating system simply cannot recognize the installation files that are present on the disk in question, whether it is on a hard drive, a set of downloaded files, or files from a flash drive. If this is the case on your particular machine, the simplest way to work around the problem is to load the installation files onto an alternative disk source, whether it be a flash drive, CD, DVD, or secondary hard drive. After these files have been properly loaded onto that alternative disk, attempt to run the installation from the alternative source instead.

If this method is successful, it means that the system may have had trouble recognizing the files involved in the installation from the first source, but that the files themselves were not corrupted or changed.

Make sure that you save the alternative disk source after your installation is complete in case you ever need to do a fresh installation on your machine.

Method Two:  Clean Your Disc and Your Drive

If you are installing files from a DVD or CD, check to make sure that the back of the disc is free from scratches and dust. If there are no visible marks on the disc, you may need to open up your disk drive to see if there is a build-up of dust or debris inside of the drive. If this is the case, simply clean your drive and re-attempt your installation process from the included disk.

Method Three:  Run the Windows Update Troubleshooter and Update Your Programs

If the error code is still appearing on your machine, you can open up your Windows Update tool and run the troubleshooting wizard, which will then scan your machine to see if there are any potential problems that it can fix. Next, run the Update tool itself if there are any updates that need to be performed. Sometimes, this can resolve the error at hand. Make sure to restart your computer after any updates or changes have been made so that you can ensure that they are applied by the operating system appropriately.

Method Four: Use An Automated Tool

If you wish to always have at your disposal a utility tool to fix these Windows 10 and other related issues when they do arise, download and install a powerful automated tool.
Read More
Mapped network drives are not working
When you have to connect to a drive that’s on a different computer or on external storage, that’s where the mapped network drives come in. Mapped network drives make accessing files a lot easier. However, there are times when it won’t work for some reason. Windows will notify you about the unavailability of mapped network drives in several ways. For one, Windows might display a red X on the network drives or it could be that its status will be unavailable when you try to use it from the Command Prompt or via a notification. It is recommended that you run a few scripts when you log in to your PC as it may so happen that the network drive takes more than usual to connect. Before you start troubleshooting the problem using the given options below, keep in mind that some workouts might only work under certain scenarios. You might need some network access at logon or you might need access to the Group Policy settings. So you need to choose what you prefer more. You can try the given workarounds below if the mapped network drives are not showing or connecting or working on your Windows 10 computer. These workarounds use scripts to make sure that you are connected to them as soon as you start to use your PC. As mentioned, before you can troubleshoot, you need to create scripts first. There are two scripts here namely MapDrives.ps1 which is executed by the second script named MapDrives.cmd and is done at a regular and non-elevated Command Prompt. Follow the steps below to get started.
  • You have to create a script file named “MapDrives.cmd” first and then save it on a place where the files are safe. To do that, open a text editor like Notepad and then copy and paste the following script:
PowerShell -Command "Set-ExecutionPolicy -Scope CurrentUser Unrestricted" >> "%TEMP%StartupLog.txt" 2>&1 PowerShell -File "%SystemDrive%ScriptsMapDrives.ps1" >> "%TEMP%StartupLog.txt" 2>&1
  • After that, save the file and name it “MapDrives.cmd”.
  • Next, create a script file named “MapDrives.ps1” and then copy and paste the following content. Just make sure to save both scripts in the same folder.
$i=3 while($True){     $error.clear()     $MappedDrives = Get-SmbMapping |where -property Status -Value Unavailable -EQ | select LocalPath,RemotePath     foreach( $MappedDrive in $MappedDrives)     {         try {             New-SmbMapping -LocalPath $MappedDrive.LocalPath -RemotePath $MappedDrive.RemotePath -Persistent $True         } catch {             Write-Host "There was an error mapping $MappedDrive.RemotePath to $MappedDrive.LocalPath"         }     }     $i = $i - 1     if($error.Count -eq 0 -Or $i -eq 0) {break}     Start-Sleep -Seconds 30 } Note: Now that you’ve created the script files, it’s time for you to proceed to the options given below.

Option 1 – Try creating a startup item

Note that this option only works on devices that have network access at login. So if it’s not there, the script will fail to reconnect the network drivers automatically. To create a startup item, here’s what you have to do:
  • Open the Startup folder located at %ProgramData%MicrosoftWindowsStart MenuProgramsStartUp.
  • From there, copy and paste the MapDrives.cmd.
  • After that, open the Scripts folder located at %SystemDrive%Scripts copy-paste MapDrives.ps1 and then copy and paste MapDrives.ps1 in there.
Note: After you complete the steps above, a log file named “StartupLog.txt” will be created in the %TEMP% folder. Now all that’s left for you to do is to log out of your computer and then log back in. This will ensure that the mapped drives are open.

Option 2 – Create a scheduled task

It is possible to create a scheduled task that runs as soon as you log in to your computer. To create a scheduled task, follow the steps below.
  • You have to copy the MapDrives.ps1 script file to the scripts folder of Windows located at %SystemDrive%Scripts.
  • After that, open the Task Scheduler and select Action > Create Task.
  • Next, type a name and description of the task in the General tab.
  • Then click on the Change User or Group button and select a local user group and click OK.
  • Now check the box labeled “Run with highest privileges” and switch to the Triggers tab.
  • From there, create a new trigger with the “At Logon” option in the Begin the task drop-down menu and then click OK.
  • After that, switch to the Actions tab and create a new action then choose to Start a program.
  • Next, type “Powershell.exe” in the Program/Script field, and in the Add arguments (optional) field, type the following:
-windowsstyle hidden -command .MapDrives.ps1 >> %TEMP%StartupLog.txt 2>&1
  • And in the Start in the (optional) field, type “%SystemDrive%Scripts” as the location of the script file.
  • Now under the Conditions tab, select the “Start only if the following network connection is available” option and then select Any connection and click OK.
  • Restart your computer or log off from your account and then log back in so that the task will be executed.

Option 3 – Use the Group Policy settings

You need this option if the mapped network drives are defined via Group Policy settings. You have to update the action of the drive maps to Replace. As a result, it will delete the existing mapped drive and create the mapping on each logon again. However, any settings on the mapped drive that are changed from the Group Policy settings will be gone on each logon. So if the changes don’t work, you need to run the gpupdate command together with the /force parameter in order to refresh the Group Policy setting quickly.
Read More
Recent Items aren't visible under Taskbar
In this post, you will be guided on what to do if the Recent Items are no longer visible in the Taskbar icons in Windows 10. This can be quite inconvenient especially if you work simultaneously on many files and documents together and would require you to visit them regularly to incorporate changes. Thus, if you find that the Recent items are not visible in the Windows Taskbar, read on. In order for the Recent Items to appear on the taskbar icons in Windows 10 again, there are four potential fixes you can check out. You can try to show the recently opened items via Settings or clear the cache of the recent items. You could also make some changes in the Windows Registry or use the Group Policy Editor. But before you proceed with these potential fixes, it’s best if you create a System Restore Point first just in case something goes wrong after you made changes in the system. The System Restore Point allows you to undo these changes and bring back the previous state of your computer. Thus, you need to create one and then carefully follow the given options below.

Option 1 – Show the recently opened items via Settings

The first thing you can do to fix the problem is to show the recently opened items through the Settings app.
  • Open the Settings app and select Personalization.
  • From there, select the Start option and scroll down until you see the “Show recently opened items in Jump Lists on Start or the taskbar” option.
  • Make sure that its toggle button is turned on.

Option 2 – Try to clear the Recent Items cache

  • Tap the Win + E keys to open File Explorer.
  • Next, copy and paste this link on the address bar: %AppData%Microsoftwindowsrecentautomaticdestinations
  • Once you’re in the given location, you should see multiple files. Now select all these files and completely delete them.
Note: These files are automatically recreated when you interact with the system like performing tasks such as opening apps or accessing files.
  • After that, go to this next location: %AppData%Microsoftwindowsrecentcustomdestinations
  • Once there, delete all of its files and restart your computer. This should resolve the problem.

Option 3 – Try making changes via Registry Editor

The next thing you can do to fix the problem is to apply some tweaks in the Registry by following these steps:
  • Tap the Win + R keys to open the Run dialog box and type “Regedit” in the field and hit Enter to open the Registry Editor.
  • Next, navigate to this registry sub-path: HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersion
  • From there, select the Policies Explorer folder located in the left pane.
  • Then move to the right pane and look for the “NoRecentDocsHistory” entry and right-click on it.
  • Now delete this entry.
Note: This entry is the one that stores the Group Policy setting for “Do not keep the history of recently opened documents. The Group Policy adds this entry to the registry with a value of 1 if you enable the “Do not keep the history of recently opened documents” policy. On the other hand, if you disable the policy by setting it to “Not configured” or deleting it, the Group Policy will delete the entry from the registry, and the system will act as though the value is 0 – for instance, it keeps the history of the recently opened files in your computer.

Option 4 – Try to use the Group Policy Editor

  • Tap the Win + R keys to open the Run utility and type “gpedit.msc” in the field and tap Enter to launch the Group Policy Editor.
  • Next, navigate to User Configuration > Administrative Templates > Start Menu and Taskbar.
  • Afterward, double click on the “Do not keep a history of recently opened documents” policy located on the right panel. This is the policy that lets you enable or disable recent items and frequent places.
  • Now to enable the recent items, as well as the frequent places, feature, click on the “Disabled” or the “Not Configured” option.
  • Once you’re done, close the Group Policy Editor and restart your PC.
Note: If you choose to enable this setting, the system and Windows programs will not create shortcuts to documents opened while the setting is in effect. Aside from that, they also stay but won’t display the existing document shortcuts and the system will empty the Recent Items menu on the Start menu and the Windows programs won’t also display shortcuts in the Start Menu. In addition, the Taskbar won’t also show the recently opened or frequently used folders, files, or websites.
Read More
1 2 3 171
Logo
Copyright © 2023, ErrorTools. All Rights Reserved
Trademark: Microsoft Windows logos are registered trademarks of Microsoft. Disclaimer: ErrorTools.com is not affiliated with Microsoft, nor claims direct affiliation.
The information on this page is provided for information purposes only.
DMCA.com Protection Status