Command prompt tips and tricks

Hello and welcome to errortools articles. Today we will talk about some great and awesome tips and tricks for the command prompt. Commands which can make your life easier and your workday more pleasant.

That being said let's dive in right into muddy waters and swim out with new knowledge.

Tip 1: Read Motherboard information

There are a lot of reasons why you would like to read information from your motherboard, maybe you would like to upgrade your BIOS, perhaps you would like to know the serial number, maybe even the version number. Well, you can, type the following code into the command prompt and you will receive all information about your motherboard.

wmic baseboard get product,version,serialnumber,product

Tip 2: Copy command output to clipboard

Getting information from the command prompt to a word processor, into an email or any other medium can be somewhat troublesome, usually, people tend to screenshot or write from a command prompt into another destination, which could induce errors, and let's be honest, it is not practical. You can copy command output directly into the clipboard ready for pasting it anywhere with | clip. So for example if you would like to paste the directory structure of your c drive command would look like: dir c: | clip, now output would be placed into the clipboard ready to be pasted anywhere needed.

Tip 3: Erase data permanently

When you delete data on your hard drive, what really happens is that files are marked with a marker which marks that space for new data writing, but the data itself is still present and can be brought back. This sometimes could impose problems but if you would type: cipher /w:c Windows will write random data over each marked file deleting it forever without means to be brought back.

Tip 4: Manage your IP address

If you would like to play with your IP address and do fancy stuff with it do the following:
ipconfig /release to release your IP address
ipconfig /renew to renew your IP address
ipconfig /flushdns to flush down DNS information and enjoy a new browsing start.

Tip 5: Check to see are packets reaching the desired location

You installed a new LAN printer, or a new switch, maybe you want to check if your new site is up and running. Use ping destination in order to see if TCP packets are reaching desired information, you can use it with a specific address like ping 192.168.1.1 or you can type a web address, for example, ping google.com and see if a connection can be established.

Tip 6: Get information about a specific command

So you learned some command prompt commands, but you do not know all of their configuration or switches? No worries, just type command/? to get a list of available switches for it. For example ipconfig/? will write you a list of available switches for ipconfig command.

Tip 7: Link and execute multiple commands one after another.

Let us say that for example, you would like to copy files into a different folder, then rename some and delete others and you need to do a couple of times. Instead of writing command after command once each one is finished link them with && and they will execute one after another.

Tip 8: Scan and repair files.

In order to scan files and repair broke or corrupted ones write in the command prompt: sfc /scannow. Please know that this command can take a long time since it is solely dependant on the number of files, their size, and the power of the computer.

Tip 9: Manage and configure your computer energy

Command powercfg will let you manage and see the power configuration of your computer. Just write powercfg/? and see what you need and want to change or get information about.

Tip 10: Associate files with applications

Windows already has some file associations defined, and some applications take over some type of files but if you want to take control into your own hand use assoc command. For example
assoc.txt= "APPLICATION NAME" will associate txt files with the provided application.

Tip 11: Hide files and folder.

Do you have some folder or file with information that you do not want to be seen when someone opens file explorer? Use attrib +h <name of file> and hide file or attrib +h /D <folder name> to hide folder.

Tip 12: Get a list of installed computer drivers

Want to know which drivers are installed in your system? Use driverquery and take a look.

Tip 13: Find and locate shared folders

have you shared a folder but forgot which one and where? Do not bang your head on the wall, we have a simple solution for you. just type in command prompt net share and see everything.

Tip 14: Run commands as an administrator

You do not have administrator privileges? Do you want to bypass common blockades?

runas /user:yourdomainadministrator command

That is all that we have for you today, I certainly hope you have found something useful here and that we have managed to teach you some valuable things.

If you like to learn and find out more about various Windows errors, and how to repair them go to our vast archive or use search to find articles that will explain and help you in solving your issue.
However, if you prefer to do things fast and with automatization then we are proposing to use an automated solution for your issues. The application that we are recommending is Advanced System Repair Pro
Advanced System Repair utilizes multiple tools all in one to give you a quick, simple, reliable, and very thorough diagnosis of your PC. It brings you all the tools you need in one program to clean, fix, protect, optimize and boost your PC!
1-Click Maintenance
All the tools to make it simple and easy! It's like having a professional technician at the click of a mouse.

Junk Cleaner
Keeping your computer free from unnecessary clutter also helps make your computer last longer. Like any other machine, if you keep it clean and take care of it, it will serve you better for longer!

Optimize background apps
Optimize applications background activity with the built-in Application Optimizer feature.

Disk Defrag
With a simple 1-click, Advanced System Repair speeds up your PC by assembling fragmented files on your machine and organizing them more efficiently.

Malware Removal
Finds and removes all types of harmful malware including trojans, worms, bots, adware, spyware, PUPs, and more!

Privacy Cleaner
The all-in-one privacy suite to Clean Your Tracks & Protect Your Privacy! Make your computer safe, secure, and more efficient!

System Tweak/Optimizer
ASR will analyze your complete system and settings to adjust your PC to function at its maximum performance.

Registry Cleaner
Over time, as you install and uninstall applications, the registry can become cluttered with old entries and broken settings which can result in program crashes, and annoying messages and slow the computer down.
Visit our Advanced System Repair Pro Download page to inform yourself about all the benefits of this software and get a free trial copy of it.
advanced system repair pro

Advanced System Repair Pro

One-click automated PC repair solution
ASR logo
With Advanced System Repair Pro you can easily
Replace damaged files
Restore performance
Free disk space
Remove Malware
Protects WEB browser
Remove Viruses
Stop PC freezing
DOWNLOAD
Privacy Policy | Terms of Use | Uinstall
Advanced System Repair Pro is compatible with all versions of Microsoft Windows including Windows 11

Share this article:

You might also like

What to do if you can’t delete Partition
There are times when it is really inevitable to delete your hard drive partitions especially if you are already running low on disk space in your Windows 10 computer. Users typically delete the volume which is not being used in such cases in order to free up some space for the volume that’s running low on disk space. To resolve the problem, users tend to use the Disk Management utility to delete hard drive partitions. However, some users reported that the “Delete volume” option is not available as it is grayed out. Thus, users aren’t able to delete hard drive partitions and aren’t able to free up disk space. This kind of problem usually occurs when there is a Page file on the volume that you are trying to delete and so on. Oftentimes, this issue is mistaken for the problem where you are unable to delete an EFI-protected partition. However, in this case, not only you are unable to delete EFI-protected partition but also NTFS file systems. This is really hard to deal with but worries not for there are some potential fixes you can check out to resolve this problem.

Option 1 – Try to manage the Page file in the Partition

As mentioned earlier, if a Page file exists in a partition, you won’t be able to delete it. The page file is what stores your data when the system’s random access memory fills up. To resolve this, follow these steps:
  • Go to the Start menu and type “View advanced system settings” in the field and open it from the search results.
  • Next, click on Settings in the Advanced tab.
  • On the new window that pops up, go to the Advanced tab and select Change.
  • Next, uncheck the checkbox of “Automatically manage paging file size for all drives” and highlight the drive you want to delete.
  • Then select “No paging file” and click on Set.
  • Now click on the Apply and OK buttons on all the windows and restart your computer.

Option 2 – Delete storage partition via Command Prompt

  • Tap the Win + X keys or right-click on the Start button and select Command Prompt (Admin) or you could also type in “cmd” in the Cortana search box and right-click on the Command Prompt icon and then select the “Run as Administrator” option from the context menu.
  • Once you have Command Prompt pulled up as admin, type in and enter this command – diskpart
  • After entering this command, the Diskpart Utility will start. Diskpart Utility is a command-line-based utility just like Command Prompt but it will get a UAC Prompt after you invoke it so you have to click Yes for the UAC Prompt.
  • After that, type in list volume and tap Enter to see the list of all the partitions created on your PC. This includes both types of partitions that are visible to the normal users in the File Explorer as well as the ones that are created by Windows 10 by default which helps it in storing the boot files and other essential system files.
  • You should see a list of all the partitions made on your computer. Select the partition you want to delete by its Unique Identification number as Volume X where X denotes the Unique Identification Number.
  • Next, type in the select volume number command and hit Enter to select the desired volume.
  • Then delete the volume you’ve selected and type in the delete volume command and hit Enter to delete the volume you just selected and convert it into unallocated space.

Option 3 – Delete storage partition via Windows PowerShell

  • Start by tapping the Win + X keys or simply right click on the Start button and select Windows PowerShell (Admin) or you could also type in “Windows PowerShell” in the Cortana search box and right-click on the Windows PowerShell icon and select the “Run as administrator” option.
  • Once you’ve opened the Windows PowerShell, type in the Get-Volume command and hit Enter to get a list of all the partitions on your PC.
  • Next, select the drive letter you want to delete and then type in the Remove-Partition –DriveLetter command and hit Enter to delete the selected partition. Note that you need to replace the drive letter with the letter of the partition you want to get rid of.
  • After that, it will ask you for confirmation. Just hit the Y key for Yes or hit the A key to say Yes to All. This will delete all the partition you’ve selected and will move them in as unallocated space.
Read More
Fix Windows Update Error Code 0x80246017
Updating your Windows 10 computer isn’t always as easy as it should be since there are times when you might encounter some errors along the way. One of these errors is the error code 0x80246017 that comes with the error message “WU_E_DM_UNAUTHORIZED_LOCAL_USER”. According to Microsoft, the cause of this particular Windows Update error is that “The download failed because the local user was denied authorization to download the content”. So if you got this error when you tried updating your computer, read on as this post will provide you some suggestions on how you can fix it. Before you troubleshoot the problem using the options given below, make sure that you are logged in as administrator. If you are already logged in as an administrator, follow each one of the options carefully.

Option 1 – Try to check the status of some Windows Update Services

  • Tap the Win + R keys to open the Run dialog box.
  • Next, type “services.msc” in the field and hit Enter or click OK to open Services.
  • From the list of Services, look for the following services and make sure that their Startup type is as follows:
    • Windows Update – Manual (Triggered)
    • Background Intelligent Transfer Service – Manual
  • After that, check if the Service status of the listed services above is set to Running. If they’re not, click on the Start button to start these services and then check if you can now enable the Windows Update service or not.

Option 2 – Try to grant Full Control of the System Volume Information directory

  • First, tap the Win + X key combination and then select Command Prompt (Admin) from the given menu.
  • After opening Command Prompt with admin privileges, type the following command and tap Enter to execute it:
c md.exe /c takeown /f "C:System Volume Information*" /R /D Y && icacls "C:System Volume Information*" /grant:R SYSTEM:F /T /C /L
  • Once the command is executed, it will run a batch of tasks and will show each one of their statuses on the command line window and once they’re done, exit Command Prompt.
  • Now restart your computer and see if it fixed the problem or not.

Option 3 – Try to disable your antivirus program or Firewall

Disabling the antivirus program or Firewall or any other security software installed in your computer is always a good idea you can try when the Windows Update process does not go smoothly. So before you try updating your computer again, make sure to disable the antivirus or security program and once the Windows Update is done, don’t forget to enable the antivirus program back again.

Option 4 – Try running the DISM tool

You can try running the Deployment Imaging and Servicing Management or DISM tool to fix the Windows Update error. 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
  • After that, wait until the process is finished and do not close the window as the process will probably take a couple of minutes.
  • Once it’s done, restart your computer.

Option 5– Run the Windows Update Troubleshooter

If the DISM tool didn’t work in fixing the error, you could also try running the Windows Update Troubleshooter as it could also help in fixing any issues related to Windows Update including the Windows Update error code 0x80246017. 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 6 – Run Microsoft’s online troubleshooter

Running Microsoft’s online troubleshooter might also help you fix the Windows Update error code 0x80246017. This online troubleshooter is known to help in fixing Windows Update errors, it scans your computer for issues that might be causing the problem and then fixes them automatically.
Read More
How to Fix Installer Error 1603

Correct Installer Error 1603

Installer Error 1603 - What is it?

Installer Error 1603 message occurs during the installation of the Microsoft Windows installer Package. The error message is often displayed as the following:
'Error 1603: A fatal error occurred during installation.'
It indicates a problem occurred during the installation process and unsuccessful installation.

Solution

Restoro box imageError Causes

The installer error 1603 may occur if:
  • The folder you are trying to install the Windows Installer package to is encrypted
  • The system account does not have full control permissions
  • Incorrect installation
  • Registry issues

Further Information and Manual Repair

To resolve this error on your system, try the solutions listed below:

Solution 1: Install-Package in an Un-Encrypted Folder

Try installing the package to a folder that is not encrypted. However, if the error still persists, try other solutions listed below.

Solution 2: Enable Full System Control Permissions

Sometimes the error may occur when you don’t have system full control permissions. To enjoy full control permissions here’s what you need to do, go to my computer and right-click the drive that you wish to install the Windows Installer Package to. After that click properties and the security tab. If you can’t locate the security tab, this means your Simple File Sharing feature is turned on. You need to turn it off to continue. For that go to my computer, tools, and then click folder options. Now here press the view tab and check the Simple File Sharing box to turn it off. Press OK to save changes. Now you will be able to locate the security tab. Click on the Security tab and verify the name box that contains the system user account. If the system user account is empty then insert the account name. To insert, click Add, and then select user's dialog box, add a name, and close. Now go to the permissions section and check the box ‘Allow’ under full control. After that go to the ‘Advanced’ tab and do the following: If you are an XP user, select ‘Replace permission entries on all child objects with entries shown here that apply to child objects’ and then press OK to confirm. If you are not an XP user, then follow the same instructions but select the check box that says ‘Reset permissions on all child objects and enable propagation of inheritable permissions’ for the system account. Now click OK to confirm. To activate changes you will have to wait for a while. Once the changes are activated, try installing the Windows Installer package again.

Solution 3: Clean and Repair Registry

The Installer error 1630 can occur due to registry problems as well. To resolve registry-related issues download Restoro. This is a cutting-edge and advanced registry cleaner that scans your entire PC for registry-related errors in seconds and resolves them spontaneously. It removes all the unnecessary junk files, bad keys, invalid registry entries, cookies, and internet history cluttering and corrupting the registry. It repairs the damaged system files and repairs the registry right away thereby resolving Installer Error 1630 on your PC. It is safe and efficient. It is embedded with an intuitive algorithm and a sophisticated user-friendly interface. It is easy to use and operate. You can download it on any Windows version. Besides functioning as a registry cleaner, it also functions as an antivirus and a system optimizer. Click here to download Restoro on your PC to resolve all registry issues generating the installer error 1603 on your system.
Read More
Renaming items in the Win+X menu
As you know, the Win + X menu, which is the shortcut context menu, is a useful way to launch several utilizes in Windows such as Power Options, Windows PowerShell, Event Viewer, Device Manager, and so on. However, there are times when you might experience difficulty in identifying the required utility. This is actually a part of the Windows 10 shell that goes out of scope in the customization of Windows 10. However, there is an easy trick you can use to do that. So in this post, you will be guided on how you can rename the options in the Win + X menu in Windows 10. In case you don’t know, the context menu is divided into three groups. Microsoft has categorized the bottom-most part as Group 1, while the middle part is categorized as Group 2 and the first part as Group 3. To rename these options, you need to use File Explorer and follow the instructions laid out below. Step 1: First, tap the Win + E keys to open File Explorer. Step 2: Next, navigate to this path: %LocalAppdata%MicrosoftWindowsWinX Step 3: From there, you should see three folders as Group 1, Group 2, and Group 3. Open the appropriate folder of your choice. Step 4: After that, right-click on the shortcut option you want to rename and then select Properties. Step 5: Next, navigate to the Shortcut tab under the Properties window. Step 6: Now in the text field of Comment, enter the new name of the option you selected. Step 7: Click on the Apply and OK buttons to save the changes made. Note: You can now either Sign back in or sign out of your Windows 10 User Account to see the result of the changes you’ve made. You could also restart the process of File Explorer via Task Manager. This will close the File Explorer as well as the shell components and then only launch the shell components again. In addition, you can check the Win + X menu to see the customized name that you’ve just set for a particular option. As you can see, even though it does not add anything extra, it is still a lot better in knowing how you can customize it.
Read More
Connecting Cortana on Windows and Android
Microsoft's anniversary update has come with many new features and improvements. One of these features is that Microsoft's Cortana can now be installed on your Android phone and as long as you are logged in to your Microsoft account on different devices, she can pass information between devices. You can not see battery life on your desktop PC, notifications, etc. There are some prerequisites in order to get this going, first is to have a Windows version 1607 or newer. The second is to have the last Android version

Installing Cortana on Android

  1. Download and install the Cortana app from the Google Play store.
  2. Open the app and accept the license terms.
  3. Enter the credentials for the Microsoft account you use to sign in to your PC.
  4. After a few seconds, Cortana will open.
  5. Click the settings button and select Sync Notifications.
  6. By default, missed calls, incoming messages, and low battery notifications will be turned on. You can turn this on\off from here. The only option off by default is for App notifications. Any non-system apps such as Facebook and Instagram can also send alerts to your Windows box. You can choose to enable the App notification sync option or leave it off.
  7. If you enable “App notification sync,” you will need to give Cortana permissions to read and control notifications on your phone.
  8. You can then select exactly which applications will be synched to your PC.
  9. Once done you can exit out of Cortana.

Configuring Cortana on PC

  1. Click the Windows button and type Cortana. Click the icon for Cortana and Search Settings.
  2. Scroll through the settings list and look for Send notifications between devices
  3. Click the switch to turn it on.
  4. Sign in to the same Microsoft account you used in the previous section
  5. Navigate back to the Cortana & Search settings tool.
  6. Click Edit Sync Settings. Make sure that your phone shows up on the list. You can also determine if you want PC notifications are sent to your phone.
With those settings in place, you should now start getting alerts for the items you enabled in your Action Center. As notices come in, you will see them pop up in a small bubble on the lower right of your screen. You can dismiss the notification or use the link to find a compatible app in the Windows store.
Read More
Setting Standard Desktop icons on Windows 11
Strangely enough, Windows 11 does not feature any typical icon on its desktop when installed. No My PC, no Recycle Bin, nothing, just plain and clean wallpaper. Personally, I like this clean look and feel but of course, there are a lot of users that are used to have some system-related icons on their desktop for easy access. windows 11 desktop iconsDo not sweat, we will turn them back on with ease. The best part is that you can choose which one would you like. So let’s dive right into it and get the icons back for the old Windows feel and look.

Showing selected Icons desktop

  1. Right-click on Desktop and select Personalize
  2. Select Themes from the list of personalization items
  3. Inside themes scroll down and click on Desktop Icon Settings
  4. Desktop Icon Settings will open and inside it, place checkmarks beside icons that you would like to appear on the desktop and click OK
  5. Close settings
As always settings and choices will be automatically applied and icons will appear right away on the desktop.
Read More
An Easy Guide to Resolving Internal Error 2324

An Easy Guide to Resolving Internal Error 2324

Internal Error 2324 - What is it?

Internal Error 2324 occurs when you try to upgrade Firefox on your Windows 7 PC. The program fails to install and run successfully. The following error message is displayed:
‘The installer encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2324.’

Solution

Restoro box imageError Causes

This error may occur due to different reasons. These include:
  • Viral infection
  • Bad registry entries (cookies or traces of old version of Firefox program)
  • Other programs running on your PC during Firefox program installation
  • Installation was not performed from the Administrator account
To use the Firefox web browser successfully on your PC, you first need to resolve error 2324 on your system.

Further Information and Manual Repair

To repair error 2324, try the following methods:

Method 1 - Perform a Clean Reinstall.

This means to remove the Firefox program completely from your PC and then reinstall it. To do this, remove the Firefox installation folder saved in one of the locations by default: C:\Program Files\Mozilla Firefox C:\Program Files (x86)\Mozilla Firefox Now download the latest Firefox version on your PC and save the setup file on your computer. After that double click, the downloaded installation file and follow the steps illustrated in the wizard to install Firefox on your PC.

Method 2

Sometimes Firefox installation may fail because of the interference from other programs running on your PC. Therefore, it is advisable to close all programs running in the background when upgrading the Firefox program. You can also disable programs like Logitech QuickCam and Spybot Tea Timer.  These are some of the many programs that are notorious for interfering with Firefox updates.

Method 3 - Scan for viruses to resolve.

Viruses are malicious programs that often enter computers through files downloads from unreliable websites and phishing emails. These programs then hide in your PC and infect it. You may often experience problems during program installation if your PC is infected by viruses. To fix the issue and ensure smooth Firefox program installation on your system, simply run an antivirus. Antivirus scans and detects all viruses in a few minutes. Upon detection, remove them right away to ensure your PC is free from such malicious programs. Now try updating Firefox on your system again. If it is updated smoothly, then the error is resolved.

Method 4

The registry of your system stores all the activities performed on your PC. You may have uninstalled the old Firefox version from the Control Panel but the traces of the uninstalled program may still remain in the registry as bad entries. These bad entries may be causing error 2324 to pop up on your PC. To resolve, you need to remove these entries from the registry. For quick removal, download Restoro. It is a user-friendly PC Fixer with a registry cleaner that scans and removes all obsolete files stored in the registry such as incorrect registry keys, bad entries, cookies, and junk files. Click here to download Restoro.
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
Boot Selection Failed Because A Required Device Is Inaccessible Error in Windows 10
If you have or are currently getting a troublesome error saying, “The boot selection failed because a required device is inaccessible” when you boot your computer, then continue reading as this post will give you some suggestions that may help you resolve the error. This pesky error pops up during the booting process of your computer and prevents you from booting to your Windows 10 PC and displays the error message on a black screen instead. To fix this problem, here are some suggestions you need to check out.

Option 1 – Try checking the boot order in BIOS

  • Turn on your PC and repeatedly tap the Setup key right away about once every second until you see the Computer Setup Utility or the BIOS settings.
  • Then use the right arrow key to select the Security menu and then use the down arrow key to select the Secure Boot Configuration option and then tap Enter.
  • Just a heads up, before you can use Secure Boot Configuration, a warning will pop up. Simply tap F10 to continue to the menu. After opening it, use the down arrow key to select Secure Boot and then the right arrow key to set the setting to Disable.
  • Next, select the Legacy Support option using the down arrow key and then the right key to set the setting to Enable.
  • Now tap F10 to confirm the changes and then use the arrow key to select File menu and then the down arrow key to select Save Changes and then Exit and tap Enter to select Yes. From there, your computer should restart and once it does, use the power button to switch it off.
If you are now able to boot from your hard drive, you need to know which option to choose once the boot menu pulls up. Refer to the steps below to easily boot from your hard drive.
  • Tap the power button to boot your PC. Once your PC starts, a message will appear indicating that the boot mode has now changed.
  • Next, you’ll see a security screen displaying a four-digit code. Type in this four-digit code and tap Enter.
  • After that, tap the power button to turn the computer off and wait for a couple of seconds and then turn your PC on and tap the ESC key right away repeatedly until you see the Startup menu.
  • Now tap F9 to open the Boot Menu and use the down arrow key to select the hard disk and make sure to select it by tapping Enter on your keyboard.
  • Restart your PC and check.

Option 2 – Try running the DSKCHK Check from the Recovery Media.

The DSKCHK utility scans your hard drive for any errors, bad files, or corrupt sectors so this should help in fixing the problem.
  • The first thing you need to do is to download the Media Creation Tool from Microsoft and then open it after the download. The file should be “MediaCreationTool.exe”.
  • Then tap Accept to agree to the terms and conditions and then from the initial screen, select the “Create installation media (USB flash drive, DVD, or ISO file) for another PC” option. Keep in mind that the language, architecture, and edition of the bootable drive will be selected based on your PC’s settings but you have to uncheck the Use the recommended options for this PC in order to choose the correct settings for your own computer that’s getting the error.
  • Now click Next and then click the USB drive or DVD option once prompted to select between USB or DVD depending on what device you are using to store this image on. Then click Next and select the required drivers from the list of storage devices currently connected to the computer.
  • Click Next. After that, the Media Creation Tool will proceed to download the files needed to install and create the installation device.
  • The next thing you have to do is to insert the installation drive.
  • After that, you will see the “Choose your keyboard layout” window so select the one you prefer and then the Choose an option screen will pop up.
  • Go to Troubleshoot > Advanced Options > Command Prompt. After opening Command Prompt, input the following command and hit Enter.
CHKDSK /R /X C:
  • Now boot your PC without the recovery drive and check if the problem’s fixed or not.

Option 3 – Try resetting the BIOS

  • Open the computer case and then look for the battery in the motherboard. If you can’t find it, you can seek out the motherboard or computer documentation of your PC as well as browse the web or contact the manufacturer for further assistance.
  • Removing the battery should be easy especially if your computer uses a coin cell battery. Just use your fingers to grab on the edge of the battery then pull it up and out of the socket that’s holding it in place.
  • Keep the battery removed for about 10 minutes and then insert it back and try booting into the BIOS.

Option 4 – Try using the Startup Repair

  • Inject the installation drive you created earlier and boot your PC.
  • Select the keyboard layout from the Choose your keyboard layout window.
  • From there, the Choose an option screen pops up. Navigate to Troubleshoot > Advanced Options > Startup Repair.
Read More
How to Resolve Error Code 0x80070422 on Windows 10

How to Resolve Error Code 0x80070422 on Windows 10

Error Code 0x80070422

Error code 0x80070422 is a Windows-based error code occurring in various versions of Windows including Windows 7, Windows 8 and Windows 8.1, and Windows 10. It usually occurs when users attempt to update Windows. A message box will appear stating that the error code has occurred.  Users will notice the following common symptoms:

  • Inability to complete Windows updates
  • Error message occurring during use of Windows Update service

The error code, if left unresolved, can cause serious problems for PC users as they will be unable to access the latest updates to the Windows operating system. Such a situation can expose their system to vulnerabilities. Thus, fixing Windows 10 error code is of utmost importance.

Solution

Restoro box imageError Causes

Among the many reasons Error code 0x80070422  is encountered includes:

  • Corrupted or missing registry and DLL files
  • Badly or poorly installed software. The software could also be infected by a virus or Trojan
  • Outdated or poorly installed drivers

Further Information and Manual Repair

Fixing Windows-based error codes can be a simple process. However, in some cases, it requires specialized skills. In the case of Windows 10 error code 0x80070422 consider the two (2) main solutions available through manual repair. You may also need to consider help from a certified Windows repair technician or the use of an automated tool if you are not confident you have the skills to perform the solutions below.

Method 1: Check if Windows Update is Running Properly

One of the main reasons for error code 0x80070422 is a Windows Update service that is not running on the right settings. To verify if an issue with your Windows Update service is the source of the problem applies the following steps:

  1. Type “Windows Update” in the search bar near the Windows home button.
  2. Select “Windows Update settings” when this option appears. (You may also click the home button, then “Settings” followed by “Update and Security”.)
  3. Select “Advanced Options”
  4. (You will be given an option to choose how updates are installed.) Select Automatic.
  5. Save settings and restart the computer.

Once these settings are in place Windows will be able to download updates automatically. This enables your machine to run more smoothly. However, if after applying the steps above, Windows 10 error code 0x80070422 is not resolved, you may proceed to solution two (2).

Method 2: Disable Internet Protocol Version 6 (IPv6)

IPv6 is the latest or most current version of Internet Protocol (IP). This provides your machine with an IP address, a crucial aspect of all communications related to the Internet. By disabling this IP some users have been able to successfully resolve Windows 10 error code 0x80070422.

Like many tasks involving Windows, there are more than one ways in which you can attempt to disable IPv6. These require different types of skills and must be approached with care, as mistakes can lead to serious issues with your machine. Methods include using Command Prompt, Registry Editor, or Control Panel.

If your experience with Windows 10 is quite limited and you are not certain of your skills choose the simplest approach as listed below.

  1. Select Control Panel.
  2. Choose “Network and Internet”, then “Network and Sharing Center”.
  3. Right-click your Internet Connection. The name of your connection will be listed underneath the heading – “View your basic network connection and set up connections”.
  4. Select “Properties” then uncheck Internet Protocol version 6 (IPv6)
  5. Save settings by clicking OK.
  6. Restart the computer and check if the 0x80070422 error code has been corrected.

Method 3: Using An Automated Tool

If the issue persists despite following the solutions above, the best step to take is to use an automated tool. This may not be your preferred course of action, especially since it can be difficult to ascertain the safety of certain tools found online. For this reason, choose a reputable source offering automated tools which are designed to specifically fix Windows 10 error code including error code 0x80070422.

Download and install a powerful automated tool to access the best Windows 10 error code solutions. The process is simple and includes clear instructions which enable even average Windows users to completely resolve complicated errors on their machine.

How to Stop Future Error Codes from Occurring

Though it is hard to predict when an error code will occur, each Windows 10 user can take precautionary steps to prevent other errors from occurring. This includes the following:

  • Ensure you download software from reputable sources to avoid viruses and other forms of malware.
  • Clean your registry often. The registry stores settings across all applications. Regular cleaning will your machine function more efficiently as it reduces the likelihood of issues such as crashes or system errors.
Read More
1 2 3 162
Logo
Copyright © 2022, ErrorTools. All Rights Reserved
Trademarks: Microsoft Windows logos are registered trademarks of Microsoft. Disclaimer: ErrorTools.com is not affiliated with Microsoft, nor claim direct affiliation.
The information on this page is provided for information purposes only.
DMCA.com Protection Status