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.

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

What to do if Windows 10 Store is not downloading Apps
The store is not downloading Apps: As you know, the Windows Store is one of the places where you can download Windows apps. However, there are times when you might not be able to do so for some reason. For instance, if you search for an app and click on the get it now button, instead of downloading the app, nothing happens and there are also cases when the download will start but the page will refresh after half a second. When this issue happens, you won’t be seeing any error message or warning at all. So you’ll just have to look at the download get started where the page will refresh and you’ll be back at the Get button. This issue in the Windows 10 Store only happens for a few apps so even though you are able to download some apps, you might be able to do on other ones. Note that the apps affected are random and there is no specific set of apps that cause this issue while downloading and that this problem will repeat again each time you click on the Get it now button. This issue is definitely caused by Windows itself and has something to do with a bug in the Windows store which was brought by the latest Windows Update. It’s already a known issue among other Windows 10 users who are also suffering the same dilemma. So until Microsoft releases another update to fix this bug, you will have no choice but to deal with it in the meantime. On the other hand, you can also try a couple of suggestions laid out in this post. Follow the steps in every option given below to fix the issue with the Windows 10 Store.

Option 1 – Try signing out from the Microsoft Store

A lot of Windows 10 users were able to resolve the problem by simply signing out and signing back into the Microsoft Store. How? Follow these steps:
  • Go to the Microsoft Store.
  • Next, go to the Get page of the app you were trying to download.
  • And then click on your account picture located in the top right corner of the window and select your account.
  • Sign out from your account and after that, click the Get button to download the app.
  • After that, a new window will appear where you’ll have to select your account and click on Continue.
  • Now enter your credentials. Once you do, the app should be downloaded automatically after you’re signed in. And that’s about it.
Note: Keep in mind that this option is merely a temporary solution to the problem and once you close the Microsoft Store and open it back again, you will be back to square one.

Option 2 – Wait for the Windows Update

As mentioned, this is already a known issue and a lot of Windows 10 users have already complained about it to Microsoft so a bug fix will be soon released in the latest Windows Updates.
Read More
How to place control panel in File explorer
Recent Windows updates have been slowly but surely moved a lot of control panel features into settings. This indicates that in the long term goal is probably to get rid of the control panel altogether. No matter how the setting app is easy to use and good there are still things in the control panel that we need and we will still need until they are all moved in the setting application. There are several ways to open and get to the control panel from run dialog to shortcut keys but one perhaps more convenient and easiest way is to just simply have in file explorer right beside hard drives double click away. In order to place the control panel icon inside file explorer, we will need the help of our old friend: the registry editor. As always playing with the registry editor can cause some instability and it is always a smart thing to back up it first before attempting any kind of edits.

Registry editor adding a key

To open registry editor press ⊞ WINDOWS + R to open the run dialog and inside type in REGEDIT followed by ENTER Once the registry editor is opened locate the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer Right-click on the NameSpace folder on the left navigation pane and then select New > Key Rename the key with {21EC2020-3AEA-1069-A2DD-08002B30309D} (This CLSID code will add access to the Category view of the Windows 10 Control Panel) or with {26EE0668-A00A-44D7-9371-BEB064C98683} (This CLSID code will add access to the large icons view of the Windows 10 Control Panel) Save and exit the registry editor Now when opened, file explorer will show a control panel icon for easy access.
Read More
The server did not register with DCOM
There are times when after you upgrade your Windows operating system, the System Logs under the Event Viewer will display an error message saying, “Event ID 10010 error – The server did not register with DCOM within the required timeout”. What is DCOM? DCOM stands for “Distributed Component Object Model”. It is a proprietary Microsoft technology that allows the Component Object Model or COM software to communicate across a network. You can consider it as an extension of COM which is equipped with the capability of solving a couple of inherent problems related to the COM model to the better use over a network. COM is a tool that’s used for advanced configuration and troubleshooting in Windows 10. Developers usually use it to configure routine components and application behavior like participation in transactions and object pooling and so on. The Component Services needs the DCOM wire protocol in order to communicate with the Component Object Model components on other computers. By default, in a Windows-based system, the network computers are configured initially to enable DCOM. There are also some components in Windows that might require registering themselves with DCOM. However, if they fail to do so, you will encounter the “The server did not register with DCOM within the required timeout” error. To fix this, here are some suggestions you can check out.

Option 1 – Try to use the Component Services

  • Tap the Win + R keys to open the Run dialog box.
  • Then type “dcomcnfg” in the field and tap Enter to pull up Component Services.
  • Next, double click on the Computers folder located in the right pane and right-click on My Computer, and select the Properties option.
  • After that, switch to the COM Security tab under My Computer Properties and then go to the Access Permissions section.
  • From there, click the Edit Default button and in the new window that appears, apply the correct permission to objects under the Group or user names section.
  • Once you’re done, click OK and exit. This should fix the error.

Option 2 – Make sure that Function Discovery Resource Publication Properties Services is running

  • In the Cortana search box, type “services” and click on the Services icon to open the Services Manager. Alternatively, you can also tap the Win + R keys to launch the Run prompt and then type “services.msc” in the field and hit Enter to open the Services Manager.
  • Next, scroll down and look for the “Function Discovery Resource Publication” entry and double click on it.
  • Then switch to the General tab and from there, make sure that the Startup Type is set to “Manual (Triggered).
  • You also have to make sure that the service is running so if it’s not, just click on the Start button to start the service.
  • Now click on Apply to save the changes made.

Option 3 – Try resetting the default DCOM permissions

  • Tap the Win + R keys to open the Run dialog box.
  • Then type “dcomcnfg” in the field and tap Enter to pull up Component Services.
  • After that, expand Component Services > Computers and right-click on My Computer, and then select Properties.
  • Next, go to the Default Properties tab, and in the Default Distributed COM Communication Properties section, make sure that:
    • Default Authentication Level is set to Connect
    • Default Impersonation Level is set to Identify.
Read More
Repair Error Code 0x80070715 in 3 Simple Steps

What is Error Code 0x80070715?

Seeing obscure error codes like 0x80070715 on the screen again and again can be annoying simply because you have no idea why it keeps popping up? What does it mean? Well, for beginners you don’t have to decode it, we’ll make it simple for you. This error code indicates missing .dll files in the system or a corrupt registry. Due to this, you get locked from accessing and running applications on your system.

Solution

Restoro box imageError Causes

This error occurs largely because of two reasons:
  1. Disk damage due to cluttered registry
  2. The system gets infected by malware or a virus(es)
The error code 0x80070715 creates hurdles in the functioning of the applications. If this error is not repaired immediately it can result in serious damages like system crash and failure.

Further Information and Manual Repair

Many people pay hundreds of dollars to technicians to resolve this issue on their systems. Is it worth it? Not exactly!

How about we tell you a time and a money-saving way to fix the error code 0x80070715 on your PC?

The best way to resolve this issue on your system in seconds and also for free is to install Restoro. This is an advanced, powerful, and multi-functional system repair and a PC optimizer tool. It is smoothly integrated with numerous performance-driven utilities like registry cleaner, privacy error detector (anti-virus), Active X and Class error, and system stability detector. With this helper, you can resolve not only the error code 0x80070715 but also other types of PC-related errors. Whether the cause of the error code 0x80070715 on your PC is malware or cluttering cluttered disk, Restoro can be used to resolve them all. Its powerful and intuitive registry cleaner scans the registry and repairs it successfully. It removes junk files, internet history, temporary internet files, invalid entries, and also the files from the uninstalled programs still saved in the system’s registry. It wipes out all the clutter on your hard disk and cleans it in seconds freeing up plenty of space. It repairs the registry resolving the error 0x80070715 quickly. Nonetheless, if the error 0x80070715 is triggered due to viral infection or malware it removes them too. By downloading unknown files, accessing malicious websites, and opening phishing emails viruses can enter your PC. You may not be aware of these until error code 0x80070715 pops on your screen. It is wise to remove viruses right away because these give hackers access to your system which often results in data breaches and exposes users to system security threats. Restoro also works as a powerful antivirus. All malware, spyware, and viruses affecting your PC are scanned with the help of the advanced built-in privacy error detector utility. This utility embedded in the system detects viruses and malware in your system and removes them from your system successfully. Restoro is an easy-to-use repair tool. It has a simple layout and a user-friendly interface. It is easy to navigate through the repair tool, scan for errors and repair them without any hassle. Users of all levels, novice and experienced can use this tool with ease. You don’t need to be technically sound to work around this tool. Here's how to Install and run Restoro PC Fixer: In addition to this, you can run it on any Windows version. It is compatible with practically all versions. No matter what the cause for error code 0x80070715 maybe, you don’t need to get into the nitty-gritty of it and find a specific tool to resolve the issue. All you have to do is install this multi-functional Restoro on your system. Here are the 3 simple steps that you need to follow for successful repair:
  1. Click here to install Restoro.
  2. Scan your PC
  3. Press the Repair Tab to fix the issue right away
To ensure your PC is error-free, registry clean and your system runs at its optimum speed, scan your PC with Restoro regularly.
Read More
Customize Lock Screen in Windows 11
Same as in Windows 10, Windows 11 also features a lock screen. IN this lock screen by default, you will see a clock and date above the standard Windows 11 background. Not all users will be happy with this choice but do not worry, you can choose and customize your lock screen to better suit your idea of it.

Lock Screen in Windows 11To personalize the lock screen do:

  1. Right-click on Desktop and select Personalize
  2. Click on the lock screen
  3. Choose one of three options and customize it
    • Personalize Your Lock Screen

      this option will let you set a custom image or slideshow for your lock screen. Choose either one that best suits you. Under selecting picture or pictures for the slide show you can uncheck the option to see tips, tricks, and facts on your lock screen.
    • Lock screen status

      when clicking on this option you can select the application widget that you wish to be shown on the lock screen like weather, mail, calendar, etc. Choose if you would like one by clicking on it.
    • Show the lock screen background picture on the sign-in screen

      as self-explanatory this switch will enable or disable chosen lock screen wallpaper on your login credentials screen.
  4. Close settings
All settings will be automatically saved and applied and when you wish to lock the screen easiest way is to press ⊞ WINDOWS + L shortcut on your keyboard.
Read More
Fix fatal error C0000034 applying update
Fatal error C0000034 happens during the installation of the Windows update and if you are one of the unlucky users who sadly run into this, keep reading as we will provide solutions to this error and how to get around it. Start from point 1 to the bottom and hopefully you will have your PC back into working order in no time.
  1. Run Windows Update troubleshooter

    Usually, a built-in Windows troubleshooter can solve issues painlessly and fast, my advice is to try this as the first option, it is a simple and clean solution worth trying and in 90% it solves the issue all by itself.
  2. Do a clean boot

    Using task manager, remove all nonessential applications and services from starting up, reboot your computer, and once it is cleanly booted try re-running the update process again, if the issue was running the application this time everything will work since the problematic application is not running.
  3. Reset Windows update components to the default

    This solution requires you to use the Reset Windows Update Agent Tool to reset Windows Update components to default or use this PowerShell script to reset Windows Update Client. You can also manually reset each Windows Update component to default and then re-run the update.
  4. Disable firewall and antivirus

    Altho not likely it is still a possibility that some firewalls and antivirus can detect windows updates as malicious software and cut them off. If everything else failed, disable the firewall and your PC protection and when it is fully disabled try updating.
  5. Do automatic startup repair

    This should be the last thing to do but if everything else failed, do it. Perform Windows 10 Startup Repair. Once the startup repair completes successfully, you can re-run the update. The update should install without errors.
Read More
Disable widgets menu inside Windows 11
windows 11 widgets menuThe new widget's menu inside Windows 11 is generally met with a positive attitude but there are still users which prefer not to have it. Luckily for them, Microsoft included a very easy way to turn the widgets menu on or off. Follow this easy guide to see how. Right-click on the widget button in the taskbar and click on Hide from Taskbar and that’s it Alternatively, you can also turn it off via the setting app. Go to the settings app and navigate to Personalization > Taskbar > Taskbar Items and flipping the switch beside Widgets to Off. Please note that both methods will only hide the button to toggle widgets menu, at the current state there is no really a way to actually turn it off, only hide it and make it not available to bring it up.
Read More
Easy Guide to Resolving Error Code 16

Error Code 16 - What is it?

Code 16 is a type of Device Manager error code. Windows XP users are most likely to encounter it. This error pops on XP systems that are running legacy or not plug-and-play hardware.

Error code 16 is displayed in the following format:

‘Windows cannot identify all the resources this device uses. (Code 16)’

Solution

driverfix boxError Causes

Error code 16 occurs when you use a peripheral device such as an external drive or a printer and that device is not properly or completely configured. Though the device may have been recognized before Windows fails to verify its configuration. Simply put, error code 16 appears when devices are partially configured.

In addition to this, another cause of error 16 is outdated or corrupt device drivers. Devices often fail to run successfully because of driver problems.

Device drivers are programs that provide instructions to control different devices attached to the computer system such as audio devices and printers to name a few.

Though error code 16 is not fatal like other PC error codes such as BSoD; however, it may hamper your ability to use certain devices installed on your system and lower your work productivity.

To avoid inconvenience, it is advisable to resolve the error immediately to avoid inconvenience.

Further Information and Manual Repair

PC error codes are often considered technical and difficult to resolve which is why many prefer to hire a professional for the repair job rather than doing it themselves.

Small repair jobs like fixing error code 16 by a professional computer programmer may cost you hundreds of dollars.

So, why incur so much cost when you can repair it easily by yourself even if you are not a technical whiz.

Error code 16 is easy to repair.

Here are some effective DIY methods that you can use for resolving error code 16 on your PC. These methods require no technical background, knowledge or expertise for that matter. Just simply follow the instructions and resolve the error code 16 issue.

Let’s get started…

Method 1 - Setup from the Disk that Came with the Hardware Device

Run setup from the disk that came with the hardware device, or you can simply copy the setup software file to your hard drive/flash drive. Refer to the vendor’s direction to set up.

If for any reason you’re unable to find the directions, simply uninstall the device. Then go to the start menu, Control Panel, and select ‘Add New Hardware’.

Now pick the appropriate hardware and follow the steps that the Wizard suggests. This is most likely to resolve the error code.

Nonetheless, if the error code still persists, then try method 2.

Method 2 - Allocate More PC Resources

Another alternative method to resolve error code 16 is to allocate more PC resources to the device. To specify additional resources:

  • Go to the start menu
  • Type Device Manager
  • Then go to the Device properties and click the resources
  • Here specify the device in the Device Manager
  • If you see a resource with a question mark, assign that resource to the device
  • However, if for any reason the resource is unable to change, then simply click ‘Change Setting’.
  • If Change Settings is not available, then click the box to the ‘Use Automatic Settings’ box. This will make the option available.

Method 3 - Install DriverFIX

As previously stated above, device manager error codes like error code 16 may also occur due to driver problems. If this is the underlying reason for error code 16 on your system, then the best way to resolve it is to install DriverFIX.

DriverFIX is user-friendly, advanced, and feature-filled software deployed with an intelligent programming system, which detects all problematic device drivers automatically in seconds.

It matches these drivers with their latest versions and updates them smoothly without any hassle, resolving error code 16 right away.

And furthermore, once you install this software on your PC, you don’t have to worry about driver problems anymore typically because it updates drivers on a regular basis with compatible and new versions, ensuring that your computer functions properly. It is easy to install and is compatible with all Windows versions.

Click here to download DriverFIX to repair error code 16

Read More
How to Fix Slow file copy speed in Windows 10
We tend to move and copy tons of files on our PCs and mostly, the process of copying or moving files, especially if the file has the size of 1GB or up, tends to take quite long. This may be caused by some issues which is why you face slow copy or move speed. So if you are experiencing this issue on your Windows 10 computer, then read on as this post will give you a couple of solutions you can try to increase the speed in copying or moving files. Follow the given instructions below.

Option 1 – Try to change the USB port

You might want to change the USB port since modern computers have a variety of USB ports. So if your USB drive supports USB 3.0 or 3.1, make sure that you plug it inside a USB 3.0 or 3.1 ports. If you’re not sure which port, just keep in mind that the USB 3 port is usually blue or you can also use your computer’s documentation or manual as a reference to locate it. It may sound nothing but changing the USB port can actually improve the copying or moving speeds drastically so this should be the first thing you can try to speed up the process of copying or moving files.

Option 2 – Update the USB Controller Drivers

  • 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.
  • Restart your PC and then click the “Search automatically for updated driver software” option.
You also have the option to update the motherboard and the USB driver from the manufacturer’s official website.

Option 3 – Check for any hard disk errors

  • On your desktop, right-click on the “This PC” or computer icon and then select Manage to open the Disk Management. Here you get to check your drive’s health.
  • Next, click on Disk Management on the left side panel.
  • From there, check the state of your drives. If it shows that all your partitions are healthy then it means all is good and that the problem may have something to do with some physical issues with your hard drive.
You might also want to run the CHKDSK utility to help you fix any issues with your hard disk. If your hard drive has issues with integrity, the update will really fail as the system will think that it’s not healthy and that’s where the CHKDSK utility comes in. The CHKDSK utility repairs hard drive errors that might be causing the problem.
  • Open Command Prompt with admin privileges.
  • After opening Command Prompt, execute the following command and hit Enter:
chkdsk /f /r
  • Wait for the process to be completed and then restart your computer.

Option 4 – Try to disable Windows Auto Tuning

Disabling Windows Auto-Tuning can also help in increasing the copying or moving of files in your computer. It is said that this feature improves the performance of programs that receive TCP data over a network by adjusting the receive buffer size dynamically throughput and latency of the link. Thus, if you are trying to copy some data over the network, then the Auto Tuning feature is playing a role here. And in some cases, disabling this feature completely resulted in a lot faster copy speeds over the network.

Option 5 – Try changing the USB Removal Policy

  • First, plug your USB drive or external device into your PC and then open This PC.
  • Next, right-click on your device and select Properties.
  • After that, go to the hardware tab and select the storage media that you want to enhance and then click on the Properties button.
  • From there, you can select the Better performance option if you wish for your device to have a better performance. Once you select this option, it will enable write caching in your Windows 10 computer but you need to use the “Safely Remove Hardware” option from the notification area to safely disconnect the device otherwise it may result in data corruption.

Option 6 – Format your drive

  • To get started formatting your drive, tap the Win + E keys and then go to the access page of the drive.
  • Next, right-click on the drive and select Format.
  • After that, uncheck the “Quick Format” option and then format your drive properly.
  • Now once the formatting process is finished, unplug the drive and plug it back in afterward.
  • Check if the error is already fixed. If the drive is not initialized, tap the Win + R keys and hit Enter.
  • After opening the Run dialog box, type “diskmgmt.msc” and hit Enter to open Disk Management.
  • From there, right-click on the drive volume and select initialize disk.
  • Next, select the correct partition type and proceed.
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