Logo

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.

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

Reset Windows computer without Settings app
As you know, the Settings app is a vital part of Windows 10 as it helps in fixing issues in the system and offers users access to various Troubleshooters, as well as the Reset function and many more. So if you want to Reset this PC or a Windows Store app, you need to use the Settings app to do so. However, one of the most annoying errors you can encounter when using the Settings app is that it crashes or sometimes does not open at all. Thus, if you are having issues with this app, worry not for there are alternative ways you can try to reset your Windows 10 PC. For you to reset your Windows 10 PC without using the Settings app, the main option you have is to use the Advanced Startup options and there are different methods by which it can be accessed. It can be accessed via Lockscreen, Command Prompt window, or via Start Menu.

Option 1 – Reset Windows 10 via Lockscreen

  • You need to first boot into the Advanced Startup options from the lock screen. If you’re already logged in to your account, you have to hit the Win + L keys to get on the lock screen.
  • Next, click on the Power button located at the bottom right corner of the screen.
  • After that, hold the Shift key and click on Restart to restart your computer into the Advanced Setup option mode. And from there, you can reset your Windows 10 computer.

Option 2 – Reset Windows 10 via Command Prompt

  • Search for “cmd” in the Cortana search box or hit the Win + R keys to open the Run box and type “cmd” in the field and hit Enter to open Command Prompt.
  • If a User Account Control or UAC prompt appears, click Yes to proceed in opening Command Prompt.
  • After that, type the following command and hit Enter to execute it:
shutdown /r /o /f /t 00
  • After you execute the command, it will restart your computer into the Advanced Startup options where you can reset your Windows 10 computer.

Option 3 – Reset Windows 10 via Start Menu

  • Tap the Win key or click on the Start button located in the Taskbar.
  • Then click on the Power button at the bottom right portion of the screen.
  • Next, press and hold the Shift key on your keyboard and then click on Restart. This will restart your Pc into the Advanced Startup options.
Note: Once you have access to the Advanced Startup options, you have to go to the setting which allows you to Reset your Windows 10 PC. All you have to do is select Troubleshoot > Reset this PC to reach the following screen Afterward, select either the “Keep my files” option or the “Remove everything” option depending on your preference, and then proceed to the next on-screen instructions that follow to reset your Windows 10 computer.
Read More
March 2021: List of data breaches & attacks
March 2021 – 21 million records breached full list of incidents:

Cyber attacks March 2021

Ransomware March 2021

Data breaches March 2021

Financial information

Malicious insiders and miscellaneous incidents

If you would like to read more helpful articles and tips about various software and hardware visit errortools.com daily.
Read More
Repair Windows 10 Error Code C19000101 - 2000B

Error Code C19000101 - 2000B on Windows 10– What is it?

Error Code C19000101 - 2000B is a Blue Screen of Death (BSOD) error encountered by Windows users in an attempt to upgrade their operating system from Windows 7 or Windows 8/8.1 to Windows 10. The system upgrade does not successfully finish and when the installation is resurrected, it fails then reverts back to the original operating system. More and more Windows users come across this error that may have been triggered by a few reasons to be discussed in this article.

Solution

Restoro box imageError Causes

Microsoft users can experience the BSOD error C19000101-2000B due to the following reasons:

  • There’s an incompatibility with the drivers
  • Antivirus software

Further Information and Manual Repair

In fixing error code C19000101-2000B, you can try doing it manually. Manual repair methods can offer users solutions effectively and efficiently, having to address the root causes and issues in relation to a number of Windows error codes. If properly implemented, these manual repair methods can help Windows users resolve problems at hand immediately. However, there are cases where the help of a Windows professional is necessary. In such instances, it would be best to consult a certified Windows expert or you can also try using a powerful automated tool whenever needed.

To be able to fix error code C19000101-2000B, implement the first method used in resolving error code 0xc000021a, then you can proceed with this first method:

Method One: Perform Clean-Boot

  1. Prior to performing an upgrade, you need to disable your antivirus. Or, better yet, uninstall it.
  2. Ensure that your PC name is simple without hyphens, periods, or dashes.
  3. Restart your device several times, then try again.
  4. Disable all USB devices such as a smart card reader.
  5. If you are using a SCSI hard disk, be sure to have the drivers ready and available for a storage device like a thumb drive to be connected. While on the Windows 10 setup, select the Custom Advanced Option then use the Load Driver command to load the right driver for the SCSI drive. If the setup still fails, try switching to an IDE-based hard disk.
  6. Launch a clean boot, restart your device, then try again.
  7. If you are upgrading to Windows 10 using the .ISO file, make sure to disconnect from your internet connection during setup. If your device is connected by Wi-Fi or through LAN, you need to disable both before attempting to run a  system upgrade again.
  8. Switch to a local account if you are connected to a domain.
  9. Ensure that all external devices such as USB keys, external hard drives, gaming controllers, or printers are not attached to your device.

If you are upgrading to Windows 10 using Windows Update, you can perform a manual repair using the next method.

Method Two: Upgrading Via Windows Update

  1. Make sure to disconnect from the Wi-Fi or LAN once the download reaches 100% before you proceed with the system upgrade.
  2. Press Windows + X to open the command prompt window as an administrator.
  3. Stop the Windows Update service, BITS, MSI Installer, and Cryptographic by inputting the following commands one by one, hitting Enter after every command:

Net stop wuauserv

Net stop bits Net stop msiserver Net stop cryptSvc
  1. Restart both Software Distribution and Catroot2 folders. You can do this by typing Ren C: WindowsSoftwareDistribution SoftwareDistribution.old and Ren C: WindowsSystem32catroot2 Catroot2.old in the command prompt to change the names of both Software Distribution and Catroot2 files.
  2. Restart the Windows Update service, BITS, MSI Installer, and Cryptographic by inputting the following commands one by one, hitting Enter after every command:

Net start wuauserv

Net start bits Net start msiserver Net start cryptSvc
  1. Exit the command prompt then restart your device. You can now try to proceed with the system upgrade again.

Method Three: Disable or Uninstall Antivirus

  1. If you opt to just disable your antivirus, you just have to right-click on the antivirus’ icon from your toolbar then choose Disable.
  2. Press Ctrl + Alt + Del to open the Task Manager.
  3. Check if all the files or services linking to your antivirus are turned off.
  4. If you choose to uninstall your antivirus (which is recommended), open Control Panel.
  5. Once the Control Panel window is open, select Programs then Uninstall a Program.
  6. Look for your antivirus on the list, right-click it then choose Uninstall.
Read More
Choosing default browser in Windows 11
Default applications in previous Windows versions were a pretty straightforward process. The user went to the settings application and picked for each category which application he would like to choose from the list of installed ones. In Windows 11 things are little changed. In this article, we will show you how to choose the default internet browser inside Windows 11, and sadly it is a more tedious task than in previous versions.

windows 11 default browserChoosing default browser in settings

As in previous versions of the Windows operating system you will need to use the settings application in order to change your default Internet browser. Previously, in Windows 10, a variety of general categories like email, web browser, and photo viewer were all listed under the Default Apps section of the Settings panel. It was easy to click on one of those categories and click on the option you like best from the small pop-up suggestion window. In the Windows 11 Insider Build, you’ll see a gauche list of an individual file or link types that you’ll need to specify your preferred browser for. The types include: HTM, HTML, PDF, SHTML, SVG, WEBP, SHT, FTP, HTTP, and HTTPS. There are additional optional types you can specify your preferred browser for as well. The issue here is in order to use a single browser which most users do you will have to go through each file type and set your preferred one. I am really not sure why this was introduced or why it has to be this way, all I can do is hope that in the final release of Windows 11 this feature will be rolled back as it used to be and that you could set your default browser in just one simple click.
Read More
How to Fix Error Code 0x8007042c

What is Error 0x8007042c?

0x8007042c is a Windows Firewall error code. This error hampers your ability to turn on Windows Firewall on your PC. Firewall is a network security system. It establishes a barrier between a trusted, secure internal network and another network (the internet) that is assumed unsecure. Error 0x8007042c is displayed in the following format: “0x8007042c” error message when you try to start Windows Firewall

Solution

Restoro box imageError Causes

Error 0x8007042c may pop up on your computer screen because of many reasons. These include:
  • Firewall service is disabled
  • Malware infection
  • Registry corruption

Further Information and Manual Repair

The good news is that this error code is easy to resolve. To repair, you don’t to be technically sound or hire a professional for the job. Try our DIY methods illustrated below to fix the problem by yourself in a few minutes.

Method 1 - Start Firewall Manually

This method allows you to start Windows Firewall service manually and then make sure that it starts automatically in the future. This can be done by following these steps, first, go to the start menu and then type services in the search box. Right-click services and then click RUN as Administrator. Now scroll down until you see Windows Firewall. Then double click on it. After that, click the startup type box and then click Automatic. If ‘Service Status’ is stopped, then click Start. Now click ‘Apply’ and then press OK. Scroll until you see ‘Base Filtering Engine’, double click it. If again the ‘Service Status’ is stopped, click start. Press Apply and then OK to activate changes. Now restart Windows, Firewall will be enabled.

Method 2 - Remove Malware

If the error cause is a malware infection, use the Microsoft Safety Scanner to remove malware immediately from your PC. Download it from Microsoft’s official website, install, accept terms and then run it to perform a quick scan. The Microsoft Safety Scanner will scan and remove all malware infecting your PC. Once this is done, click Start and then type Windows Firewall in the Search box. Click Windows Firewall and the navigation pane of Control Panel; Click Turn Windows Firewall on or off. Click Turn on Windows Firewall for each network location and then press OK to activate changes.

Method 3 - Repair the Registry

Sometimes the underlying cause can be registry corruption. In such a situation, download Restoro. It is a PC Repair Tool deployed with a registry cleaner. It scans and removes all the bad entries and files infecting your PC, cleans and repairs the registry in a few minutes. Click here to download Restoro.
Read More
File or directory is corrupted and unreadable
If you encounter an error message that says, “<Drive>: is not accessible, The File or directory is corrupted and unreadable” when you try to connect your USB or external device, then the File System could have been corrupted or the external device might be infected with malware. On the other hand, it is also possible that the device might have some physical damage. To fix the “The file or directory is corrupted and unreadable” error, you can try to run Check Disk or scan your computer for malware or you could also format the destination drive. For more details, refer to each one of the given options below.

Option 1 – Run the Check Disk utility

You can also run the Check Disk utility to fix the error when you connect your USB or external device.
  • In the Windows Search box, type “command prompt” and from the search results, right click on Command Prompt and select “Run as administrator”.
  • After opening Command Prompt, type this command and tap Enter: chkdsk <Partition Letter>: /f /r /x /b
  • The command you entered will start to check for errors and fix them automatically. Else, it will throw an error message saying, “Chkdsk cannot run because the volume is in use by another process. Would you like the schedule this volume to be checked the next time the system restarts? (Y/N)”.
  • Tap the Y key to schedule Disk Check the next time your computer restarts.

Option 2 – Try to format the destination drive

Formatting the drive can also help you resolve the error. To format it, follow these steps:
  • To get started formatting your drive, tap the Win + E keys and then go 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 afterwards.
  • 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.
Option 3 – Try scanning your computer for malware using Windows Defender Your computer could be infected with malware which might have triggered the “The file or directory is corrupted and unreadable” error. To fix this, you need to scan your computer using a reliable program like Windows Defender.
  • Tap the Win + I keys to open Update & Security.
  • Then click on the Windows Security option and open Windows Defender Security Center.
  • Next, click on Virus & threat protection > Run a new advanced scan.
  • Now make sure that Full Scan is selected from the menu and then click the Scan Now button to get started.
Read More
Fix MSVCR71.dll is missing in Windows 10
The program can’t start because MSVCR71.dll is missing from your computer, Try reinstalling the program to fix this problem.
If by any chance you have encountered this error know that you are not alone and that this is a solvable error. In this guide, we will show you how to fix this error. Usually, the MSVCR71.dll missing error is met when a new application is installed. So let us dive right into it and solve it.
  1. Reinstall application

    If only a certain application is reporting this error, try reinstalling it, there is a high possibility that by some mistake application was not properly installed and corrupted or removed the MSVCR71.dll file. If this is the case, reinstallation will help.
  2. Check recycle bin

    like mentioned above, if the application has by mistake deleted the file, open recycle bin and try to locate it there. If this is the case, restore it from recycle bin and everything should be back in normal working conditions.
  3. Download a new version of the file

    If the previous 2 methods failed and you still get the missing error, try downloading the file from Microsoft and placing it in C:\Windows\SysWOW64
  4. Reinstall C++ redistributable

    Having an incorrect C++ redistributable package can be an issue of the problem, get the latest version from Microsoft and reinstall it.
Read More
How To Easily Fix Unresponsive Script
This Unresponsive Script problem information is most frequent on Firefox, which is among the top browsers worldwide. Firefox might show you these errors with the information, "Warning: Unresponsive Script". It is going to subsequently inform you that software to the web page you're trying to open is unresponsive, or has quit reacting. This means that the script has ceased functioning and may freeze or hang Firefox if not immediately resolved. You can easily solve this problem.

Solution

Restoro box imageError Causes

Before you can fix this error, you need to understand its primary cause. The biggest risk is that if left unchecked, Unresponsive Scripts will hang your browser and to an extension of your computer thus limiting your productivity. You may have to uninstall and re-install Firefox if the problem persists. Listed here are several of the very most typical reasons for unresponsive script:
  • Programming Errors
  • Interference by other Softwares
  • Using an older outdated version of the program.

Further Information and Manual Repair

Most times, you have to do very little to fix this problem. Furthermore, a lot of the remedies supplied here do not require the assistance of a qualified professional technician. You can easily perform them and completely solve the error.
  • If you wish to stop the error, keep your browser and add-ons up to date.

It's easy to update your browser and any add-ons therein. In most cases it's free. By upgrading your browser and add-ons frequently, you are effectively eliminating the risk of Unresponsive Script occurring and interfering with your work.
  • unresponsive script in firefox warning dialogCheck for a poorly functioning background process

The sorts of background procedures that might result in the Unresponsive Software error include Javascript code, media plugin, and browser extension. You can stop the script from running while using Firefox thus eliminating the Unresponsive script error. Shutting the dialog box is just another easy way of eliminating the unresponsive script error information. Firefox offers you two choices in case of this malfunction. Either "Continue" or "Stop Script". Whatever alternative you pick, you can be certain the dialog box shuts, thus allowing you to continue browsing. firefox home screenThe final solution. Contact Firefox about these errors on your browser. Oftentimes, these errors occur when you attempt to visit particular websites. Mark the offending websites' URLs and include them in your communications with Firefox. Sometimes you can also contact the website owner yourself and request them to check their website's code. Following are additional measures you can take to resolve the Unresponsive Script error.
  • Waiting longer for the error to resolve itself automatically
  • Blocking the offending script
  • Yanking the guilty add-ons
  • Disabling the hardware acceleration tool.
With one of these few steps, you won't have to worry about the Unresponsive Script error, can continue enjoying your browsing activities on Firefox.
Read More
Drive letter missing in Windows File Explorer
There are times when you might notice that the Drive letter from the File Explorer is missing, right after you install an update in your Windows 10 computer. So if you are facing this issue right now, then you’ve come to the right place as this post will guide you on what to do to fix it. In case you don’t know, a drive letter represents a single alphabetic character which is through A-Z typically. This could be assigned to a physical disk partition, floppy disk drive or the removal device/ CD-ROM/ mapping network drive in your PC. In most cases, the drive letter “C:” is assigned to the first disk partition where the running Windows is installed. Thus, if the assigned letter is missing from either the Disk Management or the Windows File Explorer, it could result in inconveniences or will leave the partition inaccessible. To fix this problem, you can try to show the missing drive letters manually or make sure that the drive has a drive letter assigned in the Disk Management as well as assign the letter using a tweak in the Windows Registry. For more details, refer to the options provided below.

Option 1 – Try to show the missing drive letters manually

  • Open the Folder Options from the Start Search and go to the View tab,
  • Next, scroll down on the list of given options until you see the “Show drive letters” option and then check the box that’s marked against this option.
  • After that, click on the Apply and OK buttons and then go back to the “This PC” window. You should now see the drive letters

Option 2 – Make sure that the drive has a drive letter assigned in Disk Management

As you know, every drive is assigned a drive letter in Disk Management. However, if it goes missing, you can still get it back through Disk Management. To do so, follow the steps below.
  • Open Disk Management and from there, right-click on the menu of a partition or volume and you should see a function named “Change Drive Letter and Paths”.
Note: This function allows you to add the drive letter, remove the drive letter and change the drive letter. If the last option, namely, “Remove”, is selected and applied, the letter of the drive will be removed and won’t appear in Disk Management. Thus, this could be one of the reasons why a drive letter is missing.
  • You need to click on “Add” to assign a letter to the selected drive in order to reverse the change. Note that you must assign the drive with the original letter because if not, the programs that rely on the original letter might not work as expected.
  • If the original letter is already taken by a new drive, you need to change the letter of that new drive to another available letter.
  • Then allocate the released letter of the targeted drive.

Option 3 – Try assigning the letter using a Registry tweak

The next thing you can do to fix the problem is to assign the letter using a tweak in the Windows Registry but before you do that, make sure that you create a System Restore point first, after that, follow these steps:
  • Tap the Win + R keys to open Run and type “Regedit” in the field and then tap Enter to open the Registry Editor.
  • Next, navigate to this registry path: HKEY_LOCAL_MACHINESYSTEMMountedDevices
  • From there, check if a device is shown as being mounted at the specific drive letter and then right-click on that drive letter.
  • Select the “Rename” option from the right-click menu to change the letter to any other available letter.
  • Exit the Registry Editor and restart your computer.

Option 4 – Try to format the destination drive

Formatting the drive can also help you resolve the error. To format it, follow these steps:
  • 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
Upcoming Windows 11 features

22H2 update for Windows 11 will arrive later this year and although Microsoft is not releasing anything big there will be some interesting improvements and fixes. We take a look at some that caught our attention.

windows 11 new fetures full screen widgets

Phishing protection

One of the most interesting upcoming features is enhanced phishing protection. Microsoft Defender SmartScreen will be upgraded to alert users when they try to store passwords in plain text files and also if they accidentally type in a Microsoft account password on phishing sites.

"These enhancements will make Windows the world's first operating system with phishing safeguards built directly into the platform and shipped out of the box to help users stay productive and secure without having to learn to be their own IT department,"

Microsoft

File Explorer gets tabs, a modern sidebar, and contextual suggestions

Finally, Windows File explorer is getting tabs that will allow much easier management of folders and files inside it.

It is confirmed that Microsoft is also working on a new 'HOME' sidebar that should be modern in design and in features including OneDrive so you can find everything in one place.

Pinning of favorite files was also mentioned so you can easily pin favorites for quick access.

Full-screen widgets

Windows 11 has brought back widgets in a new way and from all the feedback users are loving them. Currently, you have a widget sidebar on the left part of the screen where you have your chosen store widgets but from the Microsoft teaser, we will have soon the option to have them in full screen.

If you are using a widget for reading news, blogs, etc. this feature will be very good since you will be able to use your whole screen for information and not just a part of it.

Suggested actions

Another new feature is 'suggested actions' which is going to be particularly useful in apps like Microsoft Teams. With this new feature, you can highlight a date in a Teams message and Windows will suggest actions.

For example, if you highlight a date, you'll see a recommendation to create an event in Microsoft Calendar for that day.

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