Logo

USB Security key is not working on Windows

As you know, the USB security keys are a secure medium to validate a lot of components in a computer. They can be used to log in to Windows 10. Now with the advancement of APIs, you can authenticate across the website as well using the same key. However, there are times when it may not work and it could be caused by several factors. It could be due to corrupted or incompatible drivers or it could also be due to compromised integrity of the key, and many more.

So if you happen to encounter an issue with the USB security key on your Windows 10 computer, then there are several potential fixes you can try. You can try toggling the Internet Options settings or reinstall the respective USB drivers. You could also try changing the PIN of the security key or disable the antivirus program on your computer or troubleshoot the web browser. Refer to the potential fixes provided below to fix the problem.

Option 1 – Try to toggle the settings of the Internet Options

  • In the Windows Search box, search for Internet Options to open it.
  • Next, go to the Security tab and drag the security slider to the lowest possible security for all the given zones.
  • After that, click on OK to save the changes made and close the Internet Options.

Note that this option is only a temporary measure as it can make your computer vulnerable. Make sure to press the Reset all zones to default level button.

Option 2 – Try to update or reinstall the respective drivers

If updating the drivers of the device did not fix the problem with the USB security key, you can try to update or reinstall the Universal Serial Bus Controller drivers instead of using the Device Manager. Refer to the following steps:

  • First, click the Start button and type “device manager”.
  • Then click on the “Device Manager” from the search results to open it.
  • From there, look for the “Universal Serial Bus controllers” option and then right-click on each one of the USB drivers and select the Update Driver from the menu.

Note: If it is a regular USB drive, then it will be listed as a USB Mass Storage Device but if you have a USB 3.0 device, then look for a USB 3.0 Extensible Host Controller.

  • Restart your PC and then click the “Search automatically for updated driver software” option.

Note: If updating the USB Controller drivers didn’t work, you can try to reinstall them instead.

Option 3 – Try to change the PIN of the security key

If the first two options didn’t work, you can try changing the PIN of the security key. There are instances when the PIN for the security key might have been corrupted. Thus, resetting it can help you resolve the problem.

Option 4 – Temporarily disable Firewall and third-party antivirus

Firewall and antivirus programs are known to block the proper functioning of the USB security key. Thus, your antivirus or firewall programs might be the reason why you can’t download anything on your Windows 10 computer. To isolate the issue, you need to temporarily disable both the Firewall and antivirus programs and then check if you can now download anything from the internet. Do not forget to enable them again as disabling them can leave your computer vulnerable to cyber threats.

Option 5 – Try to troubleshoot the web browser

Troubleshooting your web browser can also help you fix the USB security key problem. You can do that by checking if your web browser supports the security key and you can do that by checking on the official website of your browser. You can also try to update your web browser to its latest version but if it didn’t help, you can try to reinstall it or switch to another web browser.

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

Something happened, we couldn’t start upgrade
As you know, each one of the Windows 10 versions is priced differently and one of the considered more expensive compared to the Windows 10 Home version is the Windows10 Pro. The good thing is, Microsoft allows its users to upgrade from the Windows 10 Home version to the Windows 10 Pro version at a reasonable cost instead of buying the entire license again. However, upgrading your Windows 10 computer is not always that easy and you might encounter some errors along the way. One of the reported errors you could encounter is an error message that says, “Something happened, and we couldn’t start the upgrade”. This kind of problem is due to the problems with the Microsoft Store or the key authorization and to fix it, there are several options you can check out. You can try to run the built-in troubleshooters such as the Windows Update troubleshooter, Windows Store Apps troubleshooter, or Microsoft Accounts troubleshooter. You could also try to reset the Windows Store cache or re-register the Windows Store app. For more details, refer to each one of the given options below.

Option 1 – Try to run the Microsoft Accounts troubleshooter

Since the Microsoft Accounts troubleshooter is not built-in into the Windows operating system, you can download this troubleshooter by clicking on this link.

Option 2 – Try running the Windows Update Troubleshooter

Running the built-in Windows Update troubleshooter could also help you resolve the “Something happened, and we couldn’t start the upgrade” error. 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 3 – Run the Windows Store App troubleshooter

The Windows 10 Store Apps Troubleshooter will help you in fixing the problem in Microsoft Store. This is a great built-in tool from Microsoft that helps users fix any app issues. To use the Windows Store Apps Troubleshooter, follow the steps below.
  • Tap Win + I keys again to open the Windows Settings panel.
  • Go to Update & Security and then go to Troubleshoot.
  • Under the Troubleshoot section, on your left-hand side, scroll down to find Window Store Apps.
  • Then click on the Run the troubleshooter option and follow the on-screen instructions and then see if it fixes the problem.

Option 4 – Try to reset the Microsoft Store cache

As you know, like any other apps, Microsoft Store also caches as you view apps and games so it is most likely that the cache is no longer valid and must be removed. To do so, follow the steps below.
  • Right-click on the start button and click on Command Prompt (administrator).
  • Next, type in the command, “wsreset.exe” and tap Enter. Once you do, the command will clear the cache for the Windows Store app.
  • Now restart your PC and afterward, try opening Microsoft Store again and then try to install your app or update your computer again.

Option 5 – Try to re-register the Microsoft Store app via Windows PowerShell

  • Tap the Win + X key combination or right-click on the Start button and click on the Windows PowerShell (Admin) option.
  • If a User Account Control or UAC prompt appears, just click on Yes to proceed and open the Windows PowerShell window.
  • Next, type in or copy-paste the following command to re-register the Microsoft Store app and tap Enter:
powershell -ExecutionPolicy Unrestricted Add-AppxPackage -DisableDevelopmentMode -Register $Env:SystemRootWinStoreAppxManifest.xml
  • Wait for the process to be completed and then restart your computer.

Option 6 – Try contacting Microsoft

If none of the options worked, you might also want to contact Microsoft for further assistance in fixing the error.
Read More
Setup has failed to determine install choices
Running the Windows Setup does not always go smoothly as you could encounter some errors along the way. One of these errors is the “Something happened, Setup has failed to determine supported install choices” error. The only given option in such cases is to click the Close button and exit the setup. This kind of error in Windows setup can occur when you try to downgrade to the previous version of Windows using the built-in mechanism. This error could be caused by a corrupted image or it is also possible that the set of files are incomplete. Aside from that, it could also be due to compatibility issues or that the module used to downgrade the Windows operating system is not configured properly. To fix this error, you have to run the Windows Setup program in compatibility mode so that you can downgrade Windows. You could also use the image for the lower version of Windows that’s available on the official site of Microsoft. But before you do any of these, make sure that you’re logged in as an administrator. To fix the “Something happened, Setup has failed to determine supported install choices” error, follow the given options below sequentially.

Option 1 – Try to run the Installer of the downgraded version in Compatibility Mode

This is the first thing you can try to resolve the issue instead of going right ahead on making a bootable device. So if you are downgrading Windows, you can try to run the installer in the compatibility mode for that specific Windows version.
  • Look for the setup file.
  • Once you find it, right-click on it and select Properties from the context menu.
  • After that, go to the Compatibility tab and mark the checkbox for “Run this program in compatibility mode for:” and from the drop-down list, select either Windows 7 or Windows 8.
  • You also have to check the “Run as administrator” option.
  • Now click the Apply button and then click OK to save the changes made and check if it has resolved the issue or not.

Option 2 – Try to troubleshoot compatibility

This option is almost the same as the first one except it is an alternative way of fixing the “Setup has failed to determine supported install choices” error in case the first one didn’t work. In this option, you will troubleshoot the compatibility issue.
  • Look for the setup file.
  • Then right-click on it and select the “Troubleshoot compatibility” from the context menu.
  • After that, click on the “Try recommended setting” option. Once the process is done, the error message should be gone.

Option 3 – Run the DISM tool

You can run the DISM tool as well to help fix the error code 0x80244022 during Windows Update. Using this built-in tool, you have various options such as the “/ScanHealth”, “/CheckHealth”, and “/RestoreHealth”.
  • Open the Command Prompt with admin privileges.
  • Then type in the following commands and make sure to hit Enter right after you type each one of them:
    • Dism /Online /Cleanup-Image /CheckHealth
    • Dism /Online /Cleanup-Image /ScanHealth
    • exe /Online /Cleanup-image /Restorehealth
  • Do not close the window if the process takes a while as it will probably take a few minutes to finish.

Option 4 – Try using the image from the official site of Microsoft

If none of the options given above worked, you can try to use the image from Microsoft’s official site. This would help, especially if the error is caused by a corrupted image or image folder with incomplete files.
Read More
Fix 0xC03A0005 error in Windows 10
When performing a Windows Backup to the NAS device (backup to a network share) that is running Samba, fails with an error message The backup failed, The version does not support this version of the file format (0xC03A0005). The problem occurs because of a conflict with the VHD file that is created by Windows Backup and is mounted during the process. There are three types of VHD files:
  1. Fixed,
  2. Expandable
  3. Differencing
If the VHD file is a sparse file that is not supported by the native VHD driver, the mounting will fail, and you will get this error. An example VHD file is one that keeps expanding depending on the backup size. The problem occurs only in the case of  File Level backup (file/folders in a volume) but not on the block level backup as the vhd file is never mounted. However, in the case of File Level Backup, the vhd is mounted, created by Windows Backup, which does not support the mounting of sparse files.

The solution is to use Strict Allocate: option in the smb.conf file

Login to SMB using SSH. Open the configuration file using the VI editor located at /etc/samba/smb.conf. If the option is not there, you can manually add strict allocate = yes which will make sure there are no sparse file that is created.
Read More
Delete last 15 min of browsing history on phone
google browsing 15min history deleteAs previously announced by Google feature to quickly delete the last 15min of browsing history via one button is rolling out now. For now, only Apple users will be available to use this feature but the Android update is scheduled for later this year, a strange move by Google but it is what it is. For anyone who is unfamiliar with this feature, basically, Google wants a quick way to remove the last 15min of browsing history as a supposedly stated request to make deleting browsing history much easier. Google came up with this idea so you can keep the previous history intact but remove just 15min time frame, no additional explanation was given on why 15 but I presume it is some round number that came up as the middle one with research, read telemetry info. Using quick delete requires being signed into Search with a Google account. Users can access the option by simply tapping on the avatar icon to access the settings then choosing "Delete last 15 minutes."
Read More
Ordinal not found, dynamic link library Error
If you encounter an error message saying, “The ordinal xxx could not be located in the dynamic link library C:/Program Files (x86)/Microsoft VS Code Insiderscode – insiders.exe“ and you see a reference of a missing DLL file, then this indicates that the software is trying to locate the related DLL file, however, it is missing, hence the error. The error mentioned “Ordinal” which refers to the order of a number mathematically, e.g. 1st, 2nd, etc. And in this error message, the ordinal is referring to an Xth file of an XX.DLL file which is missing which is why you’re getting this kind of error. When you get this particular error, it means that your computer is missing the Microsoft Visual C++ Redistributable program. As per the error message, XXX is a number that in turn is the Ordinal. There is also another common error related to Ordinal which says, “The ordinal 12404 could not be located in the dynamic link library mfc90u.dl”. The error message could be referring to any DLL in the message. And since all these DLL files are part of the package, the error changes quite a bit as the Visual Studio looks for that DLL file. To fix this error, here are some suggestions that might be of help.

Option 1 – Try installing Microsoft Visual C++ Redistributable

As pointed out earlier, the error pops up when the Microsoft Visual C++ Redistributable program is missing on your computer. Thus, you need to download it from the official website of Microsoft. Once you’ve downloaded the Microsoft Visual C++ Feature Pack Redistributable Package, install it and then check if the error is now fixed.

Option 2 – Try to install OpenSSL

If you encounter the same error message but it points out that the LIBEAY32.DLL file is missing, then you have to install OpenSSL. In such a case, you will see the following error message:
“Ordinal not found. The Ordinal [Xxxx] could not be located in the Dynamic Link Library Libeay32.dll.”
 Make sure that when you install OpenSSL, you do it into the Windows system directory since the Libeay32.dll file is related to security.

Option 3 – Try to check Windows Updates

There are instances when Microsoft rolls out the framework and related updates via Windows Updates. It could be that an update related to DLL is still pending which is why you need to check Windows Updates. To do so, go to Settings > Update and Security and from there check if there is any pending update. If there is, you need to install that update and then restart your computer if needed.
Read More
How to Fix Hal.dll Error Code

Hal.dll Error - What is it?

Hal.dll error is a type of dynamic link library error that is common in Windows. Hal.dll is the critical file in all Windows installations and the error occurs when this file cannot be correctly loaded. Hal is the abbreviation for ‘Hardware Abstraction Layer’. Communication between Windows and different PC hardware is facilitated with this file. The error causes inconvenience and hampers your ability to use the hardware. The error message is displayed in either one of the following formats:
  • "Windows could not start because the following file is missing or corrupt: C:Windowssystem32hal.dll. Please re-install a copy of the above file."
  • "Cannot find WindowsSystem32hal.dll"
  • "C:WindowsSystem32Hal.dll missing or corrupt: Please re-install a copy of the above file."

Solution

Restoro box imageError Causes

Hal.dll error occurs due to multiple reasons. These include:
  • BIOS are not configured properly
  • Damaged hard drive
  • Hal.dll file is missing, damaged, or corrupt
  • Viral Infection

Further Information and Manual Repair

To fix and resolve the Hal.dll error code on your system, you don’t always have to hire a professional technician for the job. Though Hal.dll error is critical but easy to resolve, here are some solutions that you can try to fix it right away even if you don’t have any technical expertise.

1) Restart Your PC

Sometimes this can be a temporary error, so try restarting your PC. If the error is resolved then that’s great. However, if it still persists, then try other solutions.

2) Change the Boot Order

The underlying cause for the Hal.dll error is often not properly configured BIOS; if this is the cause, simply change the boot order of the bootable devices like your hard drive. The BIOS setup utility is used to change boot order settings. This can be done by restarting your PC. Once you restart, press F2 to enter the setup. Now go to SATA operation and change RAID AHCI to RAID ATA. Save changes and then exit. By doing so, you will be able to re-configure the BIOS and resolve the error.

3) Use BOOTMGR

Another way to resolve is to update the volume boot code to use BOOTMGR. To do this, access advanced startup options, open the command prompt and type bootsect command and then press Enter. Run the command and then you’ll get the following message: C: (\?Volume{37a450c8-2331-11e0-9019-806e6f6e6963}) Successfully updated NTFS filesystem bootcode. Bootcode was successfully updated on all targeted volumes. After that close the command prompt. This is most likely to resolve the error.

4) Repair Registry With Restoro.

In case the error is still not fixed, then this means that the problem is bigger than you thought. It may be due to hard drive failure, viral infection, or sometimes because of hal.dll file corruption. In the event of these error causes, it is recommended to download Restoro. Restoro is an advanced, next-generation, and multi-functional PC repair tool embedded with numerous utilities like a registry cleaner, an antivirus, and a system optimizer. The registry cleaner utility:
  • Scans for all registry issues
  • Wipes out the unnecessary files saved in the hard drive like the junk files, cookies, internet history, and temporary files
  • Cleans the disk
  • Repairs damaged and corrupt files
  • Restores the registry
The antivirus utility scans and removes all malicious software from your PC including viruses, Trojans, malware, adware, and spyware. Simultaneously, it also boosts the speed of your system. It is safe and efficient PC repair software. It has simple navigation and a user-friendly interface. Whether you are using Windows 7, 8 or Vista, it is compatible with all. It can also be used on Windows XP. Click here to download Restoro and resolve the Hal.dll error today!
Read More
Steam beta introduces no rollback game updates
The latest steam beta update has introduced code that will prevent downloading and installing previous game versions via the steam client. steamFor many people that are playing online games, this is not such a big deal since they always must have the latest version in order to play their games but for other ones, this has arrived as a bit of a problem. Many people preferred older game versions since often updates can change certain mechanics inside the game making it different as an experience or introduce some elements that not everyone likes. So far, people could use the steamDB site to find depo of the game versions you would like to play and download it but if this beta code goes live that will not be an option anymore. Now, playing old games without updates could also be used for nostalgic reasons and these people have also been cut off with this update. It is important to point that update is still in beta client only but users have already started to voice their opinions asking Valve not to place it live. In the end, it will all depend on Valve’s decision will they listen to their customers or decide to push updates on live service.
Read More
Best Free Stock Photo WEB sites of 2021
The Internet has become an essential human right as stated in many countries around the world. Among many benefits that the internet offers are various sites selling Stock photographs for all of your needs. No matter are you working in the design industry or just want to make something for yourself there is a high chance that you will eventually need some photos for your work. Stock photo workIn this article we are going to go through the best Stock Photo sites BUT, we will focus on ones that give you royalty-free Photos, so no paying stuff here, just the best of the free world.

Adobe Stock free collection

https://tracker.tradedoubler.com In the last year of 2020, Adobe has made more than 70000 photos, videos, illustrations, and templates completely free. You are free to use provided material for personal, commercial, and creative work. Since this is adobe’s collection, well part of it, all of the given material is of high quality. You can also upload pictures to do a visual search to find similar ones.

Unsplash

https://unsplash.com/ Unsplash is a place where you will go if you want to find free-quality pictures. Since a lot of photographers are donating their selected work there you will find always consistently high-quality work there. Unsplash also has applications for Android and iOS so you can go through their stock on your mobile device as well. Photos are organized into categories that make searching much easier.

Pixabay

https://pixabay.com/ Pixabay is maybe well known due to its huge collection of both images and illustrations. There are tons and tons of stuff in there all royalty-free for use. The bad side is due to its strongest one, since there are so many images on its site, quality is not always top-notch like on Unsplash for comparison but you might find stuff here that you will not be able to do it anywhere else.

Pexels

https://www.pexels.com/ This is a great choice for web or app developers since you can find various UI ideas and designs on it. Many UI ideas ready for implementation will be found here and a decent amount of photos as well. The overall site is great for that purpose but please do read the license on each image since some of them are limited in use and cannot be used in commercial projects.

Pikwizard Stock

https://www.pikwizard.com/ Stock photography from Pikwizard is a place where you will go if you need high-quality pictures of people. There are a lot of images of people in natural poses doing things, nothing cheesy or unnatural, just pure and great-looking ones. Among other things is also a vast selection of cityscapes. Sadly as in the case of Pexels, not all pictures have the the same license so make sure to check terms of use before using one.

Gratisography Stock photos

http://gratisography.com/ Last on our list is a Stock site with a strange name and if you visit it you will see that it is not just the name that is strange. Gratisography is a stock site that aims to provide you with high-quality photographs but in different take from another site. These images are more artistic and surreal than other competitor sites. Images are uploaded almost on daily basis but since thematic is somewhat niche collection itself is relatively small.

Conclusion

That’s it, we hope that we have helped you in any way to find some material for your next project and I hope to see you soon back on errortools.com. Take care and all the best.
Read More
Problem prevented document from being scanned
If an error suddenly pops up that states, “A problem prevented the document from being scanned” when you’re scanning a document in your computer, then you’ve come to the right place as this post will guide you on how exactly you can fix the problem. A lot of users have reported that they receive a two-layer error message when they try to scan their documents – the first screen throws an error message that says, “Error applying Settings to Driver” while the next error message states, “A problem prevented the document from being scanned”. As a result, the scanning won’t be completed which defeats the whole process of buying a printer with a scanner. As you can see the two error messages point to two different situations, while the other one is pointing at the driver, the second one points to the scanning problem. To resolve these issues, there are several suggestions you need to check such as follows:

Option 1 – Run the Printer Troubleshooter

One of the first basic troubleshooting you can perform to resolve the printer issue is running the Printer Troubleshooter. This built-in troubleshooter can detect and automatically fix the problem for you. To use it, follow these steps:
  • Tap the Win + R keys to open the Run dialog box.
  • Next, type “msdt.exe /id PrinterDiagnostic” in the field and click OK or hit Enter to open the Printer Troubleshooter.
  • Then click the Next button and follow the next on-screen instructions to fix the issue with the printer.

Option 2 – Try updating the Printer drivers

You might also want to try updating your printer drivers. All you have to do is locate the USB Composite Device. For complete details, follow the steps below.
  • First, click the Start button and type “device manager”.
  • Then click on the “Device Manager” from the search results to open it.
  • From there, look for the USB Composite Device option and right-click on it, and select the Update Driver from the options.
  • Restart your PC and then click the “Search automatically for updated driver software” option.
Note: You also have the option to download the latest version of your Printer from the manufacturer’s website.

Option 3 – Try to reset the settings of the Printer or reinstall it

If none of the two options given above worked, you can try to either reset the printer settings or reinstall the printer so that it can go back to its default state. However, if it doesn’t work, you can try to uninstall the printer as well as its related drivers. To do so, follow these steps:
  • First, go to Settings > Devices > Printer and Scanners.
  • After that, select the printer and select the Remove Device option.
  • Once done, restart your computer and check again and see if the error is now fixed.

Option 4 – Try to modify the Registry settings for the Still Image devices

In case you don’t know, Windows has Registry settings for the Still Image devices like Scanners and Printers. And these devices have vendor-specific settings that if ended up getting corrupted or misconfigured then you will most likely encounter errors like “A problem prevented the document from being scanned”. Thus, to fix this error, you can try modifying the Still Image devices registry settings, and to do that, you need to follow the instructions below but before that, make sure that you create a System Restore Point first.
  • Once you’ve created a System Restore point, tap the Win + R keys to open the Run dialog box and type “Regedit” in the field, and then hit Enter to open the Registry Editor.
  • Next, navigate to this registry key: HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlStillImage
  • From there, right-click on the “StillImage” registry key and delete it.
  • After that, exit the Registry Editor and restart your computer.
  • Once your computer has restarted, Windows will recreate the settings of the Still Image devices back to their default settings.
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
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