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.
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
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Want to know which drivers are installed in your system? Use driverquery and take a look.
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.
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.
powercfg –lastwakeOnce you enter the command given above, it will show you the last device that woke your PC up. After that, you need to type in the next command:
powercfg –devicequery wake_armedAfter entering the command, it will show you a list of all the devices that could wake your PC up. The goal in running these commands is to understand the reason what’s really causing your PC to turn on and see the reason is on the hardware level or not. Here are a couple of options you can try if your Windows 10 PC turns on by itself.
Update Error 0x80070003, 0x20007 One of the most common errors encountered by users who updated to Windows 10 is the Error Code 0x80070003-0x20007. Normally, this error code is accompanied by the message saying “Windows could not search for new updates. An error occurred while checking for new updates or your computer” or “Error(s) found: Code 0x80070003 Windows update encountered an unknown error”.
This update-related error is often encountered any time while your device automatically installs updates once there’s an available system update or during manually installing updates for a specific app. Regardless if you are using a tablet, laptop, or PC, this update-related error could occur after upgrading your system to Windows 10.
There are several reasons why the update-related Error Code 0x80070003-0x20007 occurs. This includes the following:
An effective way to address problems like the Error Code 0x80070003-0x20007 is by applying certain manual repair methods. However, ensure that you strictly follow instructions since one slight slip-up might result in critical issues. If you’re not knowledgeable enough, it would be best to consult help from a professional Windows technician or you can make use of an automated tool to solve any issues you’re encountering.
When you encounter the update-related Error Code 0x80070003-0x20007, you must take action immediately to address the problem to lessen the risk of losing all your data or damaging the Windows registry host.
If the above steps still do not work, you can try performing a repair by doing the following steps:
Can’t seem to put up with the long and technical manual repair process? You can still fix this error by downloading and installing a powerful automated tool that will surely get the job done in a jiffy!
“Connapi.dll Not Found" "This application failed to start because connapi.dll was not found. Re-installing the application may fix this problem." "The file connapi.dll is missing." "Cannot start [APPLICATION]. A required component is missing: connapi.dll. Please install [APPLICATION] again." "Cannot find [PATH]connapi.dll"
‘An error is preventing the photo or video from being displayed’ Error code 0x80010108