4 Windows Command Prompt tricks everyone should know. You’d think the Command Prompt (formerly known as the DOS prompt) would be long-gone after 30 years of Windows’ graphical interface, but it’s not, and there’s a good reason why.
Though many of its duties have been replaced by icons or tiles, there are still things a DOS command does better or faster, as any IT professional already knows. [Have a tech question? Send your query to email@example.com.] Remove Old Drivers After Upgrading to New Hardware. If you are experiencing weird issues after upgrading your hardware, or you’ve just upgraded to the latest hardware device and aren’t seeing the performance you’d like, you might want to remove the old drivers which are still installed for the old hardware, even though you can’t normally see them in device manager.
What you have to do is set a less-known flag to allow you to see non-present devices, and then launch device manager. You’ll then see the old devices in the list, and can uninstall the drivers for them. In Windows 7 or Vista, the first thing you’ll need to do is open a command prompt in administrator mode. Type cmd into the start menu search box, and then use Ctrl+Shift+Enter to open in administrator mode. (You can also right-click on the command prompt and choose Run as Administrator) Now paste in the following line: Then type in devmgmt.msc to start up Device Manager from the administrator command prompt: This tip also works the same in Windows 7, Vista, and XP. The How-To Geek Guide to Using Check Disk in Windows 7, 8, or 10.
Anytime somebody has hard drive errors, I always recommend that they run chkdsk—what geek wouldn’t?
Here’s a full guide to using the Check Disk feature built into every version of Windows. The chkdsk or “Check Disk” utility is used in Windows to scan through your entire hard drive and find problems… it’s like a lot like doing inventory… it’s boring, but it has to be done sometimes. I recommend that you run through a check disk every month or two. Command Line Check Disk Options, Switches, Parameters. Check Disk or Chkdsk.exe is a built-in Windows utility used to check for errors in the disk media and in the file system.
If you face problems ranging from blue screens to inability to open or save files or folders, one can run the Check Disk utility. Whenever we need to detect and fix file system or disk corruption, we run the built-in Windows Check Disk tool. The Check Disk utility or ChkDsk.exe checks file system errors, bad sectors, lost clusters, and so on. Check Disk can run automatically, in the case of an abrupt shutdown or if it finds the file system to be ‘dirty’. List Drives using Command Prompt and PowerShell. If you frequently work with the Command Prompt or PowerShell, you may need to copy files from or to an external drive, at such, and many other times, you may need to display the drives within the console window.
In this post, we will show you how you can list drives using Command Prompt or PowerShell in Windows 10 / 8 / 7. List Drives using Command Prompt If you need to simply list the drives, you may use WMIC. Windows Management Instrumentation (WMI) is the infrastructure for management data and operations on Windows-based operating systems. Open a command prompt, and type the following command: wmic logicaldisk get name Press Enter and you will see the list of Drives.
You can also use the following parameter: wmic logicaldisk get caption Using the following will display Device ID and volume name as well: DiskPart Command-Line Options. DiskPart is a text-mode command interpreter in Windows Vista, Windows® XP, and the Windows Server 2003® family.
This tool enables you to manage objects (disks, partitions, or volumes) by using scripts or direct input at a command prompt. DiskPart Commands Before you can use DiskPart commands on a disk, partition, or volume, you must first list and then select the object to give it focus. When an object has focus, any DiskPart commands that you type act on that object.
You can list the available objects and determine an object's number or drive letter by using the list disk, list volume, and list partition commands. When you select an object, the focus remains on that object until you select a different object. You can give focus only to a partition on the selected disk. For more information about DiskPart, see Disk Management at the Microsoft TechNet Web site. Take Ownership of a File, Folder, Drive, or Registry Key in Windows 8. How to "Take Ownership" of a File, Folder, Drive, or Registry Key in Windows 8 and 8.1 InformationThis will show you how to take ownership of a file, folder, drive, registry key objects to control how access permissions are set on the object and for what users and groups permissions are granted in Windows 8, Windows RT, Windows 8.1, and Windows RT 8.1.
You must be signed in as an administrator to be able to do the steps below to take ownership of an item. WarningDO NOT take ownership of the Windows 8 C: drive. 14. You and the owner (set at step 9), will now be able to grant access permissions for this file, folder, drive, or registry key if you like.NOTE: See OPTION TWO in the link in this step.That's it, Shawn. Solved: Undeletable Folder. Robocopy. Windows 10 GodMode: Tips, tricks and how to activate it. There are plenty of Windows 10 tips and tricks that you should be aware of – check our Windows 10 cheat sheet to learn about many of them – but there’s one hidden feature that will let you customize Windows 10 in ways you never thought were possible.
DON’T MISS: Stop Windows 10 spying dead in its tracks with one free app Windows 10 “GodMode” is the feature in question, and it’s something that not many Windows users will be aware of. However, GodMode is built into Windows 10, just as it was in previous Windows versions. GodMode opens doors to a plethora of settings that would otherwise be unavailable to regular Windows users, letting hardcore fans further customize their user experience. Tech blog Redmond Pie put together a quick guide that shows how to activate GodMode – it’s actually really simple to try on a computer where you have full administrator privileges. All you need to do is right-click on the Windows 10 desktop and select New, then Folder, to make a new folder on the desktop.
Reset Start Screen To Default In Windows 8. When you install Windows 8, you’ll observe that there are some default Modern UI apps pinned by default to Start Screen.
Now if you install any new software or apps they get pinned automatically to taskbar. Extract Files from Windows 7 Installation DVD. Fix Windows corruption errors by using the DISM or System Update Readiness tool. Windows corruption errors may prevent Windows updates and service packs from installing.
For example, an update might not install if a system file is damaged. The DISM or System Update Readiness tool may help you to fix some Windows corruption errors. If you have some other problems that prevent you from installing updates by using Windows Update, view Troubleshoot problems with installing updates. For Windows 8.1, Windows 8, Windows Server 2012 R2 or Windows Server 2012 To resolve this problem, use the inbox Deployment Image Servicing and Management (DISM) tool.
SFC /SCANNOW : Run in Command Prompt at Boot. How to Check / Repair the Windows System Files from a Command Prompt at Boot This shows how to start the PC and open a command prompt at boot so the Windows system files can be checked and repaired if possible, if the PC will not start to Windows normally or in safe mode. Note For those that are dual/multi booting or if the Windows Recovery Environment (WinRE) does not 'see' the Windows Operating System needing repair, see Method Two below. Let's get started! In the BIOS set the boot order to boot first from the CD/DVD Drive, insert the Windows full version installation DVD or a created repair CD and restart the PC. Method One For Windows 7 and Vista full version installation media, after the "Press any key ... " black screen do steps #1 & #2 then skip down to step #5 below to continue. Windows Resource Protection found corrupt files but was unable to fix some of them. We have already seen how the System File Checker allows users to scan for and restore corrupt Windows system files.
We have also seen how to run System File Checker and more, earlier. But what if at the end of the run you see the following message? Sfc /scannow detected some corrupt files.. unable to fix.. what to. Create a Windows Start-Up Manager using Delphi. Code submitted by Peter Bernard. Portions of article text by Zarko Gajic. Command Prompt Tricks, Hacks & Codes. Command Prompt is one of the most powerful tools in Windows; but sadly, it is also the most ignored one. Things were not always like this; but with the advent of GUI based operating systems, people started feeling that computing through command based tools was boring. This ultimately lead the command prompt into obscurity. However, the command prompt is not useless. In fact, it can be pretty useful. Introduction to the Windows Command Prompt. Table of Contents Introduction Before Windows was created, the most common operating system that ran on IBM PC compatibles was DOS.
DOS stands for Disk Operating System and was what you would use if you had started your computer much like you do today with Windows. The difference was that DOS was not a graphical operating system but rather purely textual. Command Prompt - The Most Powerful & Least Used Windows Tool. Command Prompt Tricks, Hacks & Codes. Corporation. CMD COMMANDS AND TRICKS. Image via CrunchBase. Command Prompt Commands: A Complete List (CMD Commands)
10 Useful Windows Commands You Should Know. Command Prompt A-Z List. 10 Brilliant Command Prompt (cmd) Tricks You Might Not Know About. 15 CMD Commands Every Windows User Should Know. Microsoft has slowly but surely pushed the command line aside in the Windows interface. Command Prompt Commands: A Complete List (CMD Commands) Command-line reference A-Z: Scripting; Management Services. List of Windows 8 Command Prompt Commands.