Press "Enter" to skip to content

6 Clever Ways to Use the Windows Command Prompt

Spread the love

choose disk 3

… the place, clearly, you change the quantity Three with no matter quantity corresponds to the disk in query. Finally, run:


Your system will wipe the drive clear, with no hidden partitions or tables complicated your PC. Then you may click on the Start menu, seek for Disk Management, and right-click the drive to initialize and format it. Note that this merely wipes the partition tables, it does not securely erase all of your information—a few of it could nonetheless be accessible with file restoration instruments. To securely erase all traces (like if you are going to recycle the drive or promote the PC), you may need to right-click the drive in Windows Explorer, select Format, and uncheck the Quick Format field. Or use a third-party tool like DBAN, which has a lot of different secure-erase choices.

Get a List of Every Program Installed on Your PC

When you get a brand new laptop computer or do a clear reinstall of Windows, you are prone to neglect a number of the instruments you utilize day by day and take without any consideration. Before wiping your drive, you may seize an inventory of each program put in in your PC with one command.

Unlike the others on this record, nevertheless, this command should be run from PowerShell, a more recent, extra highly effective device constructed into Windows. Open the Start menu, seek for PowerShell, and launch a brand new window. Then run the next command—it is lengthy, nevertheless it’s only one copy-and-paste command, which’ll seize the contents of three totally different registry keys and output them to a textual content file in your desktop:

Get-ItemProperty HKLM:SoftwareMicrosoftWindowsCurrentVersionUninstall*, HKLM:SoftwareWow6432NodeMicrosoftWindowsCurrentVersionUninstall*, HKCU:SoftwareMicrosoftWindowsCurrentVersionUninstall* | Select-Object DisplayName, DisplayVersion, Publisher, Size, InstallDate | Format-Table -AutoSize > C:UsersWhitsonDesktopProgramsList.txt

Replace Whitson with the title of your consumer folder on the finish of that command to get the file in your desktop. Note that this may not embrace Windows Store apps, although, which you’ll be able to record by working:

Get-AppxPackage > C:UsersWhitsonDesktopStoreProgramsList.txt

Again, changing Whitson with the title of your consumer folder. There’ll be numerous junk in that record, however you may manually seize the few applications you need to keep in mind and paste them into your authentic record, if it is simpler.

Watch Star Wars (No, Seriously)

OK, this is not precisely a “useful” trick, nevertheless it definitely is neat. If you allow Telnet in Windows (seek for “turn windows features on or off” within the Start menu, then examine the Telnet field), you may run:


To watch an ASCII model of Star Wars in your command immediate window. This has been round for years, and it nonetheless impresses me.

More Great WIRED Stories

Source link

Spread the love

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Enable Notifications OK No thanks