Logo

How to place different wallpapers on 2 screens

Two monitor systems are not such a rarity like they were just a couple of years ago. More and more people are finding out the benefits of having 2 screens instead of one no matter if you play games or do serious work. So how technology has moved forward and new norms so have Windows and we can now set different wallpapers to different screens very easy, a task which was very difficult in the past.

  1. Go to the Personalization option in the Control Panel.
  2. Right-click on your home screen and select the Personalize option from the menu.
  3. In the new window, you can browse for images you wish to set as wallpaper on both of your monitors. This way, the images would be preloaded in the “Choose your picture” option.
  4. Right-click on the image. Doing this will open a new menu that will allow you to set wallpapers for each screen. There is also another option called “Choose a fit” which gives you the option to select the fit of the wallpaper.
  5. Choose one wallpaper for “monitor 1” and a different wallpaper for “monitor 2.” You will now see your dual-screen setup customized with two different wallpapers.

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

How to turn off Live Photo on iPhone

Apple introduced the Live Photo feature way with iPhone 6S in their iOS9. Live Photo idea was that each time you take a photo, your phone will capture a few seconds of video along with sound and all of that is sent when you share your photo. This of course can sometimes be really bad when some not wanted audio gets recorded in the background.

live photo

Since the feature was introduced it has been set as the default option when taking pictures so each time you snap one you just capture a small amount of video and audio along. Good thing is that this feature can be turned off and the even better news is that you can edit your old photos to remove back video and audio.

How to share only photo

You can keep your Live Photos but share only a single still typical photo if you wish. Go to the photos app on your phone and select the photo you wish to share. Press the Share button on the bottom left part of the screen and once the Share menu appears tap on the Live button in the upper left corner of the selected photo. The button should turn grey and become slashed and now you can share only still photo. This is only temporary for this one specific share so next time you want to do this you will have to go through the process again.

How to disable Live Photo

If you are not happy with the previous solution and really do not want to turn off the Live feature each time you want to share a photo or you just simply do not want the feature at all there is way to turn if off for good. Take note that you can temporarily not use this feature just by opening the camera, switching to photo mode, and then tapping on the Live photo button on the toolbar that looks like three circles one inside another. This will temporarily turn the Live Photo feature for this session but next time when you open the camera by default it will be turned on again. This is a good approach if you want the feature but sometimes you just want not to use it.

In order to turn it off completely go to the settings of your phone and go to Camera and then preserve settings. inside the preserve setting turn the switch Live Photo to ON position, now go-to camera and again click on the live photo button to turn it off but this time setting will be saved and next time you open the camera it will not be ON.

Editing old Live Photos

As stated before you can edit your old pictures in order to make them stills. You can edit them to remove audio only but keep the video part, or you can completely remove everything and convert them into typical still images.

In order to only remove audio from your Live Photos go to pictures and select one that you wish to change, click on edit, and inside edit tap on the Live Photo icon (three circles). Next tap on the audio icon located in the top left corner of your screen and it will change into the mute icon. Click on done and you are finished.

To completely remove the Live photo go to Photos, select picture, click on edit and select the live photo button again. This time tap and hold the Live button next to the sound until it turns gray with a strike through it. Click on done and you are finished.

Read More
Computer boots to the BIOS when you turn it on
A number of users reported lately that their Windows 10 PCs automatically boots into the BIOS whenever they start their computers. And when they tried to exit the BIOS and restart their computers, it still boots into the BIOS. If you are one of the users who experience the same problem, worry not for this post will walk you through what you can do to resolve the problem. Each time a Windows 10 computer boots, it goes through a lot of processes and one of them is where it checks the computer for any hardware issue such as hard drives, peripherals, as well as external devices. So if it finds some issue, the computer will halt the boot process and will boot into the BIOS. To fix this, there are several suggestions you can try. You have to check if you’ve pressed any key, especially the F2 or F12, or Del keys. You also have to check the peripherals and external devices in your computer or update the BIOS or reset it. For more information, make sure to follow each one of the options laid out below.

Option 1 – Try to check for any pressed key

The first thing you can do is to check for any pressed key. This might not make any sense but a pressed key can actually cause this problem. So you have to check if you have the F2 or F12 or Del buttons pressed since these are hardware keys that are usually set by the OEM to boot into the BIOS.

Option 2 – Try checking the physical device connections

You might also want to try checking if there are other devices that are connected to your PC. This is because the configuration of the BIOS or UEFI might be configured in a way that any external device connected to the computer has a higher boot priority compared to the hard disk.  And if it’s really the case, the externally attached disk might be the drive your computer is trying to boot into and not the hard disk. In such cases, Pen Drives, USB storage devices, CDs, DVDs, and so on, are included in this category of physical device connections.

Option 3 – Try to set a proper boot device

If the Boot Manager wasn’t able to locate a proper boot device, then it could be the reason why your computer boots into the BIOS when you turn it on. Thus, you have to check if there is an available proper boot device. You can usually find it under the Boot priority section. However, if you’re unable to locate your hard drive or SSD under the Boot device, then you have to change the hard drive but you have to check first if it is properly plugged in and that it works on other computers. If it works on other PCs, then the problem lies in the motherboard of your computer, and in that case, you have to consult its manufacturer.

Option 4 – Try to update the BIOS

Updating the BIOS can help you fix the issue but as you know, BIOS is a sensitive part of a computer. Even though it is a software component, the functioning of the hardware depends on it largely. Thus, you must be careful when modifying something in the BIOS. So if you don’t know much about it, it’s best if you skip on this option and try the other ones instead. However, if you are well-versed in navigating the BIOS, then follow the steps below.
  • Tap the Win + R keys to open the Run dialog box.
  • Next, type “msinfo32” in the field and press Enter to open System Information.
  • From there, you should find a search field on the bottom where you have to search for the BIOS version and then press Enter.
  • After that, you should see the developer and version of the BIOS installed on your PC.
  • Go to your manufacturer’s website and then download the latest version of BIOS on your computer.
  • If you are using a laptop, make sure that you keep it plugged in until you have updated the BIOS.
  • Now double click on the downloaded file and install the new BIOS version on your computer.
  • Now restart your computer to apply the changes made.
Note: If updating the BIOS didn’t help, you might want to consider resetting it instead.

Option 5 – Try resetting the BIOS/UEFI configuration

You might also want to reset the BIOS configuration which will lead to arranging the boot configuration since it is intended by the manufacturer. Note that this will get rid of any blockage in the boot process. All you have to do is take out the CMOS battery for a couple of seconds and then put it back again. After that restart, your computer and will be booted directly into Windows. Resetting the BIOS would also get rid of any password set for BIOS and you need to change your CMOS battery in case it didn’t work.
Read More
How to Set up and Use a Ram Drive in Windows
RAM drive is basically a hard drive made of your RAM memory. Altho this kind of drive can not and is not available to save any data when the computer is shut down its advantage is lightning fast speed since the application is installed in RAM itself, it is loading from there and executing from there. Creating this kind of drive which will use your RAM memory, well part of it can not be done natively in Windows, you will need some kind of application for this task. Luckily there is a free open source application for this kind of task. ImDisk, you can download the application here. ImDisk Toolkit is an application for managing virtual drives. It also includes a utility that allows the creation of RAM drives. Download the application and install it, make sure that you select all components on the installation selection screen. After installation is finished double click on icon labeled RamDisk Configuration. Once the application is running adjust the disk size in the box at the top of the window for your RAM drive. Click “OK” at the bottom of the window. This will create your RAM drive, which is just a virtual disk that’s assigned to your computer’s RAM. The process happens transparently, so there’s nothing you need to do. If you get a warning about shutdown settings, click on the “Shutdown Settings” button. Then unlock the settings pane with your administrator password. Finally, uncheck the checkbox next to “Turn on fast startup (recommended)” and click “Save Changes” at the bottom of the window. Your RAM drive is now ready for use. Fast Startup speeds up the process of turning on your computer by saving a system state between completely off and hibernation to your hard drive. This happens when the computer writes the contents of your RAM to a stable hard drive. As you may guess, this could mess with your RAM drive’s ability to preserve and track its data. With Fast Startup off, boots may take slightly longer, but it’s doubtful that you’ll notice much. Disabling a fast startup will satisfy the warning window, but let’s consider why. This will also allow ImDisk to save your RAM drive’s data to an image file when you shut down your computer. If you don’t, the contents of your RAM drive will be erased completely every time, with no saved image storage. It would also disable the RAM drive’s ability to load the previous content. Basically, the drive would act much more like RAM and much less like a disk. Depending on your use case, that may be disappointing or unusable. You can access and use it just like any normal hard drive. It shows up in Windows’s file explorer just like any other drive. However, a Ram drive is exponentially faster than traditional types of storage. And we mean exponentially. Whereas an SSD might offer 300 to 500 MB when reading from the disk, a RAM drive can offer more than 5000 MB, even on mediocre memory sticks.
Read More
Fix Invalid file handle Error during ...
If you encounter an error saying, “Invalid file handle” when you try to rename, copy, delete a file or other operations in your Windows 10 computer, then read on as this post will guide you in what you can do to fix it. This kind of error pops up when the operating system tries to carry out an operation on a folder or file using the following words:
CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9
When you rename or create a folder or file using the reserved words given above, you could encounter an error that says, “The specified device name is invalid”. This occurs since these words are Windows system reserved words that you can’t use, unlike any other words. Thus, if you have a folder or file which contains any of the reserved words on another computer that runs a non-Windows operating system and you try to copy or rename it Windows, then it’s no wonder why you’re getting this error message. In such cases, you can always click on the Skip button to stop the operation. However, if there are various folders or files, you can just use the Command Prompt to carry out the task. All it takes is a simple command that will get rid of the folder as well as the files in it. How? Refer to the instructions given below. Step 1: Tap the Win + R keys to open the Run utility. Step 2: Next, type “cmd” in the field and then tap Enter to open Command Prompt. Step 3: After opening Command Prompt, execute the following command:
rd \.file-folder-path /S /Q
Note: The “rd” command will remove the directory or the folder while the “\.” command will select the current computer. The “/S” command, on the other hand, helps you in removing all the sub-directories and the files that are in the CON folder. The “/Q” command is not really mandatory since it helps you remove everything silently without any confirmation message. For example, if you have a folder named “CON” located on your Desktop, the path will be like this “C:/Users/<username>/Desktop/CON”. In this case, the command should be like this:
rd \.C:Users<username>DesktopCON /S /Q
However, if the error pops up for a whole different reason, you could use the following command instead to remove the reparse point extended functionality. Once you’ve entered the given command below, you should now be able to delete the file.
FSUTIL reparsepoint delete C:Users<username>DesktopFileName DEL C:Users<username>DesktopFileName
Read More
Microsoft Store not opening
When Windows 10 was introduced as an upgrade to Windows 7 and 8, a lot were thrilled because of its new features. One of the most interesting features that this has is the Microsoft Store. Just like in our tablets and smartphones, we can now download our favorite apps from a trusted source. Without the Microsoft store app, you can’t download any applications that you can use on your computer. But what happens if you can’t open your Microsoft Store or you accidentally uninstalled it? The most common error that users encounter when accessing Microsoft Store is the error code 0x80072efd. This error code appears when there is a problem with the internet connection. To resolve this, troubleshoot your modem by doing a simple power cycle. Turn off your modem and wait for a couple of minutes and turn it back on. It should refresh your internet. This works if there is really no problem on the Service provider’s side. Disable your Proxy server, if you are using one to access the internet. To do this, press Windows + R keys on your keyboard. Type “inetcpl.cpl” in the box and go to Connection. Next, click on LAN settings then tick on the box next to Automatically detect settings. Uncheck the box below Proxy Server Among the useful apps that came with the Windows 10 upgrade is PowerShell. It allows you to install and uninstall individual and all apps by using a series of commands. So you don’t have to worry if you can’t find your Microsoft Store or if you accidentally delete it. To access PowerShell, type in the word PowerShell into the search box found beside your Window Icon. Look for PowerShell from the results and right-click on it and hit Run as Administrator.

When you are in the PowerShell window, enter the command below:

Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)AppXManifest.xml"
Another option is to download a Windows Update Troubleshooter. After you download it, open the troubleshooter tool and follow the steps. If you saved the file instead of directly opening it, go to the folder where the troubleshooter was saved and double click on the wu.diagcab file to rub the troubleshooter. One of the most interesting error codes that you might encounter when accessing the Microsoft store is error code 1. This particular error code is resolved by changing your PC’s region to the United States. To do this, go to Settings and look for Time & Language. Then go to region and language. Under the Country or region, choose the United States from the dropdown menu then restart your computer. The troubleshooting procedures above are the most common solution to resolve the problem on Microsoft Store issues but there are times that these procedures won’t work. If you are not confident to resolve this through the procedures mentioned in this article, there are so many tools online that you can download to help you out. It also helps to contact Microsoft or consult a technician to ensure that you are doing the correct procedure.
Read More
Fix Windows Update Error 0xc1900403
Running the Windows Update service does not always go well as from time to time, you could encounter some errors when using it. One of these errors is the Windows Update Error 0xc1900403. In such cases, you will see the following error message under the Windows Update section:
“There were problems installing some updates, but we’ll try again later, If you keep seeing this and want to search the web or contact support for information, this may help – 0xc1900403”
The log files displayed in the error message may include, “0XC1900403 – MOSETUP_E_UA_CORRUPT_PAYLOAD_FILES”. This indicates that the payload files are corrupted which is why you’re getting the Windows Update Error 0xc1900403 and to fix it, you can try to restart your computer and install the updates again or reset the Windows Update-related folders. You could also run the Windows Update troubleshooter or use either the Standalone Installer or the Media Creation tool. For more details, refer to each one of the options provided below.

Option 1 – Restart your computer and try installing the Updates again

Restarting your computer can also help in fixing the Windows Update failed to install error 0x80240034. There are cases where the issue resolves on its own as it could just be some simple network or PC error.

Option 2 – Delete the contents in the Software Distribution folder and Catroot2 folder

  • 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 start cryptSvc net start bits net start msiserver
  • After entering these commands, it will stop the Windows Update Service, Background Intelligent Transfer Service (BITS), Cryptographic, and the MSI Installer
  • 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.
After resetting the SoftwareDistribution folder, you need to reset the Catroot2 folder to restart the services you just stopped. To do that, follow these steps:
  • Type each one of the following commands.
net start wuauserv net start cryptSvc net start bits net start msiserver
  • After that, exit Command Prompt and restart your computer, and then try to run Windows Update once more.

Option 3 – Try running the Windows Update troubleshooter

You might also want to run the Windows Update Troubleshooter as it could also help in fixing Windows Update Error 0xc1900403. 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 4 – Try to use the Media Creation tool

The Media Creation tool in Windows allows you to use the ISO installation file to make a bootable device that you can use to install Windows on your PC. Note that this is kind of different from the usual installation process as it could erase your computer’s current settings and data on the primary drive. Thus, before you proceed, you need to backup all your data into some removable drive and then use the Media Creation Tool to make a bootable drive.
  • After making the bootable drive, you need to plug it into your computer and then reboot.
  • Next, tap the F10 or Esc key to open the boot options.
  • Now set the boot priority of the removable drive the highest. Once the setup comes forth, follow the next onscreen instructions and install Windows without any problems.
Read More
Downloads folder loads slowly in Windows
If you are frequently experiencing slow loading of folders in your Windows 10 computer, Downloads folder for instance, then you’ve come to the right place as this post will help you resolve such issue. Slow loading of folders is a common problem faced by many users even when they are using the latest hardware like SSDs. So if you experience the same thing, be it with the Downloads folder or other folders on your computer, there is a way to resolve that issue and make the folder load faster. Slow-loading means when you attempt to open the folder, it takes a couple of seconds before it displays its contents. In such cases, you’ll see a green loading address bar that says “Working on it” which can get quite annoying especially if you are in a hurry. And if you notice that this only happens in the Downloads folder, there certainly is something wrong. This kind of problem can occur on SSDs and normal hard drives. The main reason behind the occurrence of this problem is that the folder may have been optimized for viewing photos or other media formats which is why it takes quite longer than usual to load all the files and their thumbnails. However, since the Downloads folder usually contains all kinds of files like documents, zip files, audio/video files, etc. there is no need to optimize this folder for media files only because doing so is only going to make the Windows File Explorer slow in loading the folder’s contents and thumbnails which does not exist for many files.

Option 1 – Configure the Downloads folder

  • Right-click on the Downloads folder or the folder you’re having trouble opening.
  • Then click on Properties and go to the Customize tab.
  • After that, click on the “Optimize this folder for” option in the drop-down menu.
  • Next, select General items from the drop-down which might have been set by default to Pictures or Video.
  • You also have the option to apply this template to all the subfolders, that is if your folder has any subfolders.
  • Now apply the settings and restart Windows Explorer.
Note: Once you’ve completed the steps above, it should now make the folder content display a lot faster than before. Now try to open the Downloads folder which would not take much time as you will see the changes right away.

Option 2 – Run CHKDSK to check your disk for errors

When it comes to some issues concerning the hard drive or removable devices, there is a utility in Windows that might help which is called “chkdsk”. This error check utility can help with several issues in the system including File System Error -2147219196.
  • Tap the Win + S keys to open the Search box.
  • Then type “command prompt” in the field and from the search results that appear, right-click on Command Prompt and select “Run as administrator”.
  • After opening an elevated command prompt, copy and paste the following command and hit Enter:
chkdsk /r /f
  • Now if you are prompted to run CHKDSK after your reboot your PC, just tap Y and reboot your PC.
  • If CHKDSK is not able to find any errors, tap the Win + E keys and navigate the access window. From there, right-click on the concerned drive and click on Properties.
  • After opening Properties, click on the tab Tools and then click on the “Check” button under the Error-checking section.
  • Wait until the process is completed and then restart your computer.
  • Once your computer has restarted, try accessing the file and check if the error persists.
Read More
Can’t drag and drop files or folders
Why Can’t drag and drop files or folders happens? In case you don’t know, there is a feature in Windows 10 called drag and drop that can help you move or copy files or even folders from one location to another. This feature is useful and can help you move or copy folders and files easier and quicker. However, if you encounter some problem while using this feature, worry not for this post will guide you on what you can do to resolve the problem. There are several suggestions you can check out to fix the problem. You can try to simply tap the Esc key or you could also troubleshoot the problem in a Clean Boot State. Aside from that, changing the drag height and width or disabling the User Account Control via Registry Editor might also help. For more details, refer to the instructions laid out below.

Option 1 – Try to tap the Esc key

According to some users who experienced the same dilemma, by simply tapping the Esc key, they were able to resolve the problem. All they did was tap the Esc key before they drag and drop the folder or files. Thus, you can try doing the same thing as it might also work for you. After you tap the Esc key, you have to check all the background applications and if you see some that could be related to the hotkeys or keyboard, you might have to disable or remove them. Once done, check if the problem is fixed or not.

Option 2 – Try troubleshooting the problem in a Clean Boot State

There are some instances that some conflicting programs installed in your computer might be the reason why you’re having trouble using the drag and drop feature in Windows 10. To identify which program is causing the problem, you need to put your computer in a Clean Boot State. To do so, follow the steps below.
  • 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” checkbox 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 to configure Windows to use the usual startup, just simply undo the changes.)
  • From there, start to isolate the problem by checking which one of the programs you installed recently is the root cause of the problem.

Option 3 – Try changing the drag height and width

The next thing you can do to resolve the issue is to try changing drag height and width by following these steps:
  • Tap the Win + R keys to launch the Run utility and type “Regedit” in the field and then tap Enter to open the Registry Editor.
  • Next, navigate to this registry key: HKEY_CURRENT_USERControl PanelDesktop
  • From there, choose to modify both the “DragHeight” and “DragWidth” located on the right pane.
  • After that, change the value to a very high number. Note that these values are nothing but pixel size to drag and drop folders or files.

Option 4 – Try disabling the User Account Control or UAC via Registry Editor

  • Tap the Win + R keys to launch the Run utility and type “Regedit” in the field and then tap Enter to open the Registry Editor.
  • After that, navigate to this registry key: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
  • From this path, modify the value of “EnableLUA” from 1 to 0. This should disable the UAC in your Windows 10 computer.
Read More
Stop showing browser tabs when alt+tab, Win11
windows browser tabs removed alt tabAs in previous Windows 10, inside Windows 11 also when you press the ALT + TAB key combination you will get a preview of all running applications along with all Browser tabs so you can go through them and pick the one you want to switch to. Alto, I personally am a big fan of alt-tabbing, I must admit that I am not a big fan of having multiple browsers tabs on screen when I do press key combo. Luckily there is a very easy way to turn this feature off. Turning browsers tabs thumbnails off
  1. Press ⊞ WINDOWS + I to open settings
  2. Click on System in the sidebar
  3. Scroll down and select Multitasking
  4. Find Alt + Tab section and click on the drop-down menu
  5. Pick Open Windows Only
  6. Close settings
Now when you press the ALT + TAB key combination you will still see your browser but only an active tab in it instead of all tabs as different preview thumbnails.
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